Skip to main content
1-Visitor
September 2, 2013
Question

Windchill 10.1 custom Javascript function not working

  • September 2, 2013
  • 5 replies
  • 1729 views

Guys,


I understood that Windchill10 wizard pages are no more like Windchill9.x JCA pages.


But as per req, I need to work on following operation.


User enters the IBA attribute value in the CreatePart wizard and clicking on Finish. After that a javascript function should show the entered attribute value in the Javascript function - confirm dialogue box.


How this can be done...


5 replies

Rajesh_A1-VisitorAuthor
1-Visitor
September 2, 2013



In Reply to Rajesh R:



Guys,


I understood that Windchill10 wizard pages are no more like Windchill9.x JCA pages.


But as per req, I need to work on following operation.


User enters the IBA attribute value in the CreatePart wizard and clicking on Finish. After that a javascript function should show the entered attribute value in the Javascript function - confirm dialogue box.


How this can be done...


Please move to correct appropriate forum place, if current forum place is incorrect.



Thanks in advance...


1-Visitor
September 2, 2013
Have you consulted the PTC JavaScript object and its documentation made
available by PTC or look at customizer's guide?






Rajesh_A1-VisitorAuthor
1-Visitor
September 2, 2013

I looked into Customizer guide, it explained about classification attribute in the PartHelper.js file.


But I need to work on the IBA attribute, to show the value entered by user in the CreatePart wizard.


Can you please provide more info if you have...


Thanks...

1-Visitor
September 3, 2013
hi,

for this kind of tasks I wrote a utility that uses aspectj to capture the output of any datautility, and insert extra
html (incl. arbitrary javascript) before/instead/after the component.
can alter the input, insert checks and e.g. create selects that change each others options.

one possible solution to this requirement 😉

hth, martin

4-Participant
September 4, 2013
Hi Rajesh

Override the submit() function and add the business logic.
refer ootb submit() javascript function in main.js file.