Provide the ability for selected individuals who need to continue to maintain data in Excel and also share the data with users via SharePoint taking advantage of all SharePoint’s built-in features for lists.
This solution provides the ability for Excel users to select data stored in their Excel spreadsheet and synchronize the data to a custom SharePoint list eliminating the sometimes redundant and time-consuming process of entering each item individually.
Screenshot from a table in Excel spreadsheet:
This scenario is part of an overall solution that takes advantage of SharePoint’s out-of-the-box features including SharePoint Designer workflows and custom lists to provide an online database for event tracking, a database of subject matter experts, workflow processes for resourcing, and incorporating scoring data imported from pre-populated reports downloaded in Excel format.
In addition the solution uses the new document sets in SharePoint 2010 to allow user to upload and share supporting files and tag supporting files at a folder level eliminating redundant input.
- Create a new custom list to serve as a public list that will display the data to end-users.
- Create a new custom list to serve as an import list supporting the import workflow process. This list is created directly from the Excel spreadsheet using the Excel Add-in’s Publish and allow Sync command (more later on this).
- Create a new site column named BulkImportID and that will be added to both the Import List and Public list.
- Create a new SharePoint Designer workflow to handle the import process. Set the workflow to execute when a new item is added to the Import List.
- Add logic to the workflow detect whether a new item should be added or whether the item has been previously added to the public list requiring only an update to the list item. The purpose of the BulkImportID is to be used to evaluate the workflow condition.
- Using the create item function in the workflow populate the public list with the appropriate values from each newly added item in the import list and set the BulkImportID for each added list item. Delete each list item in the import list using the Delete Item function when the workflow has succeeded for the item.
Installing and Configuring the Excel Add-in
- Install the Excel Add-in to the user’s desktop or laptop (individuals contributing data to the system) This provides the mechanism to synchronize the data from the user’s Excel spreadsheet to the Import List in SharePoint.
- Save the spreadsheet as Excel 2003-2007 format as described in the Excel Add-in configuration instructions. You can also create a copy of the original to support the import process to maintain the original’s advanced features.
- Configure the Excel spreadsheet for the Excel Add-in on the Excel spreadsheet by completing the configuration steps. Create a new table in Excel with your data and use the Publish and allow sync command to deploy your Import List for the first time. Optionally add a new worksheet to each spreadsheet where the user can copy in the specific data they need to import to SharePoint preserving the source worksheets.
- Users can continue to use their Excel spreadsheets for advanced computations, offline access, and custom formatting while also being able to share the data via SharePoint.
- Users can bulk-import pre-populated spreadsheets and reports provided by other systems into SharePoint.
- Custom filtered views including progressive filtering can be created and shared via SharePoint not provided in Excel auto-filtering.
- SharePoint Designer workflows provide a non-code mechanism to both import new items into the Public List and also detecting existing items for performing updates.
Using the Excel Add-in:
Deploy Excel Add-in to selected users who will be importing data from Excel to SharePoint
Brief Description This add-in works with Excel 2007 to allow you to synchronize data in a table with a list on a SharePoint site.
Configure Excel spreadsheets for Publishing and Synchronizing Excel 2007 Tables to SharePoint Lists
Summary: In Microsoft Office Excel 2007, the ability to synchronize the data between a table and a list in Microsoft Windows SharePoint Services is deprecated. This article describes an add-in that enables you to update the information in a SharePoint list from Excel 2007.
Important considerations when using the Excel Add-in.
- Create your custom “Import List” directly from the Add-in using the Publish and allow sync command in the Table Tools-Design tab of your Excel spreadsheet provided by the Excel Add-in. You can add your own fields to the Import List later and synchronize with Excel.
Think carefully about what fields you want as required fields and the desired order in your spreadsheet before provisioning the Import List since the field order is difficult to re-arrange once the Excel spreadsheet is connected to SharePoint.
- Take advantage of the ability for the Excel spreadsheet to incorporate pick-lists from the columns in your SharePoint Import list.
- There is a limit of 6 fields if I remember correctly and you are not able to provide for multiple selections but very usefull for maintaining data consistancy and case where selecting users from AD would be usefull.
- A common confusion I have seen on MSDN for users implementing the add-in is the Publish and allow Sync command in the Excel toolbar. Some users attempt to select this command to sync the data with SharePoint. This command is only used to provision the initial list in SharePoint bound to the Excel table and not used for updates. For updates right-click anywhere on the Excel table and use the additional features added to the context-menu to sync data (see screenshot above)
There are circumstances when users need to continue to use existing Excel spreadsheets and adding each data item to SharePoint individually would be both redundant and time-consuming. Using the Excel Add-in in combination with custom Import Lists and SharePoint Designer workflows provide one mechanism for bulk-uploading data from Excel to SharePoint.