How to create a component multifield (new touch UI) | Community
Skip to main content
jo-facic
Level 2
October 16, 2015
Solved

How to create a component multifield (new touch UI)

  • October 16, 2015
  • 3 replies
  • 1423 views

Hi all,

I need to create a component of type multifield with 2 fields. (Watching the attached image)
All the examples of adobe multifield the component contains only one field and I have not found any documentation to help me.
Does anyone know how to do?

 

Thank's in advanced

 

Josi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

I would write the multifield using the classic dialog. A Classic dialog works in the Touch UI component. Even custom xtypes do. See:

http://helpx.adobe.com/experience-manager/using/creating-touchui-xtypes.html

Or you can take a look at these out of the box AEM 6 component that shows use of multifield.

The components which have multi fields in Touch UI dialogs are:

  • Foundation List
  • Foundation Carousel
  • Foundation Page
  • Target
  • Geometrixx Outdoors Tab Control

Plus a handful of Commerce components.

If you run this query, you'll see them:

//element(*)[@sling:resourceType='granite/ui/components/foundation/form/multifield']

3 replies

smacdonald2008
Level 10
October 16, 2015

You are correct- we do not have docs on this use case. I have added to this out list of community articles and will write this up. 

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

I would write the multifield using the classic dialog. A Classic dialog works in the Touch UI component. Even custom xtypes do. See:

http://helpx.adobe.com/experience-manager/using/creating-touchui-xtypes.html

Or you can take a look at these out of the box AEM 6 component that shows use of multifield.

The components which have multi fields in Touch UI dialogs are:

  • Foundation List
  • Foundation Carousel
  • Foundation Page
  • Target
  • Geometrixx Outdoors Tab Control

Plus a handful of Commerce components.

If you run this query, you'll see them:

//element(*)[@sling:resourceType='granite/ui/components/foundation/form/multifield']

jo-facic
jo-facicAuthor
Level 2
October 16, 2015

Hi,

I know that with the classical graphical works, I already did once but unfortunately all the components that I made ​​using the classical graphical were rejected. Must be developed all using the new graphical.

I had already checked all of these components are listed but if you look at all only contains a single field (node field) I can not add more than one field in a component of type multifield

 

Thank's in advanced