'Updating href to assets whenever Migration in AEM
Whenever migration doing on that time href not updating to AEM assets . So need to check which dam/asset file have href using property and based on that needs to update href to that asset and navigate to related pdf file.
I have added below code in component to display href link from property .
"${procedureDetails.procedureDetailSteps @CONTEXT ='html' }
"
Here procedureDetails was my model class and procedureDetailSteps was property name . But this above code printing anchor text only and not printing href tag.
My property value :
<ul>
<li>
<a href="/documents/2014-Documents/1st National Bank 193106 FB Grid .pdf" target="_blank">1st National Bank 193106 SOB 2014<br />
</a><br />
</li>
</ul>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
