Catalog UI policy not working on Service Portal

Sam Ogden
Tera Guru

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

find_real_file.png

find_real_file.png

find_real_file.png

Using 'try it' function

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected

On Service Portal

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected.

The UI policy that is not working:

Working fine in normal ui:

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected

On Service Portal

find_real_file.png

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

21 REPLIES 21

Ashutosh Munot1
Kilo Patron
Kilo Patron

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


See Below Screen shot.


find_real_file.png


Thank you,
Ashutosh


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


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