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

viveksachdeva
Community profile viveksachdeva Level 7
Job title here
Location here
27 BADGES
Level 7

Level 7

Learn more
Joined the community 05-01-2015 9:55:47 PM
Offline
Top badges earned by viveksachdeva
Customize the badges you want to showcase on your profile
Re: Query to get count of pages on which an image is used
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
The query you used looks only in property called image.. "References" in DAM does exactly what you are looking to do http://localhost:4502/bin/wcm/references?_dc=1525242342217&_charset_=utf-8&path=%2Fcontent%2Fdam%2Fgeometrixx-outdoors%2… and gets all references.. Does this help?

Views

864

Like

1

Replies

0
Re: Add more formats in rtePlugin - paraformat
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Possible to share code package that you are using... I see it working when I followed the article above

Views

14.7K

Like

1

Replies

0
Re: Custom event not firing
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Possible to share github repo for what you are trying ?

Views

1.1K

Like

1

Replies

0
Re: Need java code to convert the page names to lower case
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
You can use something like code below:resourceResolver.getResource("/content/geometrixx").listChildren().each { Node node = it.adaptTo(Node.class) node.getSession().move(node.getPath(), node.getParent().getPath() + "/" + node.name.toLowerCase()); // node.getSession().save(); }P.S. : When you change node name, any place that you were referring it on also needs to change...

Views

1.6K

Like

1

Replies

0
Re: Migrating Select Content Between AEM Instances in Different Environments
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
You could post you issues in grabbit github repo.. From what I know that is the fastest of available options and easy to automate. So worth a try to see it your issue can be fixed.

Views

1.2K

Like

1

Replies

0
Re: Show pages (restricted) with lock icon.
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
From what it seems, your use case can be solved using CUG : Closed User Groups in AEM 6.3 Setting up a policy and applying it on the specific pages should take care of it..

Views

1.1K

Likes

0

Replies

0
Re: How do I reference an OSGi bundle in my Java class or POM file?
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Wrapping JAR into as OSGi bundle is one option but not the only one. I find the maven way better as it is lesser of manual effort and I get the flexibility of using dependency private to the bundle or exposing it.himanshusinghal​ : I was referring to the changes that one needs to make in maven-bunle-plugin.. Apache Felix - Apache Felix Maven Bundle Plugin (BND) What you mentioned looks to be a different way of doing it.. Do you have sample code/github link that you can share. Good to know more w...

Views

1.3K

Likes

0

Replies

0
Re: How do I reference an OSGi bundle in my Java class or POM file?
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
I agree with the options but I guess the code snippet in incorrect

Views

1.2K

Likes

0

Replies

0
Re: Best Practices for AEM performance
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Not sure what you mean by local but there are options other than dispatcher.. You could use CDN for caching images/videos that helps improve performance.. Akamai, Cloudfront are some options.

Views

988

Likes

0

Replies

0
Re: Adding Data in JCR Repository on Dragging of Component
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Use cq:template node for this.. Here is a blog that explains just that thing very precisely . Using the cq:template file | 6D Labs

Views

2.3K

Likes

0

Replies

0
Re: Missing jcr:content node on the page.
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
You should not publish a child page if parent parent doesnt exist on publish. It creates issues. The one that you mentioned regarding jcr:content node not being created, it causes problems. I have seen it in 5.6 but I think it could be same in 6.x as well. Take a look at KeEp cAlm & just cOdE it! : New Page/Site or Page Properties for a page disabled from siteadmin? for details...

Views

1.5K

Likes

0

Replies

0
Re: How to get content from components in jcr
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
I believe you need to write a query which should have following things:- path : root from where you want your search- ORing of all expected resource types(I believe this one is better than using node name like highlight/image,etc)This will give you list of all such nodes and you can perform whatever operation there on

Views

970

Like

1

Replies

0
Re: Configs not picking at runtime
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Shouldnt require a restart.. I faced similar issue. It was always picking it up from /app/system/config which had old value.. Removed that node and new values started working..

Views

995

Likes

0

Replies

0
Re: dialog still exist in the edit mode, but I already deleted it
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Just be careful while deleting parent's dialog. Make sure that it is not used by any other component...

Views

907

Like

1

Replies

0
Re: WCMmode in conditional comments
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
HTL counterpart of this would have same impact I believe:

Views

1.2K

Likes

0

Replies

0
Re: WCMmode in conditional comments
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
I dont have IE browser but I tested it on non IE and it works... <%if(WCMMode.fromRequest(request) != WCMMode.EDIT){%> <%}%>

Views

1.2K

Likes

0

Replies

0
Re: dialog still exist in the edit mode, but I already deleted it
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
What is your use case. Why do you want to remove the dialog... Just want to understand that if nothing is authorable, what is the intention for creating this component?

Views

858

Likes

0

Replies

0
Re: WCMmode in conditional comments
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Ok. understood... then one thing you can probably do is to have this conditional comment inside WCMmode.edit.. i mean just the if line and end-if line

Views

1.2K

Likes

0

Replies

0
Re: dialog still exist in the edit mode, but I already deleted it
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
It could be getting inherited from the parent component... Check sling:resourceSuperType of your component

Views

845

Likes

0

Replies

0
Re: /system/console/bundles.jsp throws org.apache.sling.api.auth.NoAuthenticationHandlerException: null
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
I tried your command and getting 401..

Views

823

Likes

0

Replies

0
Re: WCMmode in conditional comments
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
I dont think you can check it inside the conditional comment. The check should work if you do it in body of condition...

Views

1.2K

Likes

0

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
From what I think, node name is mandatory and resource type is optional. So you can shorten it by removing the resourceType from it only.

Views

1.2K

Likes

0

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
This is how templates inherently work. Once page is create out of template, it works even if you delete the template... Basically all properties of template are copied to the page. If you want it to be available on all pages, you would need to author it atleast once after making a change..

Views

1.2K

Like

1

Replies

0
Re: Jsoup jar does not installed in OSGi Bundle
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
For any 3rd party Jar(not provided by the Felix container), you need to bundle it and send or embed it in your current bundle. Take a look at java - OSGI - handling 3rd party JARs required by a bundle - Stack Overflow . It talks about similar thing. Hope this helps..

Views

2.0K

Like

1

Replies

0
Re: 404 response when making an XmlHttpRequest
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
A few things to check:- Is your bundle in active state.- Is "dummyService" active and your servlet in active state.- Can you try checking your servlet path under "http://localhost:4502/system/console/servletresolver "

Views

2.1K

Like

1

Replies

0
Re: Customize/Hook to AEM copy-paste component flow
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
You could add a custom listener for page events and add your code there...

Views

2.4K

Like

1

Replies

2
Re: Testing Component Autoring
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Thanks Scott.. I have gone through this presentation but this is not what I am looking for. I am looking to automate testing component authoring

Views

874

Likes

0

Replies

0
Re: Vue JS with AEM
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
HTL is server side whereas Vue is client side framework. Both can work together. Moreover I saw that OOTB components in 6.3 being built using Vue, so was curious to know if there is some documentation around it.

Views

1.2K

Likes

0

Replies

0
Vue JS with AEM
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
In 6.3, I saw that structural components are built using vue.js... Is there any documentation regarding what use case in AEM best fits for using vue.js and how to build components using vue

Views

2.1K

Likes

0

Replies

3
Testing Component Autoring
Avatar
Give Back 200
Level 7
viveksachdeva
Level 7

Likes

55 likes

Total Posts

225 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Ignite 10
Give Back 50
Give Back 25
View profile
viveksachdeva
- Adobe Experience Manager
Is there a way/tool available OOTB to unit test component authoring and UI.. I checked hobbes.js and it seems more of a functional testing tool where we can check elements on page and navigate. I couldnt find anything related to opening component dialog, authoring values and verifying that what was authored is displayed as expected?

Views

1.0K

Likes

0

Replies

3