Catalog UI policy not working on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2017 02:37 AM
Hi All,
On a record producer on our service portal I have created a couple of UI policies to make a couple of labels above groups of checkboxes. Both of these are working when I use the 'try it' option in the normal SN UI. When I try it on the Service portal one of these is working, the other is not.
Working UI policy
Using 'try it' function
Then allows submission as expected
On Service Portal
Then allows submission as expected.
The UI policy that is not working:
Working fine in normal ui:
Then allows submission as expected
On Service Portal
This allows submission even though both 'Has the document(s) failed to generate?' & 'Have you provided example documents?' are both false.
Any suggestions on why the logic is working on the 'try it' button but not working on the service portal?
Thanks
sam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2017 02:46 AM
HI Sam,
There is on field on catalog task which says where to run this UI policy.
Click On advance view and then select Run Script in UI type as All.
Thank you,
Ashutosh Munot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2017 02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2017 03:06 AM
Hi Ashutosh,
I don't have any scripts in my UI policy. If I select the Advance view I don't get the 'run scripts in UI type' field appearing
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2017 03:09 AM
Hi Sam,
Please add it using Form Layout. Regardless of script, even if you want caatalog action to work you need to select UI type as All to work on portal as well as CMS.
Click on run script if you dont see that field. you will be able to see that field.
Thank you,
Ashutosh Munot