Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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?
Solved! Go to Solution.
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
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?
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.