creating adaptive forms based on XML schema (bindRef for custom components)

anelem1760873 05-08-2019

Hi Guys,

Am creating adaptive forms based on xml schema as the form model, one of my xml element will be mapped to a custom component(its a custom color picker). How do we bind xml element from the schema to a custom component that i have in my adaptive form.

My second question : is it there any color picker component that's already in AEM we can use in Adaptive forms.

Thanks.

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (2)

Answers (2)

Mayank_Gandhi
Employee
26-08-2019

Why do you want map color picker(custom component) with schema)? Instead, let the customer choose the colour and you can bind a hidden( Or visible) OOTB Text field with the colour.

Thanks,

Mayank