- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 06:56 PM
Hello Community,
I have a requirement to hide some fields from "i" or "Info" button on "Requested for" or "Requestor" catalog item variable in the portal. Because when it is a request for, one user can choose another and should not be able to see all the fields of the other user. This is only applicable to service portal. Below is the screenshot
How can I be able to hide some important fields and only display few user information.
Thank You
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 06:55 AM
Hi @Ken61
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0823295
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 08:51 PM
Hi @Ken61 ,
To hide the reference field Information icon.
Navigate to sp_page.list and open sc_cat_item page
Add below code in CSS field of the page
.field-has-reference > div.add-on > button {
display : none;
}
above configuration is applicable for all users(including admin), there is no method to apply the logic based on user role.
or you want to do for specific variable then follow this step
update the css on sc_cat_item page with for specific variable then copy id using console
#sp_formfield_reference_group_name > div.add-on >button { /
display : none;
}
In the CSS field add the above CSS code (replace "sp_formfield_reference_hiring_manager" with your ID value)Save and then reload portal page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 12:48 AM
Hi @Ken61
It is sys_userpopup . You need to make changes in sys pop up view and its done.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 02:43 AM
Hello @Ken61
1. Navigate to the sys_user table.
2. Right-click on the list header, and choose Configure->Form Layout.
In the "Form view and section" area, select the View name drop-down list and select "Sys_popup".
3. Add/remove fields for sys_popup view from slush bucket and configure it as per requirements. Now click on Save.
Please Mark Correct ✔️if this solves your query and also mark Helpful 👍 if you find my response worthy based on the impact.
Regards,
Shruti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 06:44 AM
@Shruti D @Dr Atul G- LNG Thanks for your response, but I did not have sys_popup in the view area.