Skip to main content

Hello,

I'm relatively new to using FME and have been tasked with synchronizing a local folder and it's subfolders with Sharepoint. I have installed and configured the FME SharepointOnlineConnector and it is successfully synchronizing the contents of the folder and it's subfolders to Sharepoint in its default configuration.

 

The only issue I'm having is there are some .xml files that are present in these folders that I do not want to synchronize. Does the connector provide any means of white or blacklisting specific file types from being uploaded? If not, does anyone have any suggestions on how this would be best accomplished?

 

The section titled "Clean up your SharePoint Documents" in the following link would allow me to delete the unneeded files after the load, however this is not ideal as it would mean the files are unnecessarily created and deleted on every load.

https://community.safe.com/s/article/Reading-and-Writing-SharePoint-Libraries-with-FME

 

Ideally I would be able to filter these out as part of the upload action.

 

Thank you.

Not sure how you select the files for upload, but when I do this I use a Directory and File Pathnames FeatureReader to scan a directory, then use a tester to select or unselect the features with wanted or unwanted extensions and only send the ones I need to the SharepointOnlineConnector for upload.


Thanks for the suggestion, this approach seems like it could work as long as you are working with a predefined set of folders. I'm not sure how it would work if you had an unknown set of subfolders that require creation in Sharepoint. One nice thing about the SharePointOnlineConnector Upload Action is that if will automatically handle the creation of the subfolders for you.


I'm not sure I understand your current workflow. Can you share (a part) of you yourkspace or post a printscreen?


Reply