Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

confused about binding of "none"

Avatar

Former Community Member

I have an XDP that has a schema embeded. My understanding was that the generated PDF would only save data from fields that are bound to items in the schema. Now I find that fields with a binding of "none" are saving their data (although the saved data doesn't show up in exported XML). Has the beheaviour changed with Reader versions? Back in the days of Reader version 7, I'm sure that it only saved data if the fields were bound to a schema (or if there was no schema, you could use "normal" binding.

2 Replies

Avatar

Level 5

In my opinion will all fields appear in the xml. If you give a databinding the value will appear on the right place. If you give no binding it will appear on the end of the xml in a unnamed area like an attachment.

Please try this for example in the exit-event:

xfa.resolveNode("this").bind.match = "none";

Kind regards Mandy

Avatar

Former Community Member

The fields dont appear in the exported XML, only the fields bound to the XSD schema nodes. However, as stated, the values entered in the fields that have a binding of "none" save the entered values between closing and opening forms.