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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to get End Date information for Uploaded Files

ptc-4668818
1-Newbie

How to get End Date information for Uploaded Files

Note that the UpdloadedFile class in the Axeda Platform v1 SDK only has a Start Date field, but no field for the completion date.  However, there is a column that contains the End date in View All of uploaded files for an asset.  How do I get this information into a custom object groovy script?

1 ACCEPTED SOLUTION

Accepted Solutions
ckaminski
13-Aquamarine
(To:ptc-4668818)

Greetings, John:

    Unfortunately there is no way to get the completion date-time information through the existing API.

Regards,

-Chris Kaminski

PTC/Axeda Customer Support

View solution in original post

4 REPLIES 4
ckaminski
13-Aquamarine
(To:ptc-4668818)

Greetings, John:

    Unfortunately there is no way to get the completion date-time information through the existing API.

Regards,

-Chris Kaminski

PTC/Axeda Customer Support

Can AgentUploadedFile from the V2 API be used with FindAgentUploadedFileResult in a groovy script to retrieve this information using a custom object?

ckaminski
13-Aquamarine
(To:ptc-4668818)

Hello, John:

   Unfortunately, accessing AgentUploadedFile's from the fileInfoBridge was not completed in time for the 6.9 release.  UploadedFile is still the only way to programmatically access files uploaded by the Agent.

    One way to get the time would be to set up a File-based expression rule that records the contents of the "compressedFile" input.  When the expression rule is fired, the files have already been uploaded to the Platform (upload is complete). 

Axeda Groovy Script: Handling uploaded files

Regards,

-Chris Kaminski

PTC/Axeda customer Support

Thanks for the help, Chris.  You provide excellent support, as always.

Top Tags