Skip to main content
Jul 13, 2020 11:14 AM UTC
Solved

How to Get Last Created file from SystemRepository ?

I have created zip files on SystemRepository as a backup. Is there any way to get last created file or Folder ?

I see there is Last modified date on Mashup but not sure how to utilize that to get last created file. Attached Screenshot of Files.

 

 

khayes1Answer
Jul 13, 2020 12:01 PM UTC

some of the file repository services (e.g. GetFileListing() ) return a shape which has a 'lastModifiedDate' property.

You could sort your info table based on this property and select the appropriate entry.

2 replies

khayes1Answer
Jul 13, 2020 12:01 PM UTC

some of the file repository services (e.g. GetFileListing() ) return a shape which has a 'lastModifiedDate' property.

You could sort your info table based on this property and select the appropriate entry.

Jul 20, 2020 6:43 PM UTC

Hi @SwapnilP.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Thank you for participating in our community!

 

Regards.

 

--Sharon