Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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 ?

1 Accepted Solution

Avatar

Correct answer by
Employee

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-manage... where i have explained how to extend.

View solution in original post

8 Replies

Avatar

Employee

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.

Avatar

Level 4

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

Avatar

Employee

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

Avatar

Level 4

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.

Avatar

Employee

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

Avatar

Employee

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

Avatar

Level 4

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

Avatar

Correct answer by
Employee

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-manage... where i have explained how to extend.