Skip to main content
12-Amethyst
June 22, 2026
Question

Windchill ESI - WTPart Publish through Code

  • June 22, 2026
  • 0 replies
  • 4 views

We have a requirement to send certain WTPart data from Windchill to ERP using ESI, specifically for parts that are created on a given day.

The idea is to pick up all parts created on that day (they will still be in an unreleased state) and send them to ESI so that the XML gets generated. Later, once the parts go through the normal change/release process, the updated data will be published again.

My plan is to write a custom piece of code that runs on a schedule (maybe a nightly job). It would:

  • Query all WTParts created on that day
  • Loop through them
  • Send them to ESI programmatically

Before going ahead, I wanted to check if anyone has already done something similar — mainly:

  • Triggering ESI publish via code (instead of using the UI “Send to Distribution Target”)
  • Generating ESI XML for parts using this approach

Any pointers on the recommended API or approach would be helpful.