how to fetch json file from DAM and use it in HTL file in JavaScript in AEM as a cloud service
I have an json file located in DAM path .
I want that file to be picked and I am using the content of JSON file to display dropdown
I am able to achieve it in the author instance but I am not able to fetch JSON file in publish instance
Here is the code :