- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 06:08 AM
I want to hide the PDF export of the UI macro context_form_header.
Is it possible to hide PDF (portrait) and PDF (landscape) by editing the XML of the UI macro?
Please tell me how to do it if possible.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 11:03 PM
Hi,
I won't recommend updating that OOB UI Macro
If you still require you can play around with it
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 06:14 AM
Hi,
Steps
1) go to sys_ui_context_menu.LIST
2) Search with name = Export and table as global
3) In the related list you find PDF; open that
4) then within PDF you find different buttons for PDF (portrait) and PDF (landscape)
5) mark them active = false
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 05:59 PM
Thank you
Unfortunately, I think the method you taught me is to disable the export of the context menu on the list screen.
I want to disable the export of the form screen after opening the record in the list screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2022 12:41 AM
You can only disable for list and not form form view
You cannot do this as the code behind this is not accessible to us.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2022 07:53 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader