cancel
Showing results for 
Search instead for 
Did you mean: 

How to give the length , cardinality and format when creatin a data type?

Former Member
0 Kudos

Hi,

I am new to XI and i wish to know how to give the cardinality ,format and length when creating a data type .Also please let me know how to give the following?

cardinality --repeating and required

non repeating , optional

thanks and regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

When you are defining the elements of the datatype there are columns where you can do what you need:

<b>column type</b>: here you choose the type of data of the element

it can be a standard type or a user defined one (if you click one time only it should appear an icon in the right for input help: click there and choose the type you need)

<b>column occurence </b>: in a similar way of column type here you define the cardinality of the element (min occurence and max occurence)

setting min occurrence: 1, max occurrence 1 or unbounded --> required

mmin occurrence 0, max occurrence 0, 1 or unbounded --> optional

about the attributes there are directly the choice between required or optional.

<b> column details </b>: here you define the length of the element if it is a string or a lot of other things if the type is a different one.

I hope this will help you

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Aakash,

<i>how to give the cardinality</i>

double click on the column "Occurence". give the min and max occurance

<i>format</i>

u get a drop down in the column "Type"

<i>length:</i>

by double click on column "Details"

<i>cardinality --repeating and required:</i>

min occurence: 1, max : n

non repeating , optional

min:0 max: 1

Raghu

Former Member
0 Kudos

Hi

when you create the dat type if you want any field as optional then put its occueence as 0

if you want it as mandatory put its occurence as 1

if you want the occurence as multiple then put occurence as unbounded.

you can also define the length for a particular field value, while defining the field in the length optuion you can define the length.

you can select the type for any field as

string,

date,

integer......n various othres(you can select any from the drop down list)

if you still face the problem please reply me back.

Thanks

Rinku