Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

App Part on sharepoint hosted app not rendering anything

$
0
0

I am working on an app that needs to be an app part. I have the app part setup but when i add it to a sharepoint site i get a blank page.

I was getting 'Type' no defined errors but for now i have removed all of the script tags from my HTML page.

My app part page is 

<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><WebPartPages:AllowFraming ID="AllowFraming" runat="server" /><html><div><table>
A table of stuff</table></div></html>

i also have the same HTML in my main app page so i know it should be showing something.

I have added the {StandardTokens} to the URL that is loaded when the app part is called.

Can anyone point out what i am doing wrong? I cannot find any MS documents that explain ow this should work.

I would also like to know the best way to add JS Scripts onto the page as i have seen a couple of different approaches. 

Can i use the standard script tag like i do in the main app pages?

Thanks


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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