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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

File Upload event on Dependencies.xml file upload

ashishtamhane
8-Gravel

File Upload event on Dependencies.xml file upload

Hi!

Is there any event that triggers when the Dependencies.xml file is uploaded by the Axeda Agent upon service restart? I have a use case is to trigger an SCM download based on the content of the Dependencies.xml file. I am thinking I can hook up a subscription based on an event that should get fired upon the file upload. Could you please point me towards one.

 

Thanks,

Ashish Tamhane

1 ACCEPTED SOLUTION

Accepted Solutions
nmutter
14-Alexandrite
(To:ashishtamhane)

You'll need to add a FileTransfer subscription and validate if the FileTransfer is finished (eventData.isComplete) and if it contains the mentioned file (eventData.metadata). And then extract and parse the uploaded .xml file for you needed logic.

View solution in original post

1 REPLY 1
nmutter
14-Alexandrite
(To:ashishtamhane)

You'll need to add a FileTransfer subscription and validate if the FileTransfer is finished (eventData.isComplete) and if it contains the mentioned file (eventData.metadata). And then extract and parse the uploaded .xml file for you needed logic.

Top Tags