I made a custom macro that filters the task report macro by current user. I wanted to use it on our Confluence Dashboard so I added it into the .vm file. The macro works but the task part appears weirdly formatted.
It's supposed to look like:
Any ideas how to solve this?
Hi,
as an example our current user tasks user macro:
## Macro title: My Tasks
## Macro has a body: N
##
## @param PageSize:title=Size|type=int|desc=Size of displayed tasks|default=5
<ac:structured-macro ac:name="tasks-report-macro">
<ac:parameter ac:name="assignees">
<ri:user ri:userkey="$action.remoteUser.key"/>
</ac:parameter>
<ac:parameter ac:name="pageSize">$paramPageSize</ac:parameter>
<ac:parameter ac:name="columns">description,location</ac:parameter>
</ac:structured-macro>
Hi,
does it work on a default page outside the dashboard? My guess is that some CSS rules are not available in the dashboard.
How does the default task report macro look inside the dashboard (HTML)?
Did you use the Confluence storage editor to get a look at the storage format?
Best
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works on any page outside the dashboard, and looks just like the task report. The default task report macro can't be added to the dashboard since it has no wiki markup way to do it. So maybe the problem is coming from there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this could be the problem.
We decided to move away from the default Confluence dashboard & use the Custom Dashboards for Confluence addon to control what "Homepages" are shown to our users. This can be done on an individual user base or by groups with a priority control.
I just checked my macro (see below) in a default global dashboard: It works, alas the font size is a bit to large.
Best
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.