- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2018 03:21 AM
Hello,
On knowledge article form, i want only "knowledge base" managers( mangers is a watchlist field on kb_knowledge_base) to view a UI action (example - "Import"). i have tried doing it in Onload client script , by using for loop, got success with for loop but not with UI action visibilty.
Thanks
Jagruthi
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2018 04:19 AM
HI Jagruthi,
Use below condition in the UI action
current.kb_knowledge_base.WATCH_LISTFIELD_NAME.toString().indexOf(gs.getUserID()) > -1
Mark answer as correct if it solves your query.
Regards,
Rajesh M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2018 04:19 AM
HI Jagruthi,
Use below condition in the UI action
current.kb_knowledge_base.WATCH_LISTFIELD_NAME.toString().indexOf(gs.getUserID()) > -1
Mark answer as correct if it solves your query.
Regards,
Rajesh M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 07:51 AM
Hi Rajesh,
That worked , thanks
But then i used Script include and achieved it.
will be using this as its gonna minimize my script