Scripts are not loading when multiple components are added on the page
Hi All,
We had designed a component to generate dynamic script values based on the author inputs to display ads on the page.So , on adding multiple AD components , script results are showing up only in the last component added on the page. Eventhough ID is unique to each component ,response is not shown in all the components added .Could you please suggest ways to fix this issue.
Used ${resource.path.hashCode} to generate the unique ID in each component.
id="testcontainer${resource.path.hashCode}
Thanks in Advance!