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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to Get Last Created file from SystemRepository ?

SwapnilP
12-Amethyst

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.

 

 

ACCEPTED SOLUTION

Accepted Solutions
khayes1
15-Moonstone
(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
15-Moonstone
(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

Announcements


Top Tags