You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a kiosk mode application based on SharePoint pages we want to ensure that all links on a page are displayed in a modal dialog instead of current tab/new tab. For custom webparts like the React Tile Webpart we are able to implement this with the modal component of fluentui/react.
Question
Is there a way to build a SPFx Extension that is intercepting all or most link clicks coming from default MS Webparts on all pages and redirect the url to a modal dialog instead of the current window. Example would be a link in the Hero Webpart on a slice, currently i can only select to open in current tab or new tab, but with my extension a click on the image should open in a modal dialog instead.
I am aware that this is somehow out of the "supported" scope of page manipulation and might break at any update from microsoft, i just try to understand if this goal is achievable with the technology we have or complete impossible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goal
For a kiosk mode application based on SharePoint pages we want to ensure that all links on a page are displayed in a modal dialog instead of current tab/new tab. For custom webparts like the React Tile Webpart we are able to implement this with the modal component of fluentui/react.
Question
Is there a way to build a SPFx Extension that is intercepting all or most link clicks coming from default MS Webparts on all pages and redirect the url to a modal dialog instead of the current window. Example would be a link in the Hero Webpart on a slice, currently i can only select to open in current tab or new tab, but with my extension a click on the image should open in a modal dialog instead.
I am aware that this is somehow out of the "supported" scope of page manipulation and might break at any update from microsoft, i just try to understand if this goal is achievable with the technology we have or complete impossible.
Beta Was this translation helpful? Give feedback.
All reactions