Skip to main content
8-Gravel
August 6, 2021
Question

External Attributes: Dynamic Drop down list in Windchill

  • August 6, 2021
  • 2 replies
  • 1843 views

I am unable to use the Cascading Attributes functionality in 11.1 M020 because both of my attributes (ex: attribute1 & attribute2) are to be read from a list in a property file on the file system.

 

I have an attribute1 that generates a pull down list of selections using a ComboxBox. Based on the selection for attribute1, I would like to dynamically update the pulldown list of values available for attribute2.

 

I have looked at:
CS138327 (returns an enumeration list but I don't see a way to relate attribute2 to attribute1's value)
CS226468 (only returns a string, so unable to create a pull down list)

 

I have tried using a ComboBox and the addJsAction method but it looks like this will not work in 11.1. Any ideas on how one would go about implementing this in 11.1?

 

Thanks for your time.
Troy

2 replies

1-Visitor
August 6, 2021

Hi Troy,

 

By experience (from 10.2), you'll have to implement a data utility with an "onChange" Javascript action that would trigger a custom Javascript code.

But there may be a better way to achieve this now...

 

From my understanding the BusinessAlgorithm is only for display usage.

 

 

5-Regular Member
April 7, 2022

Hi Troy,

 

Were you able to find a solution for this?  I have a very similar use case that I'm looking into right now.

 

Thanks,

Zach