since ‎17-02-2014
‎10-12-2019
vasim_akram_sha
Level 1
Is it possible to create datasource for a touch-UI dropdown using Sightly instead of JSP vasim_akram_sha - Adobe Experience Manager
Is it possible to create datasource for a touch-UI dropdown using Sightly instead of JSP. If yes then how?
1868
Views
0
Likes
2
Answers and Comments
Re: What will be the oak:index structure for following query vasim_akram_sha - Adobe Experience Manager
Thanks gaurav. It is working as expected.
1035
Views
0
Likes
0
Answers
What will be the oak:index structure for following query vasim_akram_sha - Adobe Experience Manager
Hi All,What will be the oak:index structure for the following xpath query/jcr:root/content/dam/temp//element(*, nt:folder)[(jcr:content/@metadataSchema = '/conf/global/settings/dam/adminui-extension/metadataschema/temp') ]
1575
Views
1
Like
3
Answers and Comments
How to access temp files in AEM? vasim_akram_sha - Adobe Experience Manager
Hi,I am creating a temp file using following method in OSGI bundle.Files.createTempFile("temp", ".json"); .When I run the script in my local server it is getting created under C:/Users/vasim/AppData/Local/Temp/temp1233433455.txt. I am accessing that file in my javaScript and doing some operations on it. I have deployed the code in UAT server. In UAT it is creating files /opt/aem/. Now I am unable to access that file in my JavaScript. I tried by creating file under /content. Then also it is not w...
1405
Views
0
Likes
2
Answers and Comments
Re: How to upload image in Dam using standalone application which will generate metadata? vasim_akram_sha - Adobe Experience Manager
Thanks smacdonald. It is working as expected.
928
Views
0
Likes
0
Answers
Re: How to upload image in Dam using standalone application which will generate metadata? vasim_akram_sha - Adobe Experience Manager
This will help only when my servlet inside OSGI container. But mine is standalone application. I am using it outside the AEM server. In the above link we are getting ResourceResolver from ResourceResolverFactory. In my case it will give null for ResourceResolver. For your info If I have tried this using curl command curl -u admin:admin -T D:\images\test.jpg http://localhost:4502/content/dam/test/test.jpgIt is working fine. I am getting metadata. But mine is java application.
931
Views
0
Likes
0
Answers
How to upload image in Dam using standalone application which will generate metadata? vasim_akram_sha - Adobe Experience Manager
Hi,I have a image in local drive. I want to upload that image to in my AEM dam. For that I have written following code.public class ThroughHttpPost { public static void main(String[] args) { // TODO Auto-generated method stub File file = new File("D:\\images\\test.jpg"); byte[] bytesArray = new byte[(int) file.length()]; FileInputStream fis; try { fis = new FileInputStream(file); fis.read(bytesArray); //read file into bytes[] fis.close(); } catch (FileNotFoundException e) { // TODO Auto-generate...
2110
Views
0
Likes
5
Answers and Comments
What is different between Live copy and Language copy vasim_akram_sha - Adobe Experience Manager
Hi,Can anyone tell me what is the key difference between live copy and language copy.Thanks in advance.Regards,Vasim.
2192
Views
0
Likes
3
Answers and Comments
AEM Cannot be resolved for some libs vasim_akram_sha - Adobe Experience Manager
Hi, I am using AEM 5.6.1. I am getting following error. org.apache.sling.api,version=[2.3,3) -- Cannot be resolved org.apache.sling.api.request,version=[2.4,3) -- Cannot be resolved org.apache.sling.api.resource,version=[2.5,3) -- Cannot be resolved org.apache.sling.models.annotations,version=[1.0,2) -- Cannot be resolved org.apache.sling.settings,version=[1.3,2) -- Cannot be resolved. In /system/console/depfinder I found org.apache.sling.api depencies as org.apache.sling org.apache.sling.api 2...
5695
Views
0
Likes
3
Replies
Likes given to
Likes from