cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to Get Last Created file from SystemRepository ?

SwapnilP
11-Garnet

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
khayes1
13-Aquamarine
(To:SwapnilP)

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.

View solution in original post

2 REPLIES 2
khayes1
13-Aquamarine
(To:SwapnilP)

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.

slangley
23-Emerald II
(To:SwapnilP)

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

Top Tags