since ‎01-01-2018
‎19-11-2020
maheswariv26797
Level 1
Re: Listeners for multifield in aem classic ui
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
@Manjunath_K please find the below code snippet which im using. Please suggest if its wrongListener: loadcontent eventfunction(field){console.log("dialog is loading");var parent=this.findParentByType('dialog');var f=parent.getField('./cardvalues').findByType('multifieldpanel');if(this.getValue()=='first-dropdown-value'){for(var i=0;i

Views

118

Likes

0

Replies

0
Re: Listeners for multifield in aem classic ui
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
@Manjunath_K Yes, I have tried debugging it. Its getting hidden while debugging but at the end of the function, all the fields are showing up.

Views

152

Likes

0

Replies

0
Listeners for multifield in aem classic ui
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi,I have a classic ui dialog which is having two fields.One is dropdown with three values another is multifield.When i select a value in the dropdown, some particular fields should be shown in the multifield based on the selected dropdown value.I have written listeners for this and is working fine on change of the dropdown value(used selectionchanged listener event). But on load of the dialog, irrespective of selected dropdown value, all the fields are showing up in the multifield.I have writte...

Views

186

Likes

0

Replies

6
Re: Json Values in nested multifield
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi @Manjunath_K, Thanks! this solution is working. Thanks,Mahi

Views

149

Likes

0

Replies

0
Json Values in nested multifield
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi, Iam having a nested multifield and values are getting stored as json format in the jcr:content.However, '\' character is getting appended for the nested multifield values.Json Values:{"title":"page1","description":"this is description","ctaLinks":["{\"linkpath\":\"/content/maximintegrated/en/products\",\"linktitle\":\"title1\"}","{\"linkpath\":\"/content/maximintegrated/en\",\"linktitle\":\"title2\"}"],"ctaButtons":["{\"buttontitle\":\"button1\",\"buttonurl\":\"/content/maximintegrated\",\"b...

Views

190

Likes

0

Replies

5
nested multifield in aem classic ui
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi,I have a nested multifield in aem classic ui. The values are being stored in json format in jcr:content. But the problem is inner multifield values are not getting stored in json along with the outer multifield values. Can anyone please tell me how to do this in aem classic UI? Thanks,Mahi

Views

120

Likes

0

Replies

1
Default Values are not getting displayed when component is drag and dropped
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi, I am pre-populating the multifield values in the dialog using listeners in classic ui. But when i drag and drop the component in the page, those values are not getting displayed. But when i open the dialog and click 'OK', then the values are getting displayed. So what i need to do so that values will be displayed as soon as the component is dropped on the page.Can someone help me on this. Thanks,Maheswari

Views

183

Likes

0

Replies

3
Re: Default entries in multifield with different default...
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Thanks for your response. However, I want this to be done in classic UI. Can you please tell how to achieve in classic ui

Views

131

Likes

0

Replies

0
Default entries in multifield with different default values
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi, I have a requirement where i need to show 3 default entries in the multifield with 3 different values. I have used the field.addItem(); field.doLayout(); to get the default entries using listeners. However, iam not getting how to add content to these 3 default entries.Can someone please help me. Thanks,Maheswari

Views

156

Likes

0

Replies

4
Disable delete button in multifield for particular tabs
Avatar

maheswariv26797

maheswariv26797
- Adobe Experience Manager
Hi, I have a requirement where i need to disable the delete button in the multifield only for few entries based on the text entered. My multifield consists only one field i.e a text field Can anyone help me how to achieve this.Thanks,Mahi

Views

114

Likes

0

Replies

1