Forum Discussion

Gaurav Goyal's avatar
Gaurav Goyal
Brass Contributor
Jul 05, 2021

Export / Import from Excel file in SharePoint (SPFx)

 

Here is the tool which will help you to import excel file into a list. This tool will not create any kind of list or column. It will help users to import their excel file in specific list. This tool also allows users to update existing records directly from excel file. I have develop the tool in SharePoint Framework.

Currently this tool is for SharePoint Online version only.

We are supporting following columns :

 

  • Single line of text
  • Multiple lines of text
  • Number
  • Yes/No
  • Person or Group (Person + Group)
  • Person or Group (Person + Group) (Allow multiple selections)
  • Date and Time
  • Choice
  • Choice (Allow multiple selections)
  • Hyperlink or Picture
  • Currency
  • Managed Metadata
  • Managed Metadata (Allow multiple values)
  • Lookup
  • Lookup (Allow multiple values)

 

Installation of App :-

1. Click here to download the https://raw.githubusercontent.com/gauravgoyal5/ExportImportExcelInSharePoint.github.io/gh-pages/sps-import-from-excel.sppkg.

2. Visit the Microsoft 365 SharePoint Admin Center

3. Go to Apps -> App Catalog. If you don't have app catalog, https://www.youtube.com/watch?v=xEc8X7VVtc8.

If you have Site Collection level App Catalog, just to to Apps for SharePoint from your site collection.

4. Click 'Upload' and select sps-import-from-excel.sppkg file to upload.

 

 

 

 

 

 

5. Check the box for Make this solution available to all sites in the organization and click the Deploy button.

 

 

6. A successful installation will look like this: 

 

 

 

7. if you receive an App Package Error Message stating, "Deployment failed," as shown here, simply delete the .sppkg file and repeat steps 4 and 5 to redeploy.

 

8. Now go to the site where you want this tool. Just create a new page or edit existing page and add a webpart 'SPS Import From Excel'.

 

 

 

 

 

 

This tool has help on each steps. You can read and start exporting or importing the excel.

 

 

 

 

How To Setup

 

 



How To Use

 



 

Enjoy!!!

4 Replies

  • passion0893's avatar
    passion0893
    Copper Contributor
    Hi Gaurav! please share the code to implement this functionality if possible on email address removed for privacy reasons.

    Thanks Gaurav. I had a requirement to implement this functionality
    • npyneni3456's avatar
      npyneni3456
      Copper Contributor

      Hi Gaurav,

      Can you please help me with the code, I was struck on updating the SP fields.

    • npyneni3456's avatar
      npyneni3456
      Copper Contributor

      Hi

       

      Can you please share me the package file, Having issue with one of solution

Resources