I want to show provider hosted app page in modal pop-up from host web.
1 Answer
we can use JavaScript with OpenPopUpPageWithTitle to achieve this requirement
javascript:OpenPopUpPageWithTitle('https://ProviderAppUrl/Controller/Action?SPHostUrl={SiteUrl}&ItemUrl={ItemUrl}&IsDlg=1', RefreshOnDialogClose, 800, 600,'Start a process'
)"
please check the linkShow SharePoint Provider Hosted page in Modal Window with callback
-
i get below error : An error occurred while processing your request. Commented Mar 24, 2017 at 18:20
-
Are you able to open that provider hosted page normally when browsing the provider hosted web (not using a dialog)?– PrakashCommented Apr 11, 2017 at 12:46