on 07-10-2012 1:03 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sayan,
You can refer Thomas Jung's Blog -
Thanks.
Kumar Saurav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.