Question

Getting last modified date on files in folder contents

  • 29 January 2024
  • 1 reply
  • 38 views

Badge +2

Hello Team,

 

We have two questions:

1- We have a team Lucid Folder that we want to watch (export any document that gets newly created or gets modified). Is there a mechanism to set-up event/trigger if that folder is updated?

2- When we query folder-contents, we receive list of all documents within a folder. Can we get their last updated timestamp?

 

Thank you


Comments

Userlevel 4
Badge +7

Hi @ufarr , thank you for contributing to the Lucid for Developers Community!

 

While there isn’t a direct way for detecting changes to documents in a particular folder, this can still be accomplished by parsing each document ID returned from the List Folder Contents endpointParse each docID in the Folder Content resource to retrieve the corresponding Document resources containing information about each document (including the created and lastModified timestamps). 

 

Please let us know if you have any further questions or concerns. We’re here to help!

Reply