none
SPAppIFrame - SPHostTitle in StandardTokens

    Question

  • When i use a SPAppIFrame with {StandardTokens}, i get a wrong/invalid url for the created iframe.

      <SharePoint:SPAppIFrame ID="SPAppIFrame2" 

            runat="server" 
            src="http://localhost:9000/?{StandardTokens}" 
            frameborder="0">
        </SharePoint:SPAppIFrame>

    This results in :


    my app will only get the first Token and the SPHostTitle is &amp;

    The only solution is to write all the tokens separately:

    src="http://localhost:9000/#?SPHostUrl={HostUrl}&amp;SPAppWebUrl={AppWebUrl}&amp;SPLanguage={Language}&amp;SPClientTag={ClientTag}&amp;SPProductNumber={ProductNumber}" 





    Tuesday, June 11, 2013 9:38 PM

All replies

  • I have noticed that the actual parameter name is "SPHostTitle " (with a space). I bet this is a bug.
    Thursday, April 6, 2017 8:02 PM