Count Widget

John Warren
Kilo Guru

Hello,

 

I'm trying to use the out of box count widget in our new service portal site. I'm running into an issue however with sending the user to a list of records when they click on the count. I'm able to get a count of records using the query and table I select in the options, but when I select the count it sends me back to the landing page instead of to a list. It looks like the ID is missing in the URL. Does anyone know how I would go about setting that?

 

sp?id=&table=sysapproval_approver&filter=approver=javascript:getMyApprovals()^state!=requested^EQ

 

Thanks in advance,

 

John

1 ACCEPTED SOLUTION

Hi John,



I have a solution for this issue.


1. Clone the count widget.


2. Replace line 2 of HTML section with


<a ng-href="?id=list&table={{::c.options.table}}&filter={{::c.options.filter}}">


3. Use Cloned widget in your page.



Hope this helps.



Regards


Ujjawal


View solution in original post

5 REPLIES 5

Hi John,



I have a solution for this issue.


1. Clone the count widget.


2. Replace line 2 of HTML section with


<a ng-href="?id=list&table={{::c.options.table}}&filter={{::c.options.filter}}">


3. Use Cloned widget in your page.



Hope this helps.



Regards


Ujjawal