Forum Discussion

john john's avatar
john john
Steel Contributor
Jan 03, 2019

SharePoint framework Vs SharePoint hosted add-in, when building CRUD operations

Previously (Early stages of sharepoint online) i use to build many sharepoint hosted add-ins to implement scenarios such as:-

1. using node.js or pure javascript, i build a sharepoint hosted add-in.

2. the add-in integrates with sharepoint lists using REST api.

3. i use this approach to implement some advances CRUD operations that can not be achieved using sharepoint lists' views and forms. something similar to what is provided in this link https://www.c-sharpcorner.com/article/rest-crud-operations-using-sharepoint-hosted-app-office-365-part-two/

 

but one drawback i have faced recently, is that the add-in will be rendered in the classic experience, and i can not get the add-in to render using modern experience. now i read about this and many folks mentioned the SharePoint framework appraoch, which can allow us to build modern web parts. but from my experience i use web parts to display information, and i never saw a web part which provide CRUD operations. So if i want to provide CRUD operations in modern experience,  then is building modern web parts using SharePoint framework the way to go?

second question. can we force the SP hosted add-in to render using modern experience ?

 

//Hint. i can not use power apps in my case, as i have external users who need to access the CRUD operations, and currently power apps does not work for external users.

 

Thanks in advance for any help on my above 2 questions.

Regards

 

  • AndreKrijnen's avatar
    AndreKrijnen
    Copper Contributor

    Hi,

     

    When it comes Modern Web Parts and SharePoint Framework it all depends on your requirements and what is needed. If it is basic stuff for CRUD operations maybe it is. 

    From my point of view the Modern experience is not ready yet, and it still requires many adjustments to be able to deliver all that we need. 

     

    And no, it is not possible to force the Modern Experience with Add-Ins. At least I didn't have seen any solutions to this, or any possibilities. 

     

    Currently I am still in need for options to deliver experiences to Modern team sites, but there isn't any.

     

    Regards,

     

    André

    • john john's avatar
      john john
      Steel Contributor

      AndreKrijnen wrote:

      Hi,

       

      When it comes Modern Web Parts and SharePoint Framework it all depends on your requirements and what is needed. If it is basic stuff for CRUD operations maybe it is. 

      From my point of view the Modern experience is not ready yet, and it still requires many adjustments to be able to deliver all that we need. 

       

      And no, it is not possible to force the Modern Experience with Add-Ins. At least I didn't have seen any solutions to this, or any possibilities. 

       

      Currently I am still in need for options to deliver experiences to Modern team sites, but there isn't any.

       

      Regards,

       

      André


      AndreKrijnen

      Thanks for the reply. so you are saying that currently we can not have advanced CRUD operations inside modern experience (compared to SP Add-ins ) ? even when developing  modern web parts using SP framework ?

      • I totally disagree here with AndreKrijnen....modern experiences in SPO are totally ready and the recommendation when developing custom functionality for SPO is to go to SPFx or to PowerApps depending on your requirements

Resources