locked
Hyperlinking to screens in Cloud Business App RRS feed

  • Question

  • Given a Lightswitch Cloud Business App, can anyone suggest how I should go about providing hyperlinks to be placed on the host SharePoint site to link to particular screens within the app?  If it was a standard LS HTML Client, and not tied in to SharePoint I could just provide the links as they appear in the navigation bar when in the app:

    https://appsite/HTMLClient/#/Customers/[d16328bcd]

    https://appsite/HTMLClient/#/Products/[fe0463462]

    But as it is a cloud business app, I am imagining I should be providing links that go via the host web, not directly to the app web site, like:

    https://spsite/_layouts/15/AppRedirect.aspx?instance_id={my_guid}#/Customers/[d16328bcd]

    https://spsite/_layouts/15/AppRedirect.aspx?instance_id={my_guid}#/Products/[fe0463462]

    Which doesn't work, because SP won't pass through custom URL parameters to the app.

    So far the only solution I can see is to create an app package for each screen, supplying the relevant parameters in the StartPage setting of the manifest.  Hopefully there's a better way...

    Thursday, June 26, 2014 2:47 AM

All replies

  • So far the only solution I can see is to create an app package for each screen, supplying the relevant parameters in the StartPage setting of the manifest.  

    Glad that you have solved this issue by yourself, I think this is really a good solution for this issue, and thanks for sharing it to us.

    Best regards

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, July 7, 2014 9:35 AM