Iframe with script so i get the current page incident details like subject , description upon click

Aditya007aa
Tera Contributor

Hi Everyone,

I am able to create an iFrame inside the Incident page.

Now I want to auto populate those current Incident records like Incident Number & Incident Subject when I click on a process button so it auto populates those details into my A360 process.

 

Or 


I have also created a Widget with scripts added there and I am able to add that widget in "Home" page only, I want to add that widget in the "Incident" page that will solve my problem very easily.

If anyone can help me with either of the issue, it would be so helpful.

15 REPLIES 15

@Aditya007aa 

did you try to get the browser URL in widget client controller?

try this

window.location.href 
Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader