Hi All,
I have deployed one Provider hosted app on Azure web app and then installed app on my SharePoint online tenant site.
Now what I did was, I gave the app url in Office App HTML page by simply giving hyperlink
. In that I gave URL: https://myonlinetenant.sharepoint.com/_layouts/15/appredirect.aspx?instance_id=5b1dc2c7%2D014f%2D4ab8%2D9f1d%2Db64acae0bb68 to manually redirect to the app home , so it will ask the user to login and redirects to the app home page (Azure Web App).
Now my question is, if I want to specify one more querystring
like email
along with above URL, what would be the option available. Does any one have idea about this?
Any help would be much appreciated.
Thanks for the tip Pankaj! Your blog is helpful in terms of SharePoint context, but I am trying to place that link in Office App HTML page, where I will not have that script loaded, so that I can not call LaunchApp method. Though I am able to give the link and open that app from Office App page by giving static URL, but I need to pass extra querystring along with it, So I am not sure weather this is possible or not?
Hey Pradip, You have only one option to do this using Custom Action. I have faced the same challenges earlier and I have done it. if you don’t want to use custom action then I have find a tricks to do it pls. go through my blog.
http://sharepoint-community.net/profiles/blogs/open-provider-hosted-apps-in-sharepoint-model-dialog