IFrame on Dashboard opens list links from Task Table inside IFrame instead of new Tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 08:42 AM
A while back I created some dashboards with IFrames (list view for sc_task as an example)
These come into the dashboard with the option to filter the list right on the dashboard via the URL fed to the IFrame (unlike a report). You can also change the columns visible right on the dashboard as if you were in a task list view. All working fine. Here's the rub. As recently as two weeks ago, when clicking on the sctask record from the list view in the IFrame it would open in another browser tab (desired behavior). NOW, however, it opens the task record inside the IFrame (undesired behavior). If I ctrl-click the task link it will open in another tab. If I center-click the task link it will open in another tab. Just clicking the link will open the record inside the IFrame.
According to the documentation, it appears it is behaving as designed. (Which is not how it WAS behaving)
While the workaround of ctrl-click is usable the users want the original behavior back.
Thoughts??? I just don't see a lot of control on the IFrame to be able to dictate where it should open. I've tried setting the Frame name from the default 'gsft_main' to '_blank' (no go)
Again, any thoughts....???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:42 AM
To be honest, it's working as I would expect an IFRAME to work. It's just loading the contents but it is not responsible for how the content is rendered within in. The list needs to know that it is rendered within a frame to change the behavior and print all links with additional HTML-attributes to open a link in a new tab. I have never heard about such a configuration option. So sorry, but it seems there is no solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 01:18 PM
I believe you are correct. As I stated the documentation implies this is working. However, it was working differently not more than two weeks ago. Maybe we were imagining things... We are going to open a case with ServiceNow for confirmation. When I get that from them I will mark your answer as correct.
Thanks for the contribution.