Enumerations | Community
Skip to main content
New Participant
Aug 2, 2017 5:49 AM UTC

Enumerations

Syntax of Enumeration inside the Schema when we have declared the Enumerations list under the Platform Pallet.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

alnavarg
Level 4
Apr 11, 2023 1:53 PM UTC

In Schema, with the above mentioned enum structure, try the same by replacing the enum attribute as below (defining type as byte)

Try this works very well

 

<enumeration basetype="byte" name="myEnum"> <value label="Yes" name="yes" value="1"/> <value label="No" name="no" value="2"/> </enumeration> <attribute enum="myEnum" label="My Enum" name="abcd" type="byte"/>

 

Translate
florentlb
Level 10
Aug 11, 2017 10:45 AM UTC

Hi Raman,

Can you give more details about what you need?

Thanks,

Florent

Translate
david--garcia
Level 10
Aug 2, 2017 12:04 PM UTC

What is your question exactly?

Translate