Metadata Query - Search files using "created_at"
Hi. Is there a way to use Metadata Query to search for files using Box generated fields that are associated with a file. I want to filter the files using metadata query using "created_at" datetime field that BOX stores for each file.
-
Hi Agar
The Metadata Query does not support querying the 'file properties' such as created_at, size etc. Only fields that are part of a metadata template created in your enterprise can be queried. See https://developer.box.com/guides/metadata/queries/limitations/
Our standard search API does support this via the 'created_at_range' attribute: https://developer.box.com/reference/get-search/#param-created_at_range
Depending on your exact requirements and how you load data, you could consider populating a metadata field with the created date to allow you to query on it via the query API
Best regards, Peter Christensen, Platform Solutions Engineer, Box
サインインしてコメントを残してください。
コメント
2件のコメント