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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to get End Date information for Uploaded Files

ptc-4668818
12-Amethyst

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?

ACCEPTED SOLUTION

Accepted Solutions
ckaminski
14-Alexandrite
(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
14-Alexandrite
(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
14-Alexandrite
(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.

Announcements


Top Tags