1

We have a SharePoint hosted app that use some lists and document libraries. We need to convert it to a provider hosted app so we can do some server side actions.

is this feasible? and how?

1

In your provider-hosted app you can still make use of all your artefacts from your SharePoint-hosted app. I'd suggest you create a new App for SharePoint project for your provider-hosted app, move everything that you want to reuse into your new project and extend your app with your server-side actions.

|improve this answer|||||
  • But what about the code and pages in my old SharePoint hosted app. I need to reuse the old code and pages – Maged Farag May 22 '14 at 17:14
  • I don't think you will be able to reuse the code. The biggest difference is that in SharePoint-hosted apps your app works in the context of SharePoint. Provider-hosted apps on the contrary run remotely to SharePoint and therefore they require a different approach than the one you have been using in your SharePoint-hosted app. – Waldek Mastykarz - MVP May 25 '14 at 14:13
1

From msdn: Important: You cannot change the app type using the update system. For example, you cannot change an app from SharePoint-hosted to provider-hosted with an update.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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