SharePoint Airdrop
The SharePoint Airdrop simplifies migration from SharePoint to DevRev, supporting both one-time imports and ongoing syncs.
Setting up the SharePoint connection
To configure the SharePoint connection, you need to use OAuth authentication.
Supported objects
The following is a list of SharePoint objects and their corresponding DevRev equivalents. Those marked as Sync to DevRev are eligible for import from SharePoint to DevRev.
Importing from SharePoint
Follow the steps below to import from SharePoint:
- Go to Marketplace and search for SharePoint in the Airdrop category and install.
- In the snap-in config modal, click Install then go to the Airdrop section in your settings left nav.
- Click +Import and select the SharePoint logo.
- Create a new OAuth connection to your SharePoint account, or use an existing connection if you already have one.
- Once the connection is established, select the SharePoint site you want to import and specify the DevRev part that should be used for any imported content. This initiates a bulk import of the selected site.
- DevRev makes an effort to automatically map the content types from SharePoint to the corresponding types in DevRev. Different page types are handled as follows:
- Wiki pages: The actual content is extracted and displayed as articles.
- Site pages, Web part pages, Spaces: URLs are provided to access the original content.
The duration of the import depends on the size of the SharePoint site and the data being imported. It can take seconds for a site with only a few dozen pages to a few hours for a site with tens of thousands of items with many attachments. DevRev honors the SharePoint API rate limits and back-off and resumes automatically.
Post import options
After a successful import, you have the following options available for the imported site:
-
Sync to DevRev
This option allows you to synchronize any modifications made in SharePoint with the corresponding items previously imported into DevRev. It also creates new items in DevRev for any new content added to SharePoint after the last sync or import. -
View Report
This option allows you to access detailed information about the initial import and any subsequent syncs performed. -
Delete Import
If you want to remove the import and all items that were imported from SharePoint into DevRev, you can use this option. -
Edit Connection
Use this option to change the connection used for any subsequent actions. It can be helpful if a connection becomes inactive or the user who established it is no longer available.
Sync to DevRev
After a successful import from a SharePoint site, you can choose to sync the imported data with DevRev. This feature airdrops any new pages, libraries, attachments, and users, and any changes made to previously imported items from SharePoint.
To perform a one-time sync to DevRev, follow these steps:
- Go to Settings > Integrations > Airdrops.
- Locate the previously imported site.
- Select the ⇆ > ⇾ From SharePoint to DevRev option.
A one-time sync may overwrite fields in previously imported items, even if they were modified in DevRev.
Historical Airdrops
To view currently running and previous Airdrops from various sources, do the following:
- Go to Settings > Integrations > Airdrops.
- Select the import you want to view.
- Click on the context menu (⋮) and select View Report.
Periodic sync
After successfully importing to DevRev, you have the option to enable a periodic sync. This allows for automatic synchronization with DevRev on a regular basis. By default, the sync occurs once an hour.
To configure periodic sync, follow these steps:
- Go to Settings > Integrations > Airdrops.
- Locate the previously imported project.
- Select the ⇆ > Set Periodic Sync option.
The Enable automations for synced items setting is optional and can be activated during periodic sync configuration. When enabled, newly created or updated items trigger events, which can initiate webhooks, notifications, Snap-ins, and other processes, as if the events originated directly in DevRev.
If this setting is disabled, updates will not trigger any event-driven processes. This behavior applies only to periodic syncs; no events are triggered during a first-time import or manual sync to or from DevRev.
Delete import
This deletes any content created by the import, including users and works.
An import and all the content it creates can be deleted from DevRev. This can be useful when running POCs or to change the recipe used during the import. Once an import has been deleted, all the content it created gets deleted, even if they were modified in DevRev. It's possible to import the project again after its deletion.
To delete an import and all the content it created, go to Settings > Integrations > Airdrops, find the previously imported project, and select ⋮ > Delete Import.