Access to File.Modified and File.Created

Started by kkae, August 05, 2017, 09:56:03 PM

Previous topic - Next topic

kkae

How can I get the two Windows file fates File.Modified and File.Created in IMWS.get('v1//files'  function call ?

Jingo

#1
These values are not provided as part of the standard /files so you need to identify the exif values and grab them into variables... something like this should work:

var params = {
                        idlist: IMatch.idlist.fileWindowSelection,
                        fields: 'id',
                        tagmodify: 'File.MD.XMP::xmp\\ModifyDate\\ModifyDate\\0',
                        tagcreate: 'File.MD.XMP::xmp\\CreateDate\\CreateDate\\0'
                    }

IMWS.get('v1/files',params).then(function(response)
                   {... code here .....}

good luck!

Mario

#2
This information is currently not available via /files.
I will add that for the next release. See https://www.photools.com/customer_portal/index.html#/relnotes
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook