UPDATE: this seems to actually work, but not as I would expect. It updates the file in the usync/v9/content folder, but on import the item does not get imported. My preference would be that the file does not get created either. Is this how it is supposed to work?
UPDATE 2: Confirming that RulesOnExport works. I added the value on the same level as the exclude value:
I am trying to set an exclude path on the content handler for usync. I can see my configuration changes get updated by looking at appsettings within the usync setting section; but every time I save an item in that path, it still gets written to file. I feel like there must be something wrong with the config, but I cannot see it. I have tried variations with leading and trailing slashes. I was hoping to be able to include a trailing slash so that it would include the committees folder, but not the child items. Any ideas?
By default the exclude rule is only applied on import, there is a further setting you can add called, 'RulesOnExport' if you set that to true... Should stop the file from exporting too!
usync content path exclude
UPDATE: this seems to actually work, but not as I would expect. It updates the file in the usync/v9/content folder, but on import the item does not get imported. My preference would be that the file does not get created either. Is this how it is supposed to work?
UPDATE 2: Confirming that RulesOnExport works. I added the value on the same level as the exclude value:
I am trying to set an exclude path on the content handler for usync. I can see my configuration changes get updated by looking at appsettings within the usync setting section; but every time I save an item in that path, it still gets written to file. I feel like there must be something wrong with the config, but I cannot see it. I have tried variations with leading and trailing slashes. I was hoping to be able to include a trailing slash so that it would include the committees folder, but not the child items. Any ideas?
Hi Jonathan
By default the exclude rule is only applied on import, there is a further setting you can add called, 'RulesOnExport' if you set that to true... Should stop the file from exporting too!
https://usync.readthedocs.io/handler-config/
Regards
Marc
Confirming this works. Thank you!
is working on a reply...