Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 21070

Sharepoint 2013/2016-How to change URL for redirection on OOTB WopiFrame.aspx or WopiFrame2.aspx

$
0
0

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 -

https://social.technet.microsoft.com/Forums/office/en-US/22569cab-ce8a-42a7-b025-e96306698344/change-breadcrumb-url-of-owa-wopiframeaspx?forum=sharepointdevelopment

Thanks & Regards,

Sudhanshu


sudhanshu sharma Do good and cast it into river :)



Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>