since ‎17-11-2020
14 hours ago
Shaheena_Sheikh
Level 1
Re: unable to fetch dropdown value correctly
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
@Shaheena_Sheikh Is granite:class property value(cq-dialog-dropdown-showhide-multi) same for both select fields?

Views

16

Likes

0

Replies

0
Re: Check if new item is added to the multifield
Avatar

asutosh_jena

asutosh_jena
- Adobe Experience Manager
Sounds good!

Views

29

Likes

0

Replies

0
Re: Loop not working for multifield
Avatar

asutosh_jena

asutosh_jena
- Adobe Experience Manager
Hi @Shaheena_Sheikh Targeting the button element only should resolve it. (function (document, $, ns) { "use strict"; $(document).on("click", "button[coral-multifield-add]", function (e) { e.stopPropagation(); e.preventDefault(); //Code from here $(".coral3-Multifield-item").each(function (index) { console.log("add item"); }) });})(document, Granite.$, Granite.author);

Views

32

Likes

0

Replies

0
Re: Granite:id to granite:class
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
add [0] as let fontField = $(this).find(".fontField")[0]; should work.

Views

45

Likes

0

Replies

0
Re: Disabling a field in dialog
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
Yes, I am using JS to make my field readOnly. Thanks for the info.

Views

70

Likes

0

Replies

0
Re: ID for a field in multified
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
@Shaheena_Sheikh Updated above post with code snippet

Views

109

Likes

0

Replies

0
Re: loading clientlib for dialog
Avatar

Veena_Vikram

MVP

Veena_Vikram
- Adobe Experience Manager
I agree with @Bhuwan_B and @Rohit_Utreja , your best bet here is to create a clientLib specific for your component dialog including those JS which you need and then loading it to the dialog via extraClientLibs . ThanksVeena ✌

Views

83

Likes

2

Replies

0
Re: Refresh page after editing component
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
@Vaibhavi There is chance of race condition because form submit is async POST call and submit is a call back function. @Veena_Vikram point/case might be possible.And most importantly cq:editConfig's cq:listener events will never reload the actual edit page, but the iframe(content iframe in edit mode) will be refreshed and edit overlay will be reinitialized/reset.@Shaheena_Sheikh If you are want actually reload the actual page then you can try @Vaibhavi approach, butPage will be reloaded like you...

Views

97

Likes

2

Replies

0
Re: Add field description property dynamically to the dia...
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
thanks for the solution. I too found another way of dealing with it. I am removing/adding the ID everytime theres a validation to keep only a single alert.

Views

131

Likes

0

Replies

0
Re: ACS report
Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
- Adobe Experience Manager
Hi @Shaheena_Sheikh,You can use "Report Builder" from ACS commons.Frame a query and have the results sets verified via querydebug.html and use that query to configure new report via "Add Report" CTA.Please let know if you are looking for any other details in particular.

Views

74

Like

1

Replies

0
Re: Multifield issue - validation
Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
- Adobe Experience Manager
Just a hint, how can you display the exact field occurance in the popuphttps://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html

Views

95

Like

1

Replies

0
Re: checkbox in dialog
Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
- Adobe Experience Manager
Either use native javascript or jquery, Please check all the supported method for Coral3 checkbox at https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/coral-ui/coralui3/Coral.Checkbox.html

Views

81

Like

1

Replies

0
Re: fetch window URL and verify using data-sly-test
Avatar

davidjgonzalezzzz

davidjgonzalezzzz
- Adobe Experience Manager
Yes - the wcmmode code will work when you deploy it to your live site on whatever domain. The wcmmode on AEM Publish is always "disabled". Think of it this way, AEM uses "wcmmode = disabled" when the page should be rendered without all the WCM (Web Content Management) bells and whistles that are used by authors to author the content.

Views

102

Likes

0

Replies

0
Re: How to now publish mode & edit mode in HTL?
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
what is data-sly-test = "${author}"? That doesn't work for me

Views

188

Likes

0

Replies

0
Re: colorfield and datasource
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
Welcome 🙂

Views

122

Likes

0

Replies

0
Re: Adding secure attribute to cookie
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
@Shaheena_Sheikh ,if you don't make your cookie secure, then the cookie can be transmitted over the HTTP connection. so if you use HTTPS also, it is good practice to make your cookie secure.Check below code Cookie emailCookie = new Cookie("email", email);emailCookie.setPath("/");emailCookie.setMaxAge(31536000);emailCookie.setPath(";Path=/;HttpOnly;");;emailCookie.setSecure(true);response.addCookie(emailCookie); The cookies which you create using javascript also should make secure.

Views

133

Likes

2

Replies

0
Re: Adding secure and httponly attributes to JSESSIONID cookie
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
Did you find a solution to this?

Views

35

Likes

0

Replies

0
Re: Use Api in JS
Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
Thank you for sharing the answer with community.

Views

92

Likes

0

Replies

0
Re: Fetch node property value of asset whose Properties p...
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
Hi @Shaheena_Sheikh, If you want to get the meatadata node values just use /_jcr_content/metada in place of .infinity. I have updates my answer above check.

Views

122

Likes

0

Replies

0
Re: Prevent image from auto download
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager Assets
That is working for specific images. How can I set it up for all the images in a particular folder under /content/dam?

Views

117

Likes

0

Replies

0
Re: Custom Validation to Asset Metadata
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
The solution is to add the category as dam.gui.coral. and it gets loaded!

Views

148

Likes

0

Replies

0
Re: Cascading checkbox in metadata schema of asset
Avatar

BrianKasingli

MVP

BrianKasingli
- Adobe Experience Manager
When creating a custom DAM Asset schema, you must copy a default schema (so you will have all the standard default DAM Asset field options), then you should amend the schema; to add your checkbox field option. The default schema fields are recommended by Adobe, so when you are planning to remove default fields, remove them with care. After copying a default schema to apply your own changes, you will realize that all default fields (cascading options like you said) will be visible.

Views

116

Like

1

Replies

0
Re: ACS Commons Generic List
Avatar

BrianKasingli

MVP

BrianKasingli
- Adobe Experience Manager
@Shaheena_Sheikh,If you are using the Generics list for dialogues, then you can place it right under /apps. Just make sure you are using the expected resourceType (acs-commons/components/utilities/genericlist) when creating the generics list resource. I have just tested this out by placing my generics list under /apps/my-site/lists, and it is working fine.

Views

136

Likes

2

Replies

0
Re: Clientlib issue
Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
@Anudeep_Garnepudi, nice reply. Thank you.

Views

125

Likes

0

Replies

0
Re: hex code for no color in colorField
Avatar

Anudeep_Garnepudi

MVP

Anudeep_Garnepudi
- Adobe Experience Manager
@Shaheena_Sheikh Try input.trim() !=== "" (if there is space in value property) if still not working then try to check the reverse condition input.charAt(0) === "#"

Views

132

Likes

2

Replies

0
Re: Clientlib query
Avatar

Veena_Vikram

MVP

Veena_Vikram
- Adobe Experience Manager
Unless you mention the libraries which needs to be picked up explicitly ( as explained by @BrianKasingli and @dgordon86 ) , AEM will not be able to identify which file it needs to pick for your component. You have to define the clientLibs categories and include that to either head or foot

Views

132

Likes

2

Replies

0
Re: Uncaught TypeError: $(...).adaptTo is not a function
Avatar

pillaivinit

pillaivinit
- Adobe Experience Manager
@Shaheena_Sheikh The problem which I was actually facing was that, clientlib containing jquery was loading after this script hence without jquery all $ functions were not working. By main category I meant the clientlib category were jquery is kept. You can check the sequence of scripts/clientlibs loaded in the tag of the page where you are getting the error. Regarding second comment, If you have created separate clientlib with separate category and the scripts are not getting added then you sho...

Views

159

Likes

0

Replies

0
Re: Overlay/Override granite colorfield
Avatar

Shaheena_Sheikh

Shaheena_Sheikh
- Adobe Experience Manager
thanks that works

Views

372

Likes

0

Replies

0
Likes from