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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

srinivas_chann1
srinivas_chann1
Offline

Badges

Badges
32

Accepted Solutions

Accepted Solutions
7

Likes

Likes
36

Posts

Posts
254

Discussions

Discussions
52

Questions

Questions
202

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by srinivas_chann1
Customize the badges you want to showcase on your profile
Re: Creating index for query in aem6.3 which has a path t... - Adobe Experience Manager 28-07-2020
Thanks for the input. The data is small subset, but like I mentioned if the query for 2 authors could be different based on path. Then how will be index be for this. Should I create 4 different index or just 1 index and say if path could support any wildcard path like /content/product/* {path=/content/product/abc1, p.limit=-1, property.value=/apps/components/test1, property=sling:resourceType, type=nt:unstructured}{path=/content/product/def2, p.limit=-1, property.value=/apps/components/test1, pr...

Views

454

Likes

0

Replies

0
Creating index for query in aem6.3 which has a path that is dynamic - Adobe Experience Manager 28-07-2020
Hi,I have component that sends a query based on the path selected from dialog .This is basically a case when we need to generate reports data based on different path author wants like the author could select path: /content/project/abcthen they could select a different path like : /content/project/def Then we would get a different report. Since a query may slow down the system based on the results it needs to get. Please let me know what should be approach for this as path is dynamic here How cou...

Views

481

Likes

0

Replies

6
Re: MockitoJUnitRunner bind for WCMUsePojo fails for curr... - Adobe Experience Manager 20-07-2020
Thanks for looking into it.I see that local build on cmd is working properly like IDE no issues only when the build is ran on CI tool then binding fails and i need to have check for binding.for CI tool Thanks

Views

377

Likes

0

Replies

0
Re: MockitoJUnitRunner bind for WCMUsePojo fails for curr... - Adobe Experience Manager 20-07-2020
Hi ,Thanks for looking into .Could you please help if possible without more details on CI tool as I see when i see JMockit then CI is able to get those current page and resource without any issue. Not sure when i am doing binding with MockitoJUnitRunner then it is not picking the binding values,till i do something like currentPage=getCurrentPage()if(null==currentPage){ currentPage=(Page)this.get(WCMBindings.CURRENT_PAGE, Page.class);} @RunWith(JMockit.class) import com.adobe.cq.sightly.WCMUsePoj...

Views

394

Likes

0

Replies

0
Re: MockitoJUnitRunner bind for WCMUsePojo fails for curr... - Adobe Experience Manager 20-07-2020
Thanks for the input.Yes getCurrentPage() and getResource() works fine in IDE but not in CI tool. Still facing the same issue Thanks

Views

408

Likes

0

Replies

0
Re: MockitoJUnitRunner for junit in AemContext how to set... - Adobe Experience Manager 20-07-2020
Hi , I had one more issue related to this .Any inputs as what could be the reason https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/mockitojunitrunner-bind-for-wcmusepojo-fails-for-currentpage-and/qaq-p/367568#M76329

Views

1.1K

Likes

0

Replies

0
Re: MockitoJUnitRunner for junit in AemContext how to set... - Adobe Experience Manager 19-07-2020
Hi,Thanks for the response .The use case is for a component dialog ,i would want to hide it based on groups . This could be achieved by setting cq:noDecoration flag to true This can be achieved byComponentContext cc = WCMUtils.getComponentContext(slingHttpServletRequest);cc.setDecorate(false); I see that the import statement is com.day.cq.wcm.api.components.ComponentContext; Thanks.

Views

1.1K

Likes

0

Replies

0
Re: MockitoJUnitRunner for junit in AemContext how to set... - Adobe Experience Manager 17-07-2020
Thanks for the input .I have still one pending issue will you be able to help on this Java code:-ComponentContext cc = WCMUtils.getComponentContext(slingHttpServletRequest);cc.setDecorate(false); Junit:-I am trying @Mockprivate MockSlingHttpServletRequest request;request = aemContext.request();request.setAttribute("com.day.cq.wcm.componentcontext",aemContext componentContext()); Throws the below error java.lang.ClassCastException: org.apache.sling.testing.mock.osgi.MockComponentContext cannot be...

Views

1.2K

Likes

0

Replies

0
Re: AEM6.3 providing access to group for a particular com... - Adobe Experience Manager 17-07-2020
Hi Arun , I noticed one more issue when we set using decorate the actual component dialog in hidden in touch ui ,but the top " Inheritance Paragraph System" dialog start showing when we click in the area of the component, but same issue does not happen in classic . Any inputs as how this could be overcome Thanks

Views

382

Likes

0

Replies

0