cancel
Showing results for 
Search instead for 
Did you mean: 

Context defining?

Former Member
0 Kudos

hi

I am using only using value attribute in my context.I have not used any value node for my value attribute.What problem i can face in fututre as i will accessing data thru backend?What is advantage of defining Value Node?

What is the concept of cardianality?Please explain me ?

Regards,

Nidhideep

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

The node is used to store the set of values.with the use of node you can create the UI elements like Table, Dropdown etc..

For cardinality See the thread

Kind Regards

Mukesh

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Value Attribute is having the value in a single attribute.

Value Node is having multiple value in a single attribute.

To have multiple values we have to cteate elements for that node and each elements will have each values set with that attribute.

Code to create element and set values to it:

IPrivate<view name>.I<node name>Element element = wdContext.node<node name>().create<node name>Element();
wdContext.node<node name>().addElement(element);
element.set<Attribute>();

Cardinality:

It defines the no of elements in the node.

for 1:1 or 1:n one element is already created and u can set the values directly.

For 0:1 or 0:n we have to create the element and then set the values.

Regards,

Vijayakhanna Raman

Former Member
0 Kudos
Former Member
0 Kudos