have you had a look at this example ?aem-osgi-annotation-demo/SampleFelixServiceImpl.java at master · nateyolles/aem-osgi-annotation-demo · GitHub Refer to Official OSGi Declarative Services Annotations in AEM - Adobe Experience Manager | AEM/CQ | Apache Sling
try this example in sample6HTL introduction part 1 inside a data-sly-list you have access to a list-variable that contain things like : index, count, odd, even, first, last, middlein the expression you see the use of the ternary operator
Overlay /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js and comment line #36. //assetFU.initialize(); you can customize according to your requirement.
Get the device type from a generic service class and use the value of that variable in sightly and add conditionWCMUsePojo classif(request.getHeader("User-Agent").indexOf("Mobile") != -1) { //you're in mobile land } else { //nope, this is probably a desktop }SIGHTLY<li data-sly-test="${isM...
See this example to create CSV. Change the query according to your requirement if you want users, assets or pages to be exported in csv. https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/exporters/impl/users/UsersExportServlet.java
you can follow the below article to upload files in DAM https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html Alternatively you can refer to the asset manager api https://helpx.adobe.com/experience-manager/6-2/sites/developing/using/reference-materials/javadoc/com/adobe/granite/...
You can find so many examples to create csv and for uploading to dam refer to the last servlet part in this example https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html