Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Veena_Vikraman
Community profile Veena_Vikraman Level 2
Job title here
Location here
12 BADGES
Level 2

Level 2

Learn more
Joined the community 22-01-2015 2:26:36 AM
Offline
Top badges earned by Veena_Vikraman
Customize the badges you want to showcase on your profile
Re: Sort json response in slightly
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager Forms
Satya, HTL is a template language and cannot do much of data manipulation . So as Simone said you have to handle it either in client-side or server side . Getting Started with HTL

Views

628

Likes

0

Replies

0
Node details rendered to page for invalid components
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Team I have a page in 6.2 where I had used a component. So the node with the data for the component got created in the page structure. But later, at some point ,I had deleted this component.Now in all the pages where this component was included previously, started displaying the node values. I have attached a screenshot with a sample component where I dragged and dropped ACS Commons acs-commons/components/content/generic-text-image component and then renamed the resourceType to acs-commons/co...

Views

235

Likes

0

Replies

0
Re: Is there way to know nodes without jcr:content node?
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Are you seeing jcr:content nodes missing for your pages and assets ?

Views

923

Like

1

Replies

0
Re: String[] type for Multivalued Properties - AEM
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Meenakshi For xtype like multifield, if you are saving only 1 value in property, it will get saved as String. This behavior is there from the beginning itself, (I have started from 5.4 )ThanksVeena

Views

9.6K

Like

1

Replies

0
Re: Blocking items on redirected page
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
HI Aashay Could you please elaborate on this with some screen shots and the error you are getting ? It could be some kind off browser or HTML issueThanksVeena

Views

2.3K

Likes

0

Replies

1
Re: Bookmark My Page with different name than Page Title
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Naman Could you please help me understanding how the bookmark works? So that I can think of a better solution. I have neva got a chnace to work on the functionality. So if this works as Kautuk was explaining, then may be my solution may not work, since we cannot change the meta tag of any page. ThanksVeena

Views

275

Likes

0

Replies

0
Re: Bookmark My Page with different name than Page Title
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Naman I can give you few approach. See which one fits you better1) Decide on what name you want to bring up. Lets say You want to give the title of your parent page for all the bookmarks. So better get the absolute parent of the current page and print it. 2) There is an additional title, called pageTitle property for every page in the page properties. You can ask the author to set the "Page Title" under "More Titles and Description" in page properties. I would not prefer this for your approac...

Views

275

Likes

0

Replies

0
Re: check box type
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Shreyas Sorry for the late response. So it should be simple as explained by me, scott and kautuk. Hope you know how to handle if else condition in JSP. And I would suggest you to move to JSTL or if using AEM 6+ , use sightly. Writing in scriplets anymore doesn't seem to be a good quality coding . Just a thought 🙂 ThanksVeena

Views

1.1K

Likes

0

Replies

0
Re: private org.apache.sling.api.resource.Resource were not able to be injected
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Sure Feike. I will refactor the code to use @self 🙂 Thanks for pointing out to me 🙂 ThanksVeena

Views

324

Likes

0

Replies

0
Re: check box type
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Shreyas Could you please elaborate on your question?If my understanding is correct you are trying to add a facebook icon in your presentation HTML, when the user checks the checkbox in the dialog ?If so, you can if properties.get("facebook") is returning the expected value and according to the result you can write an if condition to hide or show your Please confirm if you are writing the code in scriptlet/ JSTL/Sightly??? ThanksVeena

Views

1.2K

Likes

2

Replies

0
Re: private org.apache.sling.api.resource.Resource were not able to be injected
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi All It seems like my AEM instance got corrupted due to some compaction I have done. I have got a new Jar and setup the code and its working perfectly fine with my existing code base. Thanks for all your help and time ThanksVeena

Views

309

Likes

0

Replies

0
private org.apache.sling.api.resource.Resource were not able to be injected
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Team I am using sling models with sightly. I am trying to inject resource to my model as below. All the models are throwing same error saying Resource was not able to be injected. This was working sometimes before. Now for some reason I am getting this error. Could you please help @Model(adaptables = Resource.class)public class PdfDownloadModel { private final Logger LOG = LoggerFactory.getLogger(getClass()); @Inject private Resource resource; ERRORorg.apache.sling.models.impl.ModelAdapterFac...

Views

683

Likes

0

Replies

4
Re: coerceToString is an internal method
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Thanks for the quick response scott. I installed the package in a fresh instance and all started working fine. I am not sure what has happened to the instance before

Views

354

Likes

0

Replies

0
coerceToString is an internal method
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi I am getting the below error in my pages from my page.html. Does anyone already faced this issue before ?HTML Exception:org.apache.sling.scripting.sightly.SightlyException: coerceToString is an internal method at io.sightly.java.impl.slingAdapter.ObjectModelAdapter.coerceToString(ObjectModelAdapter.java:43) at com.adobe.cq.sightly.internal.extensions.IncludeExtension$1.call(IncludeExtension.java:63) at io.sightly.java.impl.graniteAdapter.RuntimeExtensionAdapter.call(RuntimeExtensionAda...

Views

705

Like

1

Replies

5
Re: Crop an Image programatically in AEM
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Bsloki   I am using com.day.image.Layer 

Views

499

Likes

0

Replies

0
Re: Crop an Image programatically in AEM
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Scott, I followed the same article , but I am getting Null for Layer layer = ImageHelper.createLayer(currentNode.getSession(),asst.getCurrentOriginal().getPath());

Views

496

Likes

0

Replies

0
Crop an Image programatically in AEM
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi I am trying to crop an image programatically Resource res = resourceResolver.getResource("/content/dam/images/test.jpg");Asset asst = res.adaptTo(Asset.class);Resource dataResource = resourceResolver.getResource(res.getPath()+"/jcr:content/renditions/original/jcr:content");Layer layer = ImageHelper.createLayer(currentNode.getSession(),asst.getCurrentOriginal().getPath());log.error("LAYER**" + layer);Rectangle rect = ImageHelper.getCropRect("0,0,100,100",res.getPath());layer.crop(rect); But I ...

Views

1.2K

Likes

0

Replies

6
Re: OOTB archives not working
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Sham Thanks a lot. After little more research I could find that if the sling:resourceType of blog template is "social/blog/components/page" . Then only the archive is functioning. So if I want to have my own blog page, the archive functionality will not work. Since I don't have credentials to raise an official ticket, it would be helpful if you can help me in thatThanksVeena

Views

334

Likes

0

Replies

0
Re: OOTB archives not working
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
I am using 5.6.1 . My blog page structure is /content//en_us/blog

Views

340

Likes

0

Replies

0
OOTB archives not working
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi I am using the OOTB blog feature without any change in the OOTB components like archives, categories etc. I have taken a local copy of the blog components under my project and using the same. But the issue I am facing is, when I am using archives, It is not rendering any list of pages . I wanted to know , for the OOTB archives to work, do we need to follow any particular page structure.?? Not sure whats preventing the archiving functionalityThanks In AdvanceVeena

Views

650

Likes

0

Replies

6
Re: OSGI nodes configured in apps not reflecting properly
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Thanks a lot scott. That worked 🙂

Views

324

Likes

0

Replies

0
Re: OSGI nodes configured in apps not reflecting properly
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
Hi Scott Thanks for the quick response. If I am not wrong, Factory Service means it will havae Factory PID, right ? But for CQ MSM Content Update Action, I could find only PID which is com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory. Please correct me if I am wrong ThanksVeena

Views

321

Likes

0

Replies

0
OSGI nodes configured in apps not reflecting properly
Avatar
Ignite 5
Level 2
Veena_Vikraman
Level 2

Likes

5 likes

Total Posts

23 posts

Correct reply

2 solutions
Top badges earned
Ignite 5
Give Back 10
Ignite 3
Ignite 1
Give Back 5
View profile
Veena_Vikraman
- Adobe Experience Manager
HiI want to prevent few properties from replicating in LiveCopy. I have followed the below documentation http://docs.adobe.com/docs/en/cq/current/administering/multi_site_manager.html#Excluding Properties and Node Types From Synchronization . But since I need to create a OSGI node in my project structure I followed the following link http://docs.adobe.com/docs/en/cq/current/deploying/configuring_osgi.html#OSGi Configuration in the Repository Steps FollowedCreated node with name com.day.cq.wcm.ms...

Views

543

Likes

0

Replies

4