It's all about the answers!

Ask a question

Create Custom groups for a query in a Dashboard template

Bhawana Gupta (1031012) | asked Nov 14 '14, 2:58 a.m.
edited Nov 14 '14, 3:00 a.m.

I am trying to create a Dashboard template.

I have put a widget (work item statistics) with Parameter 'status'. I need to create custom group for it. For e.g. FSD Submitted | FSD WIP should show as FSD.
I am able to get this when I do it in the dashboard directly but the issue is how to make a template for the template will be used by teams to create projects and the dashboard should come automatically. 



One answer

permanent link
Marie Michelin (1411) | answered Mar 02 '15, 8:54 a.m.
edited Mar 02 '15, 8:54 a.m.
I don't know if you found an aswer as your question is a little bit old now.
But perhaps someone could find my answer useful.

I was also wondering how I can put in my process template my custom groups.
I tried a lot of things and I finally found it, exporting my widget with the OpenSocial Gadget.

In fact you can modify the xml file (Process Configuration Source) by adding a line which looks like :
<preference id="metagroups" value="Open~~New|Submitted@@Closed~~Closed"/>

In my usage, I wanted to group all the states New and Submitted (even if the workflows were different, so the states with the same name were different) and another group for Closed states.

So the complete result is :
<viewlet id="" trim="blue">
   <preference id="presentation" value="bar"/>
   <preference id="query" value=""/>
   <preference id="metagroups" value="Open~~New|Submitted@@Closed~~Closed"/>
   <preference id="parameter" value=""/>
   <preference id="othergroup" value="true"/>

I hope this will help.

Your answer

Register or to post your answer.