i added client web part to host site, it's the out of the box sharepoint hosted app that comes by default with visual studio 2013. when adding the app part to my web page, it gives me (working on it..), but no updates, it should display hello and user name as it does in the app. any idea?
-
Did you try executing it by pressing F5 directly from Visual Studio?Also, do you find any error in developer tools console window?– 404Commented Feb 21, 2015 at 0:41
-
yes, i can see the app executed fine in the app itself, but not from the client web part– Lara JCommented Feb 21, 2015 at 0:42
Add a comment
|
1 Answer
This is a normal behavior when you try to show a page from an App in SharePoint host site, in every page in your App make sure you add:
<WebPartPages:AllowFraming ID="AllowFraming" runat="server" />
Basically SharePoint pages send specific header in its response which prevents it from being viewed in iframe.