Can we print a list of forms?

peterraeves
Mega Guru

Just having a report with a list of records is not enough for our customer. What we would like to do is print the form of a list of records. This can be a word or pdf document. Is such functionality available somewhere within servicenow, or a function that could be used to create such functionality?

4 REPLIES 4

larstange
Mega Sage

Hi



Yes that is easy.



Go to the list view of the form and do a search for the relevant records,



Then right click the table header and choose Export ->PDF->Detailed Portrait (or Landscape)



The PDF will contain the list of records and then each record in a form layout


find_real_file.png


Thanks Lars, exactly what I wanted. Question I still have though:



1) Can the output be tweaked to only contain the forms?


2) Can the output be automated (eg: in a script, scheduled report, etc)?


3) Can it be used in a report überhaupt?


larstange
Mega Sage

Hi Peter



1. No not that im aware off


2. Its not something i have tried. You will have to find the code that the menu function calls and experiment with it to see if you can call it server side and capture the pdf.


3. I dont think so.



The alternative is to use the new PDF generator to generate a custom export


PDF Generation in Geneva


Alright thanks. I'll look at the documentation to see if I can find something.



Looking at the context menu they are using GwtPollDialog and GwtExportScheduleDialog. I'll have to look for the code tomorrow, I doubt I'll be able to find it though