Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.5 Content Fragments not saving data in a multi-select dropdown enumeration type

Avatar

Avatar
Level 1
erickteowarang
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
erickteowarang
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
erickteowarang
Level 1

30-05-2021

Hi community, 

I've created an enumeration type for a Content Fragment I made with the multiple option set to true. Unfortunately even though the UI appears fine and I am able to select multiple options, after I click save, nothing happens. 

The XML structure of the field:

<countries
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldLabel="Countries"
metaType="enumeration"
multiple="{Boolean}true"
name="regions"
options="Australia, New Zealand, United Kingdom, United States, Canada"
renderReadOnly="false"
required="on"
showEmptyInReadOnly="true"
valueType="string[]">

 Am I doing something wrong or is the multi-select not currently supported in CFs?

AEM 6.5 content fragments

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

639 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

639 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

01-06-2021

Hi @erickteowarang,

Content Fragment Model Editor UI (as we navigate via Tools -> Assets -> Content Fragment Models) has no option to enable multiple options/set multiple -> true for Enumeration

Are you making this change directly in the dialog via CRXDE ?

Note : I checked in AEM 6.5.0

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,346 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

01-06-2021

Hi,

I don't think so if multiple option is supported.

I tried with 

valueType="string[] 

and with

valueType="string

 It works only with single value though you can select multiplöe but only first values is getting stored.