Hi @milind_bachani ,For now we are hitting below servlet manually to add the xml file in dam.http://localhost:4502/bin/microsites/xmlgenarate?sitename=/content/we-retail/us/en/productsI created a service class to generated the searched path via query builder and I have called this particular service...
Hi @arunpatidar ,I have done the same way. I have created a service and called this service in servlet. Do I need to call this service in scheduler as well? Thanks,
Hi All, We have a requirement to execute the sling servlet on the monthly basis. Actually I have added the content path of the sites in xml and updated this in content/dam, here I have used query builder for this and I wanted to execute this particular servlet on the monthly basis to generate the xm...
Thanks @DEBAL_DAS ,I am able to add the all the searched content inside the txt file and added in dam also.But the requirement is changed I need to do the same thing with the xml file instead of txt file. Can you please help me on the above issue. Thanks,Aaqib
Hi @Shashi_Mulugu ,PFB the code snippet. Getting the searched results and after that created a file test.txt and added the path there. Please let me know if you need additional detail. SearchResult result = query.getResult();List<Hit> hits =result.getHits();writer = new FileWriter("test.txt");for(H...
Hi All, We have a requirement where we need to use the querybuilder search api and search the content path of the particular site and after that we need to add the searched content path in a txt file and we need to upload this file in aem dam. I have done all the thing except adding the txt file in ...
Hi @nesfel_aem , I am facing the same issue. Have you set the session Attribute in init() method of model class.Please let me know how you have solved the above issue. Thanks,
Hi @Vijayalakshmi_S I have exported com.fasterxml.jackson.* in my project.answering above mentioned point.1)yes, only my project bundle is in installed state(after the version upgrade) and all other bundle is in active state.2)All other bundles are in active state.