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

How to avoid using dataRef for displaying financial data on AEM page.

Avatar

Level 2

As part of exploring the capabilities of showing financial data on AEM page, I have installed the geometrixx finance package on AEM6.2 and gone through OOTB behavior of adaptive documents and document fragments. Was able to create custom adaptive document templates, custom fragments, drag-drop fragments and adaptive form components on to page from the content finder and side kick. Basically, when the page is accessed by passing a request parameter "dataRef"  whose value is physical path of the xml file residing in CRX (/content/geometrixx-finance-statement-data) and it displays the data based on the binding reference which is like mapping the xml attributes to the components' fields.

I am wondering if AEM supports other alternative approaches get the data from a secured data source (like database) besides CRX. We dont want to see the dataRef parameter in the URL. Please let me know if you guys have any other approaches in supplying the data to the form fragments.

1 Reply

Avatar

Level 10

"I am wondering if AEM supports other alternative approaches get the data from a secured data source (like database) besides CRX"

You can code AEM to get data from any source. For example, you can use dependency injection and a DataSourcePool to pull data from a relational database. 

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

Hope this helps