Skip to main content
10-Marble
April 14, 2025
Question

How to add custom HTML and JavaScript to my Windchill Action button

  • April 14, 2025
  • 1 reply
  • 634 views

Hello Everyone,

I am trying to add custom html and js scripts to my Windchill UI components. To be specific I have a custom action button in more parts action drop-down menu (image attached). I want to customize its html and add some JS scripts which are to be triggered on click. 

From my knowledge PTC's official customization guide does not cover such UI customizations, but I have seen others on this forum make some implementations. Any guidance regarding this will be appreciated. 

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
April 15, 2025

Hi @saood 

Try to use beforeJS definition in the customAction.xml file. It works for a wizard, it can work for a button. 

Windchill Client Architecture Wizard

PetrH