Analytics - Work Item Count Widget Questions
Good afternoon,
After upgrading our Portal to 8.1.2.2012, I started working down my "To Do List". I was playing around creating a few simple analytic pages and encountered this issue.
When creating a Service Request Work Item Count Widget using a saved search I get this on the display page.
{{vm.count}} (see attached search and display)
I have deleted both the widget and the search several times and it still is showing the same {{vm.count}}. I am able to use basically the same search and widget with Incidents no problems.
Has anyone got an idea what is causing this?
Best Answer
-
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭The portal is a little funny when building new queries.
If you add the code via the admin panel then go to add it to a page it will not show into the widget setup until you restart your browser session. (and I mean close all portal sessions)
After restarting the browser you will see the offering in the setup drop down.
I prefer to add in queries when in the widget setup wizard but note it will remain blank in the queries window but will still save.5
Answers
I find the SQL widgets to be much more reliable for this functions.
This code should get you started.
If you add the code via the admin panel then go to add it to a page it will not show into the widget setup until you restart your browser session. (and I mean close all portal sessions)
After restarting the browser you will see the offering in the setup drop down.
I prefer to add in queries when in the widget setup wizard but note it will remain blank in the queries window but will still save.
@Brian_Wiest I have another question. Can you use wild cards in the support group names?
I actually have like a gazillion for the Software people, but they all start the same (SDT3)
And dssupport.DisplayString in ('SupportGroup1', 'SupportGroup2')
Since I am out of the office for the week cannot review the library of queries I have designed.
It should be either
And
dssupport.DisplayString in ('%SupportGroup1', '%SupportGroup2')
dssupport.DisplayString like ('%SupportGroup1', '%SupportGroup2')
@Brian_Wiest Thanks have a good Holiday, I will give this a try and see what happens.
I will eventually learn enough SQL to work my way out of a bag.....