Showing posts with label Sharepoint app host web reload. Show all posts
Showing posts with label Sharepoint app host web reload. Show all posts

Tuesday, 12 August 2014

Sharepoint app host web reload

If you want to reload the host web page, use below code.
   window.location.href = "MyAppPage.aspx";

I have a host web site. Ex: http://SPO/teams/MySC/pages/MyHostPage.aspx
I have a app which is added in MyHostPage.aspx.
In the app i have a page name : MyAppPage.aspx
In the app after doing some action if you want to reload the page, use below code.

   window.location.href = "MyAppPage.aspx";