2

I have developed a SPFx web part. How do I provision the webpart part using CSOM to an OnPrem SharePoint 2016 server?

1

First, Set up your SharePoint client-side web part development environment

  • Install developer tools
    • Install NodeJS version 6.x.
  • Install a code editor. You can use any code editor or IDE that supports client-side development to build your web part, such as:+
    • Visual Studio Code
    • Atom
    • Webstorm
  • Install Yeoman and gulp
  • Install Yeoman SharePoint generator

Second, Build your first SharePoint client-side web part (Hello World).

Third, Connect your client-side web part to SharePoint.

Finally, Deploy your client-side web part to a SharePoint page.


Check Also

  • Hi, Thank you for answering. I have already created the spfx web part package. I want to know how to upload the package and add the app to site page using CSOM. – Rune Nov 13 '17 at 14:19
  • @Rune check the final step in the above answer. – Vishnu S Nov 14 '17 at 10:20
  • @M.Qassa. There is no code displaying the provisioning at all. Have you really tried to do this yourself? – Rune Dec 1 '17 at 8:04
  • The method I used successfully: codeproject.com/Tips/1224160/… – Faraz Jan 7 '18 at 22:56

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.