Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi,
I have written code which generates a report and downloads the file once an action has been clicked. I want to upload that document to the attachments section of change notice or change activity depending on where that action was triggered from. Is there an API to upload the generated report directly to this section?
Thanks.
Solved! Go to Solution.
@WM_9965332 wrote:
Hi,
I have written code which generates a report and downloads the file once an action has been clicked. I want to upload that document to the attachments section of change notice or change activity depending on where that action was triggered from. Is there an API to upload the generated report directly to this section?
Thanks.
Take a look at this article:
https://www.ptc.com/en/support/article/cs329385
How to create a Change Notice and add attachment to it using API in Windchill PDMLink
@WM_9965332 wrote:
Hi,
I have written code which generates a report and downloads the file once an action has been clicked. I want to upload that document to the attachments section of change notice or change activity depending on where that action was triggered from. Is there an API to upload the generated report directly to this section?
Thanks.
Take a look at this article:
https://www.ptc.com/en/support/article/cs329385
How to create a Change Notice and add attachment to it using API in Windchill PDMLink
Thanks for pointing me to this. How can I check if there is already a document in attachments section and override instead of adding to it again?
@WM_9965332 wrote:
Thanks for pointing me to this. How can I check if there is already a document in attachments section and override instead of adding to it again?
Take a look at this article:
https://www.ptc.com/en/support/article/cs237668
How to update Primary Content/Secondary Content of WTDocument with customization code in Windchill PDMLink