Setting value on editable data page from a section
I have a editable data page which has some customer information. The customer may wish to change the email or address in his details.
In Work class I have a page property .CustomerDetails which refers to the data page D_CustomerDetails of class myOrg-FW-Data-CustomerDetails.
The data page and the property are loaded on initial screen where user provides a customerid.
In the flow action I am using a section 'EditCustomerDetails' which is in class myOrg-FW-Data-CustomerDetails.
In the flow action form if I use option 'Use Clipboard Page', mention the page name as .CustomerDetails, then the data edited on section is saved in the data page as well as the property which references it.
But if I use 'Use Data Page' option, mention the correct parameters, then the data is not loaded in the reference property or the data page. Can someone please explain this behavior? Is it not recommended to use 'Use data page' option in flow action if we want to make the section editable.
The data page is actually editable and I want to save the edited information back in db. My actual issue in in flow action I can use the 'Use Current Page context' option and then use a property but can not mention data page directly. Why it is so?