2

I have a sharepoint-hosted app and I want to convert it into an normal .wsp solution instead of .app

I was wondering if there is a change to make this conversion.

Thank you.

  • Create one visual webpart in visual studio and add all javascript into that webpart. Add create wsp of that solution. – Dikesh Gandhi Aug 1 '16 at 10:36
  • How can I add javascript to my webpart? – Nderon Hyseni Aug 1 '16 at 11:34
3

Here below are the steps for that:

  • Create Empty SharePoint Solution in Visual Studio.
  • Choose SharePoint sandbox solution in that.
  • Create one visual webpart from add new item.
  • Find the JavaScript code from the SharePoint app code.
  • Add that code in the visual webpart or attach JS file in that webpart.
  • Add related HTML code in the visual webpart.
  • Do rebuild and deploy the solution.
  • I don't know what to say to you! I LOVE YOU. You saved my life bro. – Nderon Hyseni Aug 1 '16 at 12:44

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.