Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Data Dictionary implementation

Avatar

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

Avatar

Correct answer by
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

Avatar

Employee Advisor

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

Avatar

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?

Avatar

Correct answer by
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

Avatar

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