Hello All,
As you know -
When the browser opens up any Office Web App in a SharePoint 2013/2016 environment
(on premises or Office 365), it loads the "WopiFrame.aspx" or "WopiFrame2.aspx" page (edit any doc and see)
This is the page which gives all Office Web Apps a place to display documents.
-
The "WopiFrame.aspx" or "WopiFrame2.aspx" page depends on the "WOPISessionContext"
cookie set by SharePoint to understand where to go when the Web App page needs to be redirected.So if we are uploading document to Library A then on click it will redirect to Library A or if the case with Library B it will redirect to Library B.
- There is code behind,SharePoint 2013 libraries which updates the cookie (WOPISessionContext) every time you navigate/upload to a new list/library and it redirects accordingly.
- As this page reside in ( _layouts,sites/ip/_layouts/15/WopiFrame.aspx) which is server location (where Sharepoint installed) so can not modify it as these pages shared across farm.
- As of now could not see any other ways to edit this URL.
Please can you help if there is any way to make the change in redirection any script/technique to do it...
instead of redirecting default library I want to redirect to homepage-
Let me know if this forumn post is relevant -
Thanks & Regards,
Sudhanshu
sudhanshu sharma Do good and cast it into river :)