Can I hide a field on the HR Case Form if the request was submitted through self-service (Portal)

Hola Ola
Giga Guru

Hello, 

 

I have a field, Appraisal Due Date, on an Employee Relations case form, which I'll like to HIDE if the form was submitted via the self-service portal

HolaOla_0-1727273624362.png

 

I thought just setting up a UI Policy would solve my problem, but it didn't.

 

HolaOla_1-1727273775513.png

 

Is there any advice or recommendation that would help me achieve this goal?

 

Thanks

13 REPLIES 13

amaradiswamy
Kilo Sage

Hi @Hola Ola 

 

Try with below conditions: [If this field should be visible for multiple HR services then use OR condition for HR services]

 

Source (Contact_type) is Self-Service [AND]

HR Service is HR Service 1 [OR]

HR Service is HR Service 2 etc.,

 

UI policy action:

 

Appraisal due date to visible true

Hello @amaradiswamy 

Thanks for your response. 

 

However, the 'Appraisal Due Date' field is only being used by that specific HR Service. No other Service is using the Field. 
I just would like to hide it if the form was submitted via the Portal

 

Thanks again.

oh..got it, then just use the condition

 

Source (contact_type) -- is not -- self service

 UI policy action:

 

Appraisal due date -- visible -- true

 

UI policy action

Sandeep Rajput
Tera Patron
Tera Patron

@Hola Ola Could you please check if there are other UI Policy/client script running on the same form which is making the field visible?