Skip to main content
6-Contributor
May 31, 2024
Question

API to create Package with Configuration Rules

  • May 31, 2024
  • 2 replies
  • 1108 views

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.17

Hello,
I'm creating a Windchill utility to automate Package creation (I've a lot to do). I'm starting by used sample code describe in CS374024, works fine after litle change (specialy about Recipeient and Sender + added some comments). The only remian think that I needs is to apply "Rule Configure" in the UI (see attached file). I will join my sample code (this the issue or bad definition is between line 188 - 200.

Here are the errors that I faced
No error message, just don't works as expected and no JavaDoc found

2 replies

1-Visitor
June 5, 2024

Hello,

the lack of error messages suggests a logical error in your code, likely within lines 188-200, related to interacting with the "Rule Configure" UI element. Debug by stepping through your code, adding logging statements, and checking dependencies. Remember to avoid hardcoding and use dynamic UI element identification for a more robust solution.

18-Opal
June 7, 2024

Hello regisDESIRE,

Was the information provided helpful ?

KR,

Charles.