cancel
Showing results for 
Search instead for 
Did you mean: 

How to read Dynamic Attributes of a Context Node

Former Member
0 Kudos

Hi,

I am trying to create dynamic context nodes. The child node elements are dependent on the parent node elements. I am using the method get_static_attributes to get the context node details of the parent.

For a static parent node, the child node is created properly but when the parent node is also created dynamically I am getting an error 'invalid operand type for the move-corresponding statement'

When the parent node is static, data is present in the private attribute 'STATIC_ATTRIBUTES' of the input parameter 'PARENT_ELEMENT' in the supply function for the child context node.

When the parent node is created dynamically, private attribute ' DYNAMIC_ATTRIBUTES' of the input parameter 'PARENT_ELEMENT' in the supply function for the child context node has the data of the parent node. How can we read this data?

Regards,

Sayan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solve it myself.

Instead of reading the attributes as a structure read them individually using method GET_ATTRIBUTE.

We need to pass the name of the attribute, it will give back the value.

Thanks Kumar for ue inputs. The link is very helpful.

Regards,

Sayan

Answers (1)

Answers (1)

former_member186491
Contributor
0 Kudos