Document Of Record missing in form submission payload | Community
Skip to main content
April 3, 2024
Question

Document Of Record missing in form submission payload

  • April 3, 2024
  • 1 reply
  • 567 views

We are using a form data model to bind fields to both the submission and the automatically generated document of record. However when it comes to submitting the forms to an endpoint the resulting payload does not include the generated DoR file alongside the JSON form data.

 

When configuring the guide container for a form you can specify what you would like to submit alongside the form fields which have been bound to a form data model. In this example we are trying to submit the Document of Record alongside our form. This requires a DoR bind Reference to be configured, however, this is unclear as to what should be selected here. Binding to our top level model object causes an error which says 'Selected ref must of simple type'. Binding it to a string property does not produce a DoR within the form submission payload. 

 

Does anyone have any thoughts/suggestions for solving this issue?

Context: AEMaaCS

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

April 11, 2024

Thanks, @vijay_katoch I followed this guide but it is still missing clarification on the DOR bind reference. I have attached a screenshot of the error message that I am getting. I am trying to map the Document of Record to the Object of the same name in the form data model but it does not seem to like it. Any further tips?