Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

How can we read <cq .... data-config="..." .....> value?

Avatar

Level 2

Below is the cq tag generated and visible in Author preview mode, I am wondering if it's possible to read the cq data-config property?

<div>

.......

.......

<cq data-path="/....." data-config="{"path":"/content/launches/2018/03/06/dadmin_-_launch_1/content/company/en/business/smart/creative/ca-page-4/jcr:content/par/productgrid/tradingcellreference_1567195840","slingPath":"/content/launches/2018/03/06/dadmin_-_launch_1/content/company/en/business/smart/creative/ca-page-4/jcr:content/par/productgrid/tradingcellreference_1567195840.html","dialog":"/apps/company/components/content/tradingcontent/reference/tradingcellreference/cq:dialog","dialogLoadingMode":"auto","dialogLayout":"auto","dialogSrc":"/mnt/override/apps/company/components/content/tradingcontent/reference/tradingcellreference/_cq_dialog.html/content/launches/2018/03/06/dadmin_-_launch_1/content/company/en/business/smart/creative/ca-page-4/jcr:content/par/productgrid/tradingcellreference_1567195840","type":"company/components/content/tradingcontent/reference/tradingcellreference","editConfig":{"listeners":{"afteredit":"REFRESH_PAGE"}}.........

.........

</cq>

.......

.......

</div>

0 Replies