Hi @anasustic Try to mock the service in your test class as mentioned here : https://taylor.callsen.me/unit-testing-aem-sling-models-and-servlets/ Hope this helps! Thanks,Kiran Vedantam.
Thanks for the question @rnaveen2 I have recently implemented similar use-case in my project. We have used headless chrome chrome --headless --disable-gpu --print-to-pdf https://www.chromestatus.com/https://developers.google.com/web/updates/2017/04/headless-chrome You can pass your HTML to headles...
Hi @Magicr Similar issue : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/dam-image-renditions-error-while-executing-the-folder-thumbnail/td-p/387339 Hope this helps! Thanks,Kiran Vedantam.
If you use the API, it should automatically create a temp file for you. Use the below code //CreateFile sample = File.createTempFile("sample", ".pdf");//DeleteFiles.delete(sample.toPath());Hope this helps. Thanks,Kiran Vedantam
Hi @chetan001 After downloading the assets, instead of downloading and keeping it in root folder, create temp file, push it to AEM DAM and delete the temp file. You can use java.io.file API for this. Hope this helps!Thanks,Kiran Vedantam.
Try adding these in parent pom and core pom and build the code. <!-- https://mvnrepository.com/artifact/clojure-interop/javax.activity --><dependency><groupId>clojure-interop</groupId><artifactId>javax.activity</artifactId><version>1.0.0</version></dependency> <!-- https://mvnrepository.com/artifact...
Hi @ariesyinn This issue occurs when the dependency is not available for the bundle. Please check if the "javax.*" is installed in your instance by your build. If notAdd it in your pom.xml and core/pom.xml and tryTry installing it manually by downloading it Hope this helps. Thanks,Kiran Vedantam.