The CreatorCon Call for Content is officially open! Get started here.

Basics of loading external page in iFrame

froghunter
Kilo Explorer

Hi. I'm very new to ServiceNow, and am working through a few basics.   I'm not entirely clear on expected behavior, so please let me know if I'm missing something here.   In short, I'm trying to create a very simple iFrame to load static content.   That is not working at present.   So, here's my approach:

Performance Analytics -> Dashboard Administration -> New.   I name it "my_test", I restrict access to me only (as this is my learning dash on a dev instance of SNow) and I submit it.   Next, I create Test_Tab and select Done.   On Test_Tab, I select Content Blocks -> New IFrame and add it as a the topmost content block.   Finally, I "Click here" to configure.   I give it the name and the frame name TestFrame, and I add a URL; in this case, for the fun of it, https://www.xkcd.com/.   That works.

Now a couple of basic questions...

1)   At some point, the intention is to add graphs and webpages that are generated externally in conjunction with SNow-generated reporting.   Part if this will require passing information such as a customer name, for example, to that external page from SNow.   For example, SNow would have a menu of customer names that, in addition to telling it what internal data to display, would be passed to an external source.   Is what I have done above extendable in that way?   If not, what is an appropriate approach, if any?

2)   Is the method I have used able extended to pass login credentials to an external server?

Thanks in advance for the help as I try to get a grip on this staggeringly large product.

1 ACCEPTED SOLUTION

Adam Stout
ServiceNow Employee
ServiceNow Employee

I'm not sure a standard iFrame will work for you.   You may need to do some scripting with Dynamic Content Blocks (see Configure dynamic blocks).


View solution in original post

2 REPLIES 2

Adam Stout
ServiceNow Employee
ServiceNow Employee

I'm not sure a standard iFrame will work for you.   You may need to do some scripting with Dynamic Content Blocks (see Configure dynamic blocks).


Thank you for the reply and the pointer.   I'll review the content block docs and go from there.