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

srinivas_chann1
Community profile srinivas_chann1 Level 4
Job title here
Location here
20 BADGES
Level 4

Level 4

Learn more
Joined the community 10-07-2019 8:21:28 AM
Offline
Top badges earned by srinivas_chann1
Customize the badges you want to showcase on your profile
Re: AEM6.5 query throws exception even after oak indexing...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi Arun_Patidar, So you meant that instead of executing at path /content/projectpath. I must execute a lower level that /content/projectpath/us/en/projectapplications Thanks

Views

92

Likes

0

Replies

0
AEM6.5 referencing external js in clientlib
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I have 2 js scripts in header of html which we are adding as ; So want to add this to clientlibs of aem, but wanted to know instead of copying the whole js code inside the clientlibs . Is there any way I could reference this js with just urls and still gets these added clientlibs of aem. The idea in case they the 3party scripts if there is any code change in js it will automatically get reflected instead of making a code change again Thanks

Views

110

Likes

0

Replies

1
AEM6.5 query throws exception even after oak indexing for OOTB query
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, I was able to create oak index based on the finding from https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem6-5-indexing-on-ootb-query-for-find-and-replace-text/qaq-p/398465#M85988 The query that is triggered is using http://localhost:4502/content/project/us/en.find.json?_charset_=utf-8&f=abc&cs=false&wwo=false&cq_ck=1614580151256 But when i execute command on the top content path i.e /content/projectpathselect [jcr:path], [jcr:score], * from [nt:base] as a where is...

Views

198

Likes

0

Replies

5
Re: aem6.5 Indexing on OOTB query for find and replace text
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Thanks for the information

Views

106

Likes

0

Replies

0
Re: aem6.5 Indexing on OOTB query for find and replace text
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi Vijayalakshmi_S, I was able to capture logs using .find.json but for replace.html does not shown any query in logs .How to find what is the query for that for http://localhost:4502/content/project/us/en.replace.html it is not showing any query in logs so what does this mean ,I need to looks any other packages in logs Thanks

Views

133

Likes

0

Replies

0
aem6.5 Indexing on OOTB query for find and replace text
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , We are using AEM6.5 OOTB find and replace functionality ,but noticed in the logs that this is causing lot of nodes to traversed hence want to index this Would need help based on below as what is the query sent for this so that based on the query could be indexed using the below https://oakutils.appspot.com/generate/index From logs:-org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 15000 nodes with filter Filter(query=select [jcr:path], [jcr:score], from [nt:base] as...

Views

184

Like

1

Replies

4
Re: AEM6.5 how to get user details and the groups the use...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
I did the below to solve the issue function getLoggedInUserID() {var currentUserId = "";var currentUserInfo;var CURRENT_USER_JSON_PATH = Granite.HTTP.externalize('/libs/granite/security/currentuser.json');var result = Granite.$.ajax({type: "GET",async: false,url: CURRENT_USER_JSON_PATH});if (result.status === 200) {currentUserInfo = JSON.parse(result.responseText);currentUserId = currentUserInfo.authorizableId;}return currentUserId;} function getUserGroups(userID){var isMemberOfGroupEveryOne=fal...

Views

204

Likes

0

Replies

0
AEM6.5 how to get user details and the groups the user is associated to in author environment
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, Once any user logs in to the author environment how could I get the details of the groups the user is member of. I am using js so wanted to check if there is any json available through which I could get this details. Instead of me building a new code for this. I noticed that for authorizables.json we need to provide the username.http://localhost:4502/bin/security/authorizables.json?filter=username&_charset_=utf-8 Now if is the case i would need a way to find the user name in the js and then ...

Views

262

Likes

0

Replies

3
Re: AEM6.5 JavaScript error "cannot read property" on browser console
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
When I added the rule in dispatcher the errors got resolved /0002 { /type "allow" /url "/etc.clientlibs/*" }

Views

202

Likes

0

Replies

0
Re: AEM6.5 console error 404 for clientlibrarymanager
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
When I added the rule in dispatcher the errors got resolved .Is this the right fix, cannot I do some changes at aem publish instance which can resolve the issue instead at dispatcher. /0002 { /type "allow" /url "/etc.clientlibs/*" } Please provide inputs . Thanks

Views

205

Likes

0

Replies

0
AEM6.5 JavaScript error "cannot read property" on browser console
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, I am getting the below console error for MIME type ('text/html') is not a supported. Could you please provide input as how could I resolve it. 1>StoreMgr undefined:- script from location :- /libs/cq/personalization/widgets.min.js 2>Namespace undefined:- script from location /libs/cq/analytics/widgets.min.jsThanks

Views

248

Likes

0

Replies

3
AEM6.5 console error for MIME type ('text/html') is not a supported
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I am getting the below console error how could I solve this issue. Refused to apply style from '' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled Thanks

Views

210

Likes

0

Replies

1
AEM6.5 console error 404 for clientlibrarymanager
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I am getting the below error in console and is related to clientlibrarymanager.min.js Could you please provide inputs as how could I resolve this.It shows an error as console.log("LibraryManager: --\x3e evaluating js include failed: ",a)}else document.writeln('\x3cscript src\x3d"'+a+'" type\x3d"text/javascript"\x3e\x3c/script\x3e');else"css"===c?(c=document.getElementsByTagName("head")||document.getElementsByTagName("*"),c=c[0],f=document.createElement("link"), Thanks

Views

233

Likes

0

Replies

2
Re: AEM 6.3 TO detect from desktop or mobile from which t...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Thanks for the input. Agree to your comments , could you provide any sample code will help me to write this

Views

256

Likes

0

Replies

0
AEM 6.3 TO detect from desktop or mobile from which the request came in java?
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I am using a component twice due to mobile and desktop views .Due to which the same JavaScript is getting called twice.I am using JavaScript to hide based on css. I wanted tp know if desktop or mobile view in java code, in this way i will be able to call the component only once based on views using slightly test logic. Please let me know how to achieve it Thanks

Views

306

Likes

0

Replies

4
AEM6.3 Paste not appearing in author for component to copy in touch ui on a page
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, Could some help as how to resolve this issue.Issue:-I am using aem6.3 on touch ui page when i copy component ,then paste option does not come up Workaround:-As soon as, I do right click on the page, the paste icon immediately appears. And also, when we click on the “Drag Components here” (parsys) then the paste icon appears on all the components. Expected:-Paste icon must appear as soon as I copy any component ,on first click. like it works on classic UI Step1: Copy the desired component. St...

Views

319

Like

1

Replies

5
Re: AEM 6.3 with cf8 package is causing issue when using Calc function in css
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Any inputs from any one

Views

190

Likes

0

Replies

0
How to move common code in sightly html file to different files
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, I have a common piece of code in sightly html ,instead of writing the repetitive code can i put this in a different file and just invoke are there any other ways . Please suggest. In /apps/project/testcomponent/testcomponent.htmlin the testcomponent.html:- dd cc ff ... dd cc ff ...I tried:-To put this file in file in /apps/project/testcomponent/abc.htmlso abc.html had:- dd cc ff Now i modified in testcomponent.html:- ......This throws error while page renderPlease suggest how to solve...

Views

265

Likes

0

Replies

2
Re: AEM 6.3 with cf8 package is causing issue when using Calc function in css
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Any inputs from any one

Views

208

Likes

0

Replies

0
AEM 6.3 with cf8 package is causing issue when using Calc function in css
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , When i am using AEM 6.3 with service pack1 and cf8 package installed.I want to apply clip-path: polygon for creating a cut angle at right bottom. works:-When i apply the css inline in the html that is Stay in the moment. issue:-But when i apply to css code.bottom-right {p {clip-path:polygon(0 100%, 0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 65px) 100%);}} After the page is render it is getting converted to clip-path:polygon(0 100%, 0 0, 100% 0, 100% calc(64%), calc(35%) 100%); Here it...

Views

236

Likes

0

Replies

2
Re: How to create a certain angle on pixel difference on a image text using image component
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Any inputs from any one

Views

246

Likes

0

Replies

0
How to create a certain angle on pixel difference on a image text using image component
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, I have to create a angle of 45* degree cut at the edge of an text and also 100 pixel distance using the text image component Please let me know how to achieve it through css or js. Once achieved what tools could be used to measure the accuracy of angle is it exactly 45* degrees or not and is it 100pixel or not?? Below is the text on text image component required. Thanks

Views

258

Likes

0

Replies

2
authentication by SSO for different AEM applications for different portals
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , Wanted to know the procedure as how to authenticate with SSO so that a user will able to login once and have credentials carry over to different platforms on AEM instance for different portals. So that I am not required to login multiple times Note:- Also in case we integrate login with PING then how to do SSO . Thanks

Views

206

Likes

0

Replies

1
Getting started with Experience Fragments
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I want to start using Experience Fragments. Could some one guide what is Experience Fragments and what all info i need to know before using that Thanks

Views

246

Likes

0

Replies

2
Re: MockitoJUnitRunner for junit in AemContext for Resour...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
I was able to solve this /* ResourceBundle.getString(String) is a final method .So inorder to solve this *issue we create a object and hardcode the required key and value */In the above method we must replace key with TEST.STRING import org.apache.sling.i18n.ResourceBundleProvider;import static org.mockito.Mockito.when;@MockResourceBundleProvider resourceBundleProvider;context.bundleContext().registerService(ResourceBundleProvider.class.getName(), resourceBundleProvider, null);when(resourceBundl...

Views

272

Like

1

Replies

0
MockitoJUnitRunner for junit in AemContext for ResourceBundle fails
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I am using MockitoJUnitRunner for junit4 .I getting error when the code ResourceBundle that is there in component class when using junit. Please provide inputs as how to resolve the issue Component class:-import java.util.*;public class ComponentClass extends WCMUsePojo{public void init(final SlingHttpServletRequest slingRequest) {slingRequest.getResourceBundle(locale).getString("TEST.STRING");} Junit class:-0@RunWith(MockitoJUnitRunner.Silent.class)public class testclass {@rulepublic final...

Views

293

Likes

0

Replies

1
MockitoJUnitRunner for junit in AemContext User adapation fails
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi , I am using MockitoJUnitRunner for Junit . I having the below code in java :- In the below TestUser class on the line resolver.adaptTo(User.class) it fails and is always null how to resolve it import org.apache.jackrabbit.api.security.user.User;import org.apache.sling.api.resource.ResourceResolver;public class TestUser {private final ResourceResolver resolver;private final User user;public TestUser(final ResourceResolver resolver) {this.resolver = resolver;this.user= resolver.adaptTo(User.cl...

Views

262

Likes

0

Replies

1
Re: Creating index for query in aem6.3 which has a path t...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
Hi, Could you please provide a sample as how this will look

Views

277

Likes

0

Replies

0
Re: Creating index for query in aem6.3 which has a path t...
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
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

283

Likes

0

Replies

0
Creating index for query in aem6.3 which has a path that is dynamic
Avatar
Validate 25
Level 4
srinivas_chann1
Level 4

Likes

19 likes

Total Posts

222 posts

Correct Reply

6 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
srinivas_chann1
- Adobe Experience Manager
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

306

Likes

0

Replies

6