Excluding SharePoint Files and Folders from Sync

Prev Next

Sync exclusions keep specific SharePoint files and folders out of GovEagle based on the value of a SharePoint column. For example, you can exclude everything whose Export Control column is set to ITAR or CUI, even when it sits inside a site or folder that GovEagle syncs.

You need a GovEagle Admin account or a role with permission to manage integrations.

How Sync Exclusions Work

A sync exclusion rule has two parts: a SharePoint column and one or more values. GovEagle excludes any file or folder whose column holds one of those values.

  • Rules apply to the whole connection. Every site and document library in the SharePoint connection is checked, for both the Content Library and folders linked through Opportunity Assets.

  • Excluding a folder excludes everything inside it. If a folder matches a rule, its files and subfolders are excluded too, whatever their own column values are.

  • Any match excludes the item. An item is excluded when it matches any value in any rule. You do not need every rule to match.

  • Matching ignores upper and lower case. ITAR and itar are treated as the same value, and the same goes for column names. The value must otherwise match in full: a rule for CUI does not match CUI Basic.

  • Columns are matched by their display name. Use the name shown as the column header in SharePoint.

  • Libraries without the column are unaffected. If a document library does not have the column named in a rule, that rule excludes nothing in that library.

Your SharePoint files are never deleted

Sync exclusions only control what GovEagle holds. GovEagle removes its own copies of excluded content and does not delete, move or change the original files in SharePoint.

Add a Sync Exclusion Rule

  1. Click your profile icon at the bottom left, then go to Settings → Integrations.

  2. On the Microsoft SharePoint connection, click Edit Connection.

  3. Under Sync exclusions, click Add rule.

  4. In the first field, choose the SharePoint column. GovEagle lists the columns it finds in the connection's document libraries. If your column is not listed, type its name and select Use "[your text]".

  5. In the second field, choose one or more values. For a Choice column, GovEagle lists the column's choices. For any other column, type each value and select Use "[your text]".

  6. To exclude on another column, click Add rule again.

  7. Click Save Changes.

Saving starts a sync of the connection straight away. GovEagle confirms with the message Sync exclusions saved. Resyncing SharePoint…

For a Yes/No column, use the value Yes or No.

What Happens After You Save

  • Content already in GovEagle is removed. Files and folders that match a rule are removed from the Content Library and from Opportunity Assets when the sync processes them.

  • New matching content is never brought in. Files tagged before they are first synced do not enter GovEagle.

  • Excluded files are not downloaded. GovEagle keeps only the information it needs to recognise the item, such as its name and location.

  • Tagging a file later excludes it. When someone sets an excluded value on a file or folder in SharePoint, GovEagle removes it at the next sync.

  • Removing the tag brings it back. When the value is cleared or changed in SharePoint, or the item is moved out of an excluded folder, GovEagle syncs it again at the next sync.

  • A linked opportunity folder stays linked. If the folder linked to an opportunity is itself excluded, the source remains on the opportunity's Assets tab with no files, and fills again once the tag is removed.

Content Library sites sync every night. To apply a change in SharePoint sooner, click Resync Files and Folders on the connection under Settings → Integrations.

Files added in GovEagle to an excluded folder

If a folder linked through Opportunity Assets becomes excluded, files that were added to it in GovEagle and have not yet reached SharePoint are removed from GovEagle and are not uploaded. Move or upload those files in SharePoint directly if you still need them.

Check What Was Excluded

Open Edit Connection again after the sync finishes. Under your rules, GovEagle shows a summary such as 12 files excluded across 3 libraries as of their last sync.

  • The summary counts only libraries that have synced since you last changed the rules. A library that has not synced yet is left out until it does.

  • If no summary appears, no library has finished syncing with the current rules yet.

Change or Remove a Rule

  1. Go to Settings → Integrations and click Edit Connection on the SharePoint connection.

  2. Under Sync exclusions, change the column or values, or click the trash icon to remove a rule.

  3. Click Save Changes.

Saving starts a sync. Content that no longer matches any rule is synced back into GovEagle.

If you close the dialog with unsaved changes, GovEagle asks whether to discard them or keep editing.

Limits

  • Up to 50 rules per connection.

  • Up to 100 values per rule.

  • Column names and values can be up to 255 characters each.

  • Rules can only exclude content. There is no rule type that syncs only content with a given value.

FAQ

Do sync exclusions replace choosing sites, libraries and folders?

No. Use Manage Content Library Sync to choose which sites, document libraries and folders are synced. Sync exclusions then remove individual files and folders from within that selection. See Connecting SharePoint to GovEagle.

Do the rules apply to folders linked to an opportunity?

Yes. Rules apply to every site in the connection, including folders linked through Opportunity Assets.

I have more than one SharePoint connection. Do the rules carry over?

No. Each connection has its own rules. Add them on every connection that needs them.

Does the column need to be synced as a SharePoint tag?

No. Sync exclusions read the column directly from SharePoint and are separate from SharePoint metadata tags.

What if the column is renamed in SharePoint?

Rules match the column's display name. If the column is renamed, update the rule to the new name. Until you do, the rule excludes nothing and content it used to exclude is synced again at the next sync.

A file I expected to be excluded is still in GovEagle. What should I check?

  • Confirm the sync has finished since the rule was saved or the file was tagged.

  • Confirm the rule's column name matches the column header in that document library.

  • Confirm the file's value matches a rule value in full, not just in part.

  • Confirm the document library has the column. Libraries without it are not affected by the rule.

Need help?

For questions about sync exclusions, contact your GovEagle Customer Success team or email support@goveagle.com.