0

I want to show provider hosted app page in modal pop-up from host web.

1
  • R u able to find the solution..?
    – TARUN
    May 10, 2017 at 6:41

1 Answer 1

0

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

2
  • i get below error : An error occurred while processing your request. 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)?
    – Prakash
    Apr 11, 2017 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.