コミュニティアチーブメントバーを展開する。

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!