Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Can custom UI pages be displayed in full screen?

bonsai
Mega Sage

I know how to display a UI page in a modal window using "GlideModal"

Is there a way to make it full screen instead of a modal window?

1 ACCEPTED SOLUTION

ChrisBurks
Giga Sage

You could also just redirect to a UI Page by using its name and appedning ".do" at the end.

For example if the name of my UI page is "testpage" I could use this url to open it:

https://<your_instance_name>.service-now.com/testpage.do 

or if I need it within the New Experience frame:

https://<your_instance_name>.service-now.com/now/nav/ui/classic/params/target/testpage.do

View solution in original post

3 REPLIES 3

Marco0o1
Tera Sage

Hi @bonsai ,

 

I think you are using a UI action to create the modal. What I can recomend is to create the window page using the HTML for your page:

 

var pdfWindow = window.open('', '', 'width="auto",height="auto"');
pdfWindow.document.open();
pdfWindow.document.write(htmlContent); //In the htmlContent is the html to load your page
pdfWindow.document.close();

 

Is a way to render your page, just remember to make your client script "Isolate Script" to false

Does htmlContent input HTML directly?

ChrisBurks
Giga Sage

You could also just redirect to a UI Page by using its name and appedning ".do" at the end.

For example if the name of my UI page is "testpage" I could use this url to open it:

https://<your_instance_name>.service-now.com/testpage.do 

or if I need it within the New Experience frame:

https://<your_instance_name>.service-now.com/now/nav/ui/classic/params/target/testpage.do