Service Portal page and widgets will not display views or forms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2023 10:35 AM
I've created a scoped application, currently with a single table.
I've also created a Portal with the main purpose being to allow the user to navigate to the list view or form view for that single table. One page and two widgets. The portal, page, and widgets were built using out of the box configuration tools. The widgets are cloned version of the 'Form Widget,' and the URL's are set using the instance configuration tool.
When testing these functions using the "Try It" mode, they work seamlessly. If however, you launch the Portal from the Filter Navigator, the page loads with no problem. The problem comes when you trigger the widgets. Both of them start and attempt to function, but what you see happen is the system try to start the application again, within the page display area, several times before giving up and returning to the default homepage. The log shows the process attempting to start several times before giving up.
Does anyone know what causes this to happen?
Thanks,
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2023 01:45 PM
It sounds like there may be an issue with the URL configuration of your widgets. When you access the portal from the Filter Navigator, the URL used to access the portal may be different from the URL used in "Try It" mode.
To resolve this issue, try using the "Get portal URL" UI action in your portal record to get the correct URL for your portal. Then, update the URL configuration of your widgets to use this URL.
If this does not resolve the issue, check the logs to see if there are any error messages or stack traces that provide more information about what is happening. Additionally, you may want to try debugging the issue by adding some console.log statements to your widget code to see where the problem may be occurring.
Please mark my answer correct/helpful in case it adds value and moves you a step closer to your desired ServiceNow solution goal.
Thanks,
Punit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 09:24 AM
Thanks. I tried working through this using your suggestions but had little success. I ended up going back and doing an in depth search for core widgets that might work. I found one that gives them basically what they want and used that. This is just an initial demonstration of what they might have.