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

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

Mark Solution

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

해결됨

touch UI dialog with Object Array ?

Avatar

Level 3

Hello Community

I have a question about touch UI Dialog.

I am try to make a field that contain text and url ( or id in the page ). It can be populated depend on what the author wants.

I found String [] type but If I use the string [] type, text and url won't be together. So it can give mismatch result.

If there were Object [] or similar to that, I think I can do like

     Object []

          - String : text

          - String : url

Use case can be listed link.

Do you know how to make the Dialog ?

Thank you for the help!

Ryu

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

I would use a MF in a Touch UI where an author can enter a String and URL value for each section that want to add.

Each MF would contain:

- String : text

- String : url

As shown here - a MF can contain many text fields.

Dialog2.png

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
Level 10

I would use a MF in a Touch UI where an author can enter a String and URL value for each section that want to add.

Each MF would contain:

- String : text

- String : url

As shown here - a MF can contain many text fields.

Dialog2.png

Avatar

Level 10

Then you can read the data fields on the backend of the component and place them into a collection object.

Avatar

Level 3

Thanks you, smacdonald2008​!

I was google around a bit and found ACS-common package tho

Do I need to install the ACS-common to use Multifield or it comes with granite-ui ?

Thanks!

Avatar

Level 10

See this article - it will teach you how to build and work with MF:

Scott's Digital Community: Creating an AEM HTML Template Language 6.3 component that uses a Multifie...

Avatar

Level 3

Thank you!