- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2018 03:25 PM
I am trying to figure out how I can get the My Request widget to show request that were opened by me not just ones that I am the requested for which is the default behavior?
I have one catalog item that all the requests are generated by a coordinator and not the person that the request is for and they need to track the status of these requests.
If at all possible it would also be great to be able to show the requested for as a secondary variable so these coordinators would be able to quickly identity which user the request is for without clicking into each request.
Would like the requested for to show up in the highlighted area of the widget if possible.
Appreciate any help or ideas. Thanks
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2018 04:41 PM
gr.addEncodedQuery('requested_for=javascript:gs.getUserID()^ORopened_by=javascript:gs.getUserID()');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2018 04:27 PM
Any ideas on what part in the server script I need to update and what it needs to be changed to as it is not obvious to me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2018 04:39 PM
I found the code just not sure how to add opened_by to Query
gr.addEncodedQuery('requested_for=javascript:gs.getUserID()');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2018 04:41 PM
gr.addEncodedQuery('requested_for=javascript:gs.getUserID()^ORopened_by=javascript:gs.getUserID()');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 08:47 AM
Thank you very much that did it. Appreciate your help!