Embed a report to an external site?

dinoseck
Kilo Explorer

Hey everyone,

 

I would like to know if it is possible to embed a report to an external site.

 

For example, instead of the end user having to create a report in ServiceNow, they would be able to view a live report from a Google site.

 

I have tried importing the table data from a report onto Google sheets as an =importHtml function, but it has not worked yet.

 

Thanks

11 REPLIES 11

Community Alums
Not applicable

Have you already looked at Publishing the report you want to make available on an external site? Scheduling and Publishing Reports - ServiceNow Wiki


This give you a public URL you can then potentially embed in an iFrame in your external site.



Ben


Hey Ben,



Thank you for the helpful reply.


I will try this today.



update:


I believe this solution will answer my problem.


However, I do get this message when I embed the URL through iframe:


"To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."






Community Alums
Not applicable

Hmmm... I was not aware of any limitation with that. I poked around in the properties to see if there is a way to allow for this, but I do not see anything. I'll see if I can dig up anything else.



Ben


baileyd
Mega Contributor

It is possible by going to sys_properties.list and changing the glide.set_x_frame_options property to false.  



This will allow you to embed reports in another site using iframes.



There is however the possibility of clickjacking since a malicious website could embed your content as well.   It's hard to say how likely that would be but it's worth mentioning.