Skip to main content
12-Amethyst
May 5, 2026
Solved

Which event at loading a representation in Windchill?

  • May 5, 2026
  • 3 replies
  • 64 views

We would like to “react” to the loading of PDF representation on drawings (EPMDocument). The loading is done via the RepHelper  from Windchill Vieable Service in a separated process. 

Which event in Windchill should we listen at ? 

I thought ContentServiceEvent.POST_UPLOAD could be a good candidate, but i could not see it triggered during the load.

Best answer by lmouchard

Thanks a lot for your hints @TDT

I didn’t get the PublishServiceEvent.PUBLISH_SUCCESSFUL event on the publication (maybe due to some customization on the server), but I could worked with the ContentServiceEvent.POST_UPLOAD

3 replies

17-Peridot
May 6, 2026

Hi ​@lmouchard,

Could you please clarify the use case?
Why is there a need to listen during the loading of a representation?

lmouchard12-AmethystAuthor
12-Amethyst
May 6, 2026

Hi ​@TDT, we would like to transfer this PDF representations to ERP for specific status. The user could then access them from the plant.

17-Peridot
May 6, 2026

In that case, you should be able to trigger it based on specific criteria whenever the publishing is successful. Alternatively, this may also be achievable through an EDR Loader.
Could you please clarify what you mean by “loading of representation”?

17-Peridot
May 6, 2026

Hi ​@lmouchard,

The PDF file is generated as part of the publishing process, during the conversion of the heavyweight model to a lightweight representation through CAD Workers.
You can always access the Representation PDF either through a Publish Success Listener or by using an EDR Loader.

lmouchard12-AmethystAuthor
12-Amethyst
May 6, 2026

Thanks, I’ll have a try with the event PublishServiceEvent.PUBLISH_SUCCESSFULL. I could not really find any documentation about it yet.

17-Peridot
May 6, 2026

You will have access to the Representation through the Publish_SUCCESSFUL event.
From there, you can retrieve all the relevant information related to the Representation.

Community Moderator
June 1, 2026

Hi ​@lmouchard,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,
Anurag