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

How to get End Date information for Uploaded Files

SOLVED
Level 1

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

Re: How to get End Date information for Uploaded Files

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

4 REPLIES 4

Re: How to get End Date information for Uploaded Files

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

Re: How to get End Date information for Uploaded Files

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

Highlighted

Re: How to get End Date information for Uploaded Files

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

Re: How to get End Date information for Uploaded Files

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