- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 04:42 PM
Hi There,
I have created a page collection that I would like to re-use across multiple landing pages.
I have followed the docs article on how to add a view port, except I have added an event on the body of the landing page to hopefully load the viewport/page collection.
The event added to the body is a Page ready event > UXF Macroponent Viewport Load Requested and I have set the viewportElementId property to the id of the viewport.
When loading the landing page i get the following message displayed, "No content available. Contact your ServiceNow administrator for more information."
What is the best way to show a page collection when a page loads?
I have also tried using sub-pages and tabs and I get the same issue, there is no audience on any of the pages.
References:
Add a viewport component to your page (servicenow.com)
Release > Utah
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 06:01 PM
In case anyone else runs into the same issue.
Add the page collection name as the route on the UXF Macroponent Viewport Load Requested event.
So to get the viewport . page collection to load when the landing page loads.
Add an event to the body of the page where you would like to use the viewport
Even details > Page ready > UXF Macroponent Viewport Load Requested
Update the object in the event
route: "<this is the URL path of the page collection found on the Page settings>"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 06:01 PM
In case anyone else runs into the same issue.
Add the page collection name as the route on the UXF Macroponent Viewport Load Requested event.
So to get the viewport . page collection to load when the landing page loads.
Add an event to the body of the page where you would like to use the viewport
Even details > Page ready > UXF Macroponent Viewport Load Requested
Update the object in the event
route: "<this is the URL path of the page collection found on the Page settings>"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2024 12:07 PM
Still it did not work. Any alternative?