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
Avatar

vasim_akram_sha

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?

Views

1.9K

Likes

0

Replies

2
Re: What will be the oak:index structure for following query
Avatar

vasim_akram_sha

vasim_akram_sha
- Adobe Experience Manager
Thanks gaurav. It is working as expected.

Views

1.1K

Likes

0

Replies

0
What will be the oak:index structure for following query
Avatar

vasim_akram_sha

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') ]

Views

1.6K

Like

1

Replies

3
How to access temp files in AEM?
Avatar

vasim_akram_sha

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...

Views

1.5K

Likes

0

Replies

2
Re: How to upload image in Dam using standalone application which will generate metadata?
Avatar

vasim_akram_sha

vasim_akram_sha
- Adobe Experience Manager
Thanks smacdonald. It is working as expected.

Views

997

Likes

0

Replies

0
Re: How to upload image in Dam using standalone application which will generate metadata?
Avatar

vasim_akram_sha

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.

Views

1.0K

Likes

0

Replies

0
How to upload image in Dam using standalone application which will generate metadata?
Avatar

vasim_akram_sha

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...

Views

2.2K

Likes

0

Replies

5
What is different between Live copy and Language copy
Avatar

vasim_akram_sha

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.

Views

2.5K

Likes

0

Replies

3
AEM Cannot be resolved for some libs
Avatar

vasim_akram_sha

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...

Views

6.0K

Likes

0

Replies

3
Likes given to
Likes from