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

We are happy to announce the new Windchill Customization board! Learn more.

Using special character like & in resourceInfo file

arajagopal
8-Gravel

Using special character like & in resourceInfo file

Hi,

Windchill 11.2 may not be recognizing internal value of lifecycle state when internal key is using special character like '&'. Here is the entry from custom StateRB info file.

PUBLISHED_R&D.value=Published R&D

 

Set State operation throws an error.

wt.util.WTInvalidParameterException: No EnumeratedType exists with "wt.lifecycle.State.PUBLISHED_R&D" as its internal value. Nested exception is: java.lang.reflect.InvocationTargetException

 

Trying to figure out whether usage of special character is not supported anymore in rb info file? 

3 REPLIES 3
Florent
14-Alexandrite
(To:arajagopal)

Why not use an internal value without special character ?

PUBLISHED_RD.value=Published R&D

 

This won't impact the users.

Florent ROUSSEL
www.4cad.ca

Thanks. This state value is been used for several years. First time seeing hurdle. 

 

Yes. We are looking an option to replace the internal key or new value. Just want to make sure special character is our problem or something else.

Florent
14-Alexandrite
(To:arajagopal)

You can try to escape the character

PUBLISHED_R\&D.value=Published R&D

 

or substitute with its unicode "\u0026"

PUBLISHED_R\u0026D.value=Published R&D

 

Just ideas, I didn't try.

Florent ROUSSEL
www.4cad.ca
Top Tags