Can I hide a field on the HR Case Form if the request was submitted through self-service (Portal)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 07:17 AM
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.
I thought just setting up a UI Policy would solve my problem, but it didn't.
Is there any advice or recommendation that would help me achieve this goal?
Thanks
- Labels:
-
Human Resources Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 06:57 AM
Yes, unfortunately, none of the suggestions have worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 07:08 AM
Hi @Hola Ola
Check below:
1. Go to sys_ui_policy_action.LIST
2. Search with table -- contains -- sn_hr_
3. Field name --contains-- u_appraisal_due_date
Let us know how many UI policies returned
Check the client script as well.
Go to sys_script_client.LIST
Apply the filter, script --contains--u_appraisal_due_date
Let us know if any client scripts returned with screenshots if possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 08:18 AM
Hello @amaradiswamy
Here's a screenshot of what returned from sys_script_client.LIST
And Here's what returned from sys_ui_policy_action.LIST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 12:43 AM
Hi @Hola Ola
There is only one UI policy so it should work if you modified the conditions of UI policy.
In the client scripts, if there is no g_form.setDisplay() method is used then you can ignore otherwise you need to adjust client script as well