cancel
Showing results for 
Search instead for 
Did you mean: 

Context - adding elements dynamically?

Former Member
0 Kudos

My Context looks like this:


  MAIN 1:n
    FORM_DATA 1:1

Where FORM_DATA is a deep structure(including tables) that represents 1 Project.

My main objective is to append multiple instances of FORM_DATA into my MAIN so i can pass MAIN to by Adobe UI element.

I am filling FORM_DATA from a webservice but am having trouble binding it back to MAIN, then creating a new instance of FORM_DATA to populate and bind back to MAIN.

any help?

thanks,

rp.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

FORM_DATA is a deep structure then how can you give the cardinality 1:1 which cannot store the Internal table data etc.

Regards,

Lekha.

Former Member
0 Kudos

good point - I was thinking I needed only 1 node of FORM_DATA at a time not realizing that if I had tables underneath, I had to have 1:n

Former Member
0 Kudos

any direction on how to append multipl instances of FORM_DATA into MAIN?

Answers (1)

Answers (1)

Former Member
0 Kudos

we accomplished this by dynamically adding elements using create_element method for everytime we looped on a new project number