How to activate UI Policy o portal?

divya_m23
Kilo Contributor

Hi,

I have applied an UI policy on Incident form(Self Service View) to make some fields hidden based on one condition.

The UI policy is working fine in the Instance but it is not getting reflected on the Portal.

find_real_file.png

Portal Image :

find_real_file.png

In this case of Self service view of form, The fileds 'Category', 'Subcategory', 'Impact', 'Location' and 'Business Service' are hidden in the instance because of the UI Policy but the same is not getting reflected in the portal when I keep the view as 'view=ess' in the portal URL.

Can anyone please suggest me how to apply the UI policy to the Form in the Portal and hide the mentioned Fields.

Thanks,

Divya M.

11 REPLIES 11

naren9
Giga Contributor

Hi Divya,


You can pull field "Run scripts in UI type" on form by configuring form layout of UI policy. just right click on the form header and select personlize > form layout option.


after pulling the field on form select option 'All'.


Normally it's available OOB on the UI Policy form. If it is not there you can try the below Option:



1) Right Click on your UI Policy form and select Configure-->Form Layout as shown below:



find_real_file.png



2) Select the Section Name as "Script" highlighted in Below screen shot and add the field Run Scripts in UI Type as shown below:



find_real_file.png



Then try the above Option by selecting "All" to check if your UI Policy works in portal or not.



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hi,



I selected the 'Run Scripts in UI' as both but still the Ui Policy is not getting reflected in the portal. Is it because we have the second option as Mobile and not as Mobile/Service Portal? If the option needs to be customized, how can that be done?


find_real_file.png


Which Service Now version your instance is on?



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Helsinki



Thanks,



Divya.