내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Dynamically populate the value of "textfield" z in "custom" tab in page properties when value is authored for custom property say x[textfield] in Basic tab.

Avatar

Level 9

Hi All,

Any thoughts/ code snippet/reference  on this will be really helpful.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 9

Hi Scott/Kautuk,

Thank you for your reply.

Tried the below and its working ok.

function(comp) { var dlg = comp.findParentByType('dialog'); var sel = dlg.getField('./title').getValue(); var field = dlg.getField('./title1');field.setValue(sel);}

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Level 9

Hi All,

Any thoughts here would be helpful.

Avatar

Level 10

The tab you are referring to belongs to the page property dialog. We do not have a helpx community article on this. The dicsussions we have in Helpx are for custom components, not for site admin dialogs. 

I will search within adobe to see if anyone had done this use case.

Avatar

Level 9

Hi Scott,

Thank you for your reply. Awaiting response from your end.

Avatar

Administrator

Hi 

I am not sure, if this would help you, but to create a custom property dialog, you would need to overlay it.

Link:- https://helpx.adobe.com/experience-manager/kb/CQ5PageProps.html

//If you had a page component /apps/<myapp>/components/pages/contentpage that hassling:resourceSuperType=/libs/foundation/components/page then you would copy/libs/foundation/components/page/dialog to /apps/<myapp>/components/pages/contentpage/ to make an overlaid dialog

Link:- https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-page-dialog

Link:-http://www.slideshare.net/martinischeery/aem-61-user-interface-customisation

 

Now question would be reduces to how to fill default values dynamically?

Link:- https://myprogressivelearning.wordpress.com/2015/01/21/setting-default-value-to-the-drop-down-of-dia...

Link:- http://experience-aem.blogspot.in/2015/02/aem-6-sp2-touch-ui-multi-field-component.html

if you want to fetch value from other component, then create a service/component that will use JCR API to fetch the information and later populate it.

 

Thanks and Regards

Kautuk Sahni 



Kautuk Sahni

Avatar

정확한 답변 작성자:
Level 9

Hi Scott/Kautuk,

Thank you for your reply.

Tried the below and its working ok.

function(comp) { var dlg = comp.findParentByType('dialog'); var sel = dlg.getField('./title').getValue(); var field = dlg.getField('./title1');field.setValue(sel);}

Avatar

Level 1

How can we do the same in touchUI/AEM6.3?