cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Conditional Constarints in Type and Attribute Manager

vuchekar
10-Marble

Conditional Constarints in Type and Attribute Manager

Hi All,

Here is my requirement,

I have 2 Attributes on Document, i.e. Level A and Level B. level A is Boolean type attribute and Level B is String type.

 

we need a behavior like, when Level A is true then Level B must be mandatory attribute and if Level A is false then Level B is normal attribute or grayed out attribute.

 

while doing this i am exploring "Conditional Constraints" in type and attribute manager, where we can choose a Driver attribute on that basis it will render driven attribute, but my difficulty is that in this case, i am able to select Driver attribute, but not able to set behavior of driven attribute.

 

Please check attached Image. and let me know how i can save information

 

Conditional Constraints.jpg

 

 

 

 

1 REPLY 1

Hi @vuchekar,

If this is 10.2 or earlier then this can be achieved using JavaScript call in Data Utility.

May be you can refer to: https://community.ptc.com/t5/Windchill-Questions/Dynamic-Drop-down-list-in-Windchill/m-p/541597

 

Similar to:

comboBox.addJsAction("onChange", "<yourJSAction(this)");

Regards,

Shirish

Announcements

Top Tags