how to make a print button that works only to print from certain parts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 12:14 AM
hello master
I'm new to servicenow, so I need a way to print an event form (incident)with certain parts (Post Mortem) that have been adapted to the script, is there any reference or sample script that can help me understand this, if there is a script I would be very grateful to you for having help direct me to learn service now i just made UI action but to understand script i'm still confused please guide master, thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2023 10:51 AM
This was SUPER helpful, thank you so much for posting! Our desktop techs wanted a "quick print" with only the fields most pertinent to working the ticket, and this solution is perfect. I just had to make one modification. When I used the script as above, the print preview displayed the view but the only field values populated were the system-assigned ones (Number, State, etc). When I modified the third line as follows, ALL of the field values were populated:
url.addParam('sys_id', g_form.getUniqueValue() );