How to add multi line text in metadata schema? | Community
Skip to main content
Adobe Employee
November 7, 2022
Solved

How to add multi line text in metadata schema?

  • November 7, 2022
  • 2 replies
  • 1322 views

Hi,

There is a requirement from client that they want to change the single line text which is used for description to multi line text (Text Area). I see the that multi line text is added in the list of "/libs/dam/gui/coral/components/admin/schemaforms/formbuilder/v2/builditems.jsp" but not showing in the schema fields. Should we enable this field anywhere to show up in schema or create new field?

Please help with the process to enable the text area in metadata schema.

 

Thank you.

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 digarg17

This is not available OOTB.  I used a quick hack by going to crxde updating resource type as textarea  on local and using rows property  String "7"

You could also set resize to true if you want users to be able to resize it. Deploy it on rest AEM env.

https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/textarea/index.html

 

 

2 replies

krati_garg
Adobe Employee
Adobe Employee
November 7, 2022

@keerthana_h_n This is a default schema field available OOTB. 
-Can you please share the AEM version. 
-Please check for error logs, on both backend and client side (browser)
-Have you done any customization on top of the schema fields, or are there any custom schema fields in play
-A screen shot, would really help

digarg17Adobe EmployeeAccepted solution
Adobe Employee
November 7, 2022

This is not available OOTB.  I used a quick hack by going to crxde updating resource type as textarea  on local and using rows property  String "7"

You could also set resize to true if you want users to be able to resize it. Deploy it on rest AEM env.

https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/textarea/index.html