Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Data Dictionary implementation

jakej40603950
Level 5
Level 5

As per this document on data dictionary, it's used to add data from backend sources into an adaptive document.:

https://helpx.adobe.com/aem-forms/6-1/data-dictionary.html

But there's no mention of how it does this. Is it through OSGI services? Also can it accept input parameters? 

Is there any link that expounds more on this?

Thanks. Sort of posted this in another thread but it was meant for a different question.

1 Accepted Solution
rjjoshi
Correct answer by
Employee
Employee

Please check the documentation

https://helpx.adobe.com/aem-forms/6-1/adaptive-document.html

which explains how user can add a argument &dataRef=<xml data path> in the AD authoring or preview URL.

This xml data is based on the Data Dictionary which is used for creating AD.

 

Also, the following documentation mentions supported protocol that can be used to for pre-populating user data using dataRef argument :

https://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html

View solution in original post

4 Replies
workflowuser
Employee
Employee

Data Dictionary is used in Correspondence Management for generating notices and letters. Adaptive Documents are based on Correspondence management letter templates. Now coming to your question of DD- DD provide a way to map your xml data elements with your data structure that is consumed  by CM.Customers typically would provide the xml data that is consumed by CM

jakej40603950
Level 5
Level 5

Thanks for the answer.

So are static xmls the only way to feed data into data dictionaries? No way to get them from osgi / web service?

rjjoshi
Correct answer by
Employee
Employee

Please check the documentation

https://helpx.adobe.com/aem-forms/6-1/adaptive-document.html

which explains how user can add a argument &dataRef=<xml data path> in the AD authoring or preview URL.

This xml data is based on the Data Dictionary which is used for creating AD.

 

Also, the following documentation mentions supported protocol that can be used to for pre-populating user data using dataRef argument :

https://helpx.adobe.com/aem-forms/6/prepopulate-adaptive-form-fields.html

View solution in original post

nitinn18425437
Level 2
Level 2

Hi,

In order to provide dynamic data xml in 6.1 to Adaptive Document we can create a servlet or JSP which can forward request to Adaptive Document. While forwarding we can set dataRef dynamically.

Also, in 6.2 there is an OOTB support to provide data xml using OSGi services.

Thanks

Nitin