hide an image component when case opened for profile fields is true in ui builder "case" page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 06:33 AM
Hi Experts,
i have a requirement to hide an image component when hr case "opened for" (profile) fields return true in the ui builder "case" page.
i have in the hr profile table a new fields custom called "indication 1" and if it's selecting for the opened for user of the hr case i need to hide the image component that i added to the oob "case" page under the ui builder.
so i'm wondering how we can get the hr profile from the hr case page in the uib.
i added the following to the uib case page:
1. a new data source to connect to the table "hr profile" page and to filter there the sys id of the profile to be equal the current "hr case" opened for field. and to return the indication field.
2. in the other side i added a hide script to hide or show the image as per the indication is true or false for the same hr profile of the opened for user.
attached the screenshot, what i need to put inside the filter of the data source to get the same opened for user sys id ? thanks!