ServiceNow Webkit HTML to PDF Plugin | ServiceNow Plugins demo | ServiceNow tips and tricks
[Music] hi all and welcome back to another tutorial so vf faced actually i have wasted a lot of time when my stakeholder or the product owner or you can say the end user asking for the pdf to the to the dashboard or to the home page means how exactly the home page is looking okay if they want to see or if they want to see the statistics based from the dashboard okay uh so uh they will ask for the export for the same and we don't have any provision for the same right so what i used to do i used to just take the screenshot for the same and then i used to share the shot but then i it came to my mind is there any feature already present in servicenow which can do it for me okay and i was exploring out for the same and i got one plug-in okay which does this for us so in today's tutorial we will be seeing on a one of one important rarely used but important plugin okay which gives us the provision to export the dashboard and home page into uh in a pdf document okay so let's jump into it so first of all i will give you a background over the plugin so if you can see on my screen in a second okay so this is the plugin okay the what this plugin does is enable pdf export of dashboard and home page okay and the name of the plugin is webkit html to pdf okay so what we will be doing we will just copy it out okay and i will show you how you can install this plugin out to the system so what you have to do you have to just go to system definition [Applause] definition and under system definition if you scroll down okay you will be seeing a module called plugin so i will just open it into new tab okay and let's see so this is where you can see all the plugins okay which are installed in the system which are available to be installed in the system every all the things okay so it will take some time to get load okay so we'll wait for it to happen come on it always takes time for me to get all the plugins loaded okay so i will just minimize the screen to see if you have something so till then i will just give you the introduction to the steps so basically how to enable this plugin you have to just navigate to system definition plugin so again search for this plugin and just simply activate it out if it's already being activated and it's not working on you so you can simply repair it out so you can see there are 1946 plugins available on the system okay so just search for this i have already installed it out as you can see over here if you have not installed it out you will you you will be able to see the install button over here you have to just click on that you will get a prompt okay just click ok on the prompt which will be like acceptance okay you want to uh install that plugin and that's it okay so once you install this plugin what changes you will be seeing okay so you will be seeing a download option pdf download option on dashboard as well as homepage how how it looks i will show you so i will just go to the screen okay and this is a home page for instance so on this home page if you have not installed this plugin you will not be seeing this button okay this button over here at the right corner okay which call which states export to pdf and if i click on this export to pdf currently i don't have any widgets available on the dashboard if you have widget then also it's fine and you get a lot of option whether first it asks for orientation whether you want to turn portrait mode or landscape move paper size which is pretty good factor what kind of zoom percentage you want you want to page break or not smart sync all these things okay and you also get a option to send it over email so if you provide an email you can set it directly over there so i will simply go with generate for now and see it started exporting it will query everything out it will start exporting it down and if i download it out so it will get downloaded oh i will store it on the desktop only and this how it looks okay currently i don't have so you can see the entire perfect uh snippet for the home page i don't have any visual that's why it's looking like this okay if in other case okay now we have to how it looks on the homepage now we will see how we can see the similar option on the dashboard also which is pretty important for me because uh i have created a lot of dashboard in in my project okay and every now and then i i i uh people used to ask me okay can you share the dashboard snippet for me so that they can analyze on the same okay so for that let's fix any dashboard which is present in the system so i will simply search for any dashboard if oh there is an instant instance dashboard present so let's just open it up only okay so i'm just opening it out ah it takes some time dashboard so it's getting load the instance is pretty slow today okay so this this is a dashboard okay you can see for instance scan okay now if i want to i want to export it out um export it out okay how i can i can export it out as a pdf okay now you will be seeing this option no this is out of the box option already present for sharing this is not the option in the dashboard view you will be finding that option over here you have to click on the hamburger menu and here you will be finding the option to export to pdf so if i do export to pdf the same option it will ask print all tabs yes i want to print all tabs okay the similar options and if i export it out let's see how it works over here so save and it got exported into a pdf format now if i open it out it's not showing anything because there is nothing present on my dashboard also there is no data itself so if you have the data it will show it properly the proper format you
https://www.youtube.com/watch?v=MCpxTwNzWGY