Expand my Community achievements bar.

saving of one instance where inside there is another instance

Avatar

Level 4

hello I have the following problem for saving instances.

I have attached an XDP file that has this structure:

root subform (sub_work)

which has built other subform (sub_head, sub_job, sub_impiego, sub_save, sub_messaggio)

only for sub_impiego can create additional instances using the + button

up here and I have no problems .

The moment I want to save the entire section completed (sub_work), through the click of the save button, I can not save the created instances of sub_impiego

I can only save the subform designed

how can I save the entire sub_work with all sub subform created (sub_impiego)??

https://acrobat.com/#d=MC4RBey7lPBoZjKBqZepnw

7 Replies

Avatar

Level 10

The attached document was not accessible.. Probably try Publish and paste the link..

In the Form Properties, default tab, check whether the  "Preserve changes to form when Saved" option is set to Automatically..

Thanks

Srini

Avatar

Level 5

Not sure what you are trying to do here. You are saving sub_work to which location? Or are you trying to copy the subforms? All I can see in your code is that you are loading new xml when clicking the save button.

Avatar

Level 4

I would like to save all sub_work with sub_impiego inside, I create new tags within xml to pdf because there xml schema

Avatar

Level 4

Hello I may have solved the method I used insertInstance

If you want to improve code is the pdf attached

https://acrobat.com/#d=RXpxfxb97GUw1IPwuzzGtQ