Hi Friends,We are now working on the client side web-parts and and have to look for the documents to get help for many of the work that we do and looses much of the time googling.

Now here i come up with a npm package that will help you in providing you with most of the common used methods and will take all your work and make your life easy and make the development a lot more faster.

The only thing you need to do is,

Description

npm install spfxhelper

The only thing you need to do is to call the getInstance() method to get the object of the class and then call the methods as you want.

SPLogger- This class is helpful in logging if any of the issues are found. For now the list in the working directory in SharePoint with the following information

  • List Name- Error Logs
  • Required Columns- Title (default), Error Type (Choice field- ERROR, DEBUG, INFO), Error Description (Multiple line of text)

Following methods are contained in this class,

SPListOperations - This class is responsible for all the list based operations. Following are the methods contained in this class

SPHelperCommon - This class contains the most common methods. Following are the methods contained in this class-

SPFieldOperations - This class is responsible for all the field based operations. Following methods are contained in this class-

SPCommonOperations - This class is responsible for all the common operations in SharePoint. Following are the methods contained in this class-

SPBatchOperations - This class is responsible for batch operations in SharePoint Framework. Following are the methods contained in this class

I have tried to cover all the basic needs, so anyone feels any method or functionality to be included , please feel free comment or raise an issue '

Report Issues-