I have a few scenarios where I use watch events to listen for new documents. However now I want to create one to listen for a document added to a specific folder in projects.
Is there any specific way to do this in the watch event directly or would I have to listen for all added documents and then somehow test for whether it lives in that folder?
I don't see anyway to identify the folder a document lives in.
Thanks in advance for your help
Frank
Solved! Go to Solution.
Views
Replies
Total Likes
@CrisDonaldson is correct: There is no event "document added to folder"; folders are just a collection of tags associated with the document.
The problem is you won't get the folders in the event bundle so you'd have to have some means of tracking that collection.
You could
You would have to watch for all documents and then filter based on the folder name or folder ID.
Thank you both for your suggestions. I'm looking into ways of tracking the folder ID's. If I get a solid way to solve this I'll post it.
Views
Replies
Total Likes
@CrisDonaldson is correct: There is no event "document added to folder"; folders are just a collection of tags associated with the document.
The problem is you won't get the folders in the event bundle so you'd have to have some means of tracking that collection.
You could
Views
Likes
Replies