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

Shaheena_Sheikh
Shaheena_Sheikh
Offline

Badges

Badges
23

Accepted Solutions

Accepted Solutions
1

Likes

Likes
16

Posts

Posts
114

Discussions

Discussions
1

Questions

Questions
113

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Shaheena_Sheikh
Customize the badges you want to showcase on your profile
Page property in servlet
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a servlet which provides JSON for the page. I wanted to get page properties in my code in that servlet. But every time I add page manager or current page to my servlet, the JSON stops loading. And there's no error.I have the page path. But adapting it to a page is causing issue.

Views

92

Likes

0

Replies

3
Page JSON Access
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a servlet that provides JSON of any page that is opened with a given selector. This JSON will be accessed by third party and i wanted to limit the access. I wanted to use OAuth or something similar (but no ACL). If OAuth is a good idea, how can that be done? The user should have access to the all page jsons.

Views

58

Likes

0

Replies

2
Re: Securing servlet
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
so for basic auth, do i need to create userID and password in aem useradmin?

Views

45

Like

1

Replies

1
Securing servlet
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a servlet that provides page content in needed JSON format. This JSON will be used by a third party and I need to provide a security level check to this. How can I provide a token authentication in servlet or in ant service/wrapper before servlet to provide a layer of security. This cannot be done by AEM ACL because the requirement is to do it via code using token authentication.How can this be achieved?

Views

54

Likes

0

Replies

3
JSON data of a page using service
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I want to get JSON data of a page and I came across this blog which is exactly what I want. But the problem is, I need to work with service instead of servlet. Can this be done? If yes, pls suggest the way.Blog: http://aemlab.blogspot.com/2019/07/get-json-response-of-aem-page.html

Views

63

Likes

0

Replies

2
Lodash in AEM Project
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
How can I include Lodash/Underscore to my AEM Project now that it has been deprecated?

Views

225

Likes

0

Replies

2
RTE Tooltip: remove tooltip
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Im using the package from the below link :http://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.htmlI need another button to remove the tooltip of not needed. I updated the dialog in the page level. What updates should I make in the JS?

Views

80

Likes

0

Replies

1
RTE Tooltip : application issue
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Im using the package from the below link :http://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.htmlI noticed when my RTE has only 1 word and nothing else, like:trainingthen, if I apply a tooltip to the word and save the dialog.Next, I add another word/sentence to the existing wordtraining experience FragmentI noticed that the tooltip is getting applied to the entire sentence. And if I try to apply a new tooltip to another wor...

Views

69

Likes

0

Replies

0
Re: RTE plugin for tooltip
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
will this be an expected behaviour?https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/rte-tooltip-application-issue/m-p/422806#M120428

Views

153

Like

1

Replies

0
Re: RTE plugin for tooltip
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
The code fix present in the comment section of the blog didn't work for me. The problem was : On clicking the Create Tooltip button, another dialog opens to create tooltip.But, the code modified code fix which you provided does work for me. Thanks!

Views

157

Like

1

Replies

0
Re: RTE plugin for tooltip
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I am using AEM 6.5.I installed the package that i got from the link and it works just fine. But I noticed it keeps appending the modified data. For eg this was the value after 3 edits: Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups. the above when u check closely has appended value :1st data to tolltip: 2nd edit to tooltip : placeholder 3rd edit to tooltip : text commonly used in the graphic, print, and pub...

Views

182

Like

1

Replies

0
RTE plugin for tooltip
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Im using the package from the below link :https://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.htmlbut the only issue I'm seeing is that every time I update the value of the tooltip, the new value gets appended to the previous value instead of replacing it. I'm unable to find out the solution. Please suggest!

Views

218

Likes

0

Replies

5
Get Country of currentPage
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
In my Java model class I have the currentPage from which I'm trying to get the country. But it always gives empty/null value. I tried the following:currentPage.getLanguage() --> gives me the localelocale.getLanguage-->gives me the language of the localecurrentPage.getLanguage().getCountry()-->emptycurrentPage.getLanguage().getDisplayCountry()-->emptyI'm getting the correct language codes for both cases but not the country. What should be the correct approach?

Views

259

Like

1

Replies

6
Re: Inheriting component to all child pages
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
all other ways seemed inefficient, so we are finally getting it from template!

Views

140

Like

1

Replies

0
Re: Get the component on a page
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Hi, thanks for the answer. Will the above code give me the component node, irrespective of the depth (in which the comp is present)?Because if you see my question, the comp may not be directly present under the root.

Views

158

Like

1

Replies

1
Inheriting component to all child pages
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a component that i want to add in the JP/EN/HK/any language site and I want that to be present in all the child pages. How can I can do this? (I can't add it to the template).

Views

169

Likes

0

Replies

4
Get the component on a page
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I need to get the component node and here's how the component can be available on the page:page-->jcr:content-->root-->componentpage-->jcr:content-->root-->responsivegred-->componentpage-->jcr:content-->root-->responsivegred--->componentpage-->jcr:content-->root-->responsivegred-->container-->componentI have the path till root and I want to fetch the comp node. What could be an efficient way?

Views

178

Likes

0

Replies

5
Multiple granite:class
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Hi All,I added "granite:class" property to a text field in a component dialog. I made this field of type "String" and "Multiple". Added 2 class names to this fields, saved the changes and checked my page. I could only see the first class name. I wanted to know if "granite:class" is always a single value? And, how can I have more than 1 class added to it.Thanks!

Views

139

Likes

0

Replies

1
Re: Get URL status code in Javascript use api
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Thanks, its working now

Views

336

Likes

0

Replies

0
Re: Get URL status code in Javascript use api
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
And for the second code that you suggested im getting the error: SlingException: Cannot get DefaultSlingScript: org.mozilla.javascript.EcmaError: ReferenceError: "$" is not defined.

Views

345

Likes

0

Replies

0
Re: Get URL status code in Javascript use api
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
gives me an error --> SlingException: Cannot get DefaultSlingScript: Identifier 'myfile.js' @ url=http://localhost:4502/ cannot be correctly instantiated by the Use API

Views

349

Likes

0

Replies

0
Re: Get URL status code in Javascript use api
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have updated the code. Now, this part of code work, but i want to send argument to my HTL Javascript Use api function

Views

403

Likes

0

Replies

0
Send argument in Javascript Use API from HTML
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a js file with the following code:"use strict";use(function () {//var url= this.url; //line 3var url = "http://experienceleague.adobe.com/docs/experience-manager-htl/using/htl/use-api-javascript.html?lang=en"; //line 4var getRequest = new org.apache.commons.httpclient.methods.GetMethod(url),client = new org.apache.commons.httpclient.HttpClient(),status = new org.apache.commons.httpclient.HttpStatus();var info = {};var statusCode= client.executeMethod(getRequest);if (statusCode != 404)info...

Views

440

Likes

0

Replies

8
Table component in AEM
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I am using AEM 6.5 AND i have a component in which RTE plugin is available for the description field. Through this RTE I can add table to my description. I wanted to have some enhacements like adding color to cell background, font color, alignment etc.Can someone suggest best approach for this? Thanks ahead!

Views

218

Likes

0

Replies

1
Re: Nested Multifield Loop not getting executed
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
Corrected the code line as below and the loop will start working fine:$(this).find("[data-granite-coral-multifield-name$='Child'] .coral3-Multifield-item").each(function( index ) {

Views

237

Like

1

Replies

1
Re: Nested Multifield Loop not getting executed
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I need to apply validation everytime the drop-down field is being touched while authoring the component. Will that be possible using model class??

Views

230

Likes

0

Replies

0
Nested Multifield Loop not getting executed
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a dialog where there is nested multifield. In the nested multifield, there's dropdown.-----Details of the dialog:Multifield Container (name = Parent) Multifield Container (name = Child) dropdown (class = cq-dialog-dropdown-showhide-multi)------Javascript code for looping :(function ($, document, ns) { const A = function () { console.log("In A"); $(this).find("[data-granite-coral-multifield-name='./Child'] .coral3-Multifield-item").each(function( index ) { console.log("In Loop"); }) }; $(d...

Views

290

Likes

0

Replies

4
Re: Nested multifield loop
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I am only using the code for outer loop and I have a console log within the loop. I have a parent multifield item, and it has 2 child items. The console log is printing 3 times (1 parent + 2 child item). Even though the outer loop is for parent and should only run once.

Views

186

Likes

0

Replies

0
Nested multifield loop
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a nested multified and I need to loop through the inner multifield items also. For outer multifield I was using :$(".coral3-Multifield-item").each(function( index ) {//body}

Views

257

Likes

0

Replies

3
Re: Fetch checkbox value (from within multifield)
Avatar
Applaud 25
Level 5
Shaheena_Sheikh
Level 5

Likes

16 likes

Total Posts

114 posts

Correct reply

1 solution
Top badges earned
Applaud 25
Applaud 5
Affirm 1
Validate 10
Validate 1
View profile
Shaheena_Sheikh
- Adobe Experience Manager
I have a similar issue with ADD button of multifield. I want to trigger a function when Add button is hit. It was working fine until i had only simple multifield. When i created a nested multifield, if i hit the inner Add button, even then my function gets triggered by the code: $(document).on("click", "button[coral-multifield-add]", function() {}). I want the function to trigger only when i it the outside add button

Views

209

Likes

0

Replies

0
Likes from