How do we print a record from Service Portal

thomaskvistjaco
Kilo Expert

Hi,

How do we control the printing of a request or incident in the Service Portal in Helsinki?

There's no print button as far as I can see, and ctrl-p yields a mostly useless layout.

br

Thomas

1 ACCEPTED SOLUTION

erikbartholdy
Giga Guru

hi again



just found out, you can control which output is used by adding sysparms



ie, using the ess view (or any other view)


&sysparm_media=print&sysparm_result_view=ess



this is very usefull if you want to control what is send to the printer 🙂



more about sysparm http://wiki.servicenow.com/index.php?title=Navigating_by_URL#gsc.tab=0


View solution in original post

10 REPLIES 10

excellent, thanks 🙂


Is this still working? We tried it but it returns record not found.

As far as our current installation on Kingston, yes.

Does your server script set the data.sysid and data.table? Like this:

	data.sys_id = input.sys_id || $sp.getParameter("sys_id") || options.sys_id;
	data.table = input.table || $sp.getParameter("table") || options.table;

 The target url when you click the print button should look something like this:

 

find_real_file.png

You could check the reference to incident is there and the corresponding sys_id exists.

Regards,

Thomas

kmusselle
Kilo Explorer

Hi,



When i use the export to PDF the variables are not printed do you know why and how I fix this? any help will be greatly appreciated.


thanks


Kathryn


erikbartholdy
Giga Guru

hi again



just found out, you can control which output is used by adding sysparms



ie, using the ess view (or any other view)


&sysparm_media=print&sysparm_result_view=ess



this is very usefull if you want to control what is send to the printer 🙂



more about sysparm http://wiki.servicenow.com/index.php?title=Navigating_by_URL#gsc.tab=0