"Multi Value Text Field" appearing single line text in Touch UI | Community
Skip to main content
Level 4
October 16, 2015
Solved

"Multi Value Text Field" appearing single line text in Touch UI

  • October 16, 2015
  • 8 replies
  • 2618 views

Hi,

We need to extend the image editor in Touch UI to accommodate some more metadata field. For the same we extended the default metadata schema and added corresponding fields. However, when we configure "Multi Value Text Field" , it appears as a single text field in Touch UI in image editor. How to add multiple values in it ?

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 gopalKa

There is an ugly workaround. You can add another field in schema editor with "Map to property" same as the one given in multi value text field. When you submit, both the values will be saved on the same property as multi value. There is an enhancement request to create a proper multifield for this. I cannot confirm when that will be available. If you want to customize on your own, please refer to http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__fh3k-i_see_thereareootb.html where i have explained how to extend.

8 replies

Adobe Employee
October 16, 2015

Do you want to use something like the tag field or autocomplete field ?    These two will allow you to have multiple values. Please have a look and let me know if this suits your usecase.

sumitc22Author
Level 4
October 16, 2015

Thanks for your reply. We are actually looking for multi text field only. Tags will not suit our purpose.I do not see any autocomplete element in build form section.

How to get the same ? We are using AEM 6 with SP2

Adobe Employee
October 16, 2015

Please add a space after the "," when you add the values. for ex., wwwwwwww, wwwwwwwwwwwwwwwww, ererere

sumitc22Author
Level 4
October 16, 2015

That is not an elegant solution.We need to give "," to have multi text ? Also, if the text is short , it does not even come in next line.

Adobe Employee
October 16, 2015

Thanks for the reply. Let me try to get you an example for the multi value text field.

Adobe Employee
October 16, 2015

please provide an example for "if text is short, it doesnt not come in next line"

sumitc22Author
Level 4
October 16, 2015

Attached 2 screenshots of edit and view mode.Please have a look

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

There is an ugly workaround. You can add another field in schema editor with "Map to property" same as the one given in multi value text field. When you submit, both the values will be saved on the same property as multi value. There is an enhancement request to create a proper multifield for this. I cannot confirm when that will be available. If you want to customize on your own, please refer to http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__fh3k-i_see_thereareootb.html where i have explained how to extend.