cancel
Showing results for 
Search instead for 
Did you mean: 

Enumeration value with space

Former Member
0 Kudos

Hi Experts,

I need to define a enumeration (base type String) field in my data type.

I should restrict the values to 'AS NOTED", "REWORKABLE" and 'NON REWORKABLE".

But in XI the enumeration values are separated by a blank space. When I give these values in the enumeration tab of details in XI, it takes AS and NOTED as two seperate values but I need this together as one value for restriction.

Is there a way to achieve this in XI?

Regards,

Prasad

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

To be more clear, I want to use ':' delimited values rather than space delimited values.

Does XI support ':' delimited values in enumeration?

Regards,

Prasad

Former Member
0 Kudos

Not sure, I've never tried, but you could create the DT, export its XSD, modify the enumeration with an XML editor and then reload it back into XI/PI ?

Rgds

Chris

Former Member
0 Kudos

Hi Chris,

Thanks for your response. I already tried this but didn't work. The moment you import the data type XSD into XI, it treats the space as delimiter and creates an enumeration value.

The only way I could think of overcoming this is to import the XSD of the message type as external

definition. But then we will loose the flexibility of graphical data type editor.

Experts, Any other solution to resolve this problem?

Thanks and regards,

Prasad