Prefilling forms with values from another entity

0
I want to build a “template” (form) that a user can fill-out. The form elements (e.g. textarea / textbox) should be prefilled with values from another entity (value entity). The “value entity” contains “default” values that are loaded into the “template” form. The user can then accept or edit the “template ”form it has to save to the form entity and not affecting the value entity containing the default values.  Thanks in advance!
asked
2 answers
0

Call from a page a microflow microflow that 

  1. retrieves the value entity with the default values
  2. create a new object (your template) and fill it with the values from the object that you have just retrieved.
  3. Shows a page in which you pass the object of the template.
answered
0

He Andrew,

You can achieve this in a Microflow that is called on opening the template by the user. In the Microflow, you can create a new instance of the template object, retrieve the value entity that holds the default values and copy those values to the newly created template object. And then open a page for the template with the newly created template object as the context.

answered