Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Binding not allowing to save subform instances

Avatar

Level 1

I am working on a customer requirement where I am designing
an Interactive Dynamic form to be filled offline.

I have couple of Subforms and an Add button. When an Add button is clicked

I have to add an instance of the subform.

I have added the script for the add button on click event. I
am able to add n number of  new instances, fill the data and save the
form. However, when I open the form again somehow the instances disappear. It’s
not getting saved. It’s a 2 page form and it seems it only retains 2 pages.

I have attached .xdp file and a sample pdf.

https://mdocs.sap.com/mcm/public/v1/open?shr=VCJW8EBd8AANk5D1ZoKF_5K2_7CQG_noUyHojaVpaf8

1 Accepted Solution

Avatar

Correct answer by
Level 10

Your subform „KRAKPISelection“ has no binding. That's why there is no related data being created in the data section of the form and so it cannot be restored when the form is reopened the next time.

1161303_pastedImage_0.png

Change the binding itto „Use Name (…)“ or the a related node in you data connection „ZAF_HAP_PDF_OFFLINE_FORM“. If you don't have a data connection anymore, remove the data connection settings.

1161304_pastedImage_2.png

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Your subform „KRAKPISelection“ has no binding. That's why there is no related data being created in the data section of the form and so it cannot be restored when the form is reopened the next time.

1161303_pastedImage_0.png

Change the binding itto „Use Name (…)“ or the a related node in you data connection „ZAF_HAP_PDF_OFFLINE_FORM“. If you don't have a data connection anymore, remove the data connection settings.

1161304_pastedImage_2.png