Expand my Community achievements bar.

SOLVED

AEM Content Fragments: Dropdown Limits in Metadata Schemas?

Avatar

Level 2

Q: On AEM 6.4.2 for Content Fragments, are there any item count limits for Dropdowns menu items in custom Metadata Schemas?

I am not seeing all of the entries in my file.

1695894_pastedImage_0.png

I've defined the entries of the Dropdown using an external json file as follows.

1695895_pastedImage_2.png

Method based on this blog post:
Using a JSON file with the Dropdown widget on the Metadata Schema | Content Management

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Ahh ok, For me it is not showing any error while clicking on add manually and loading parsed JSON options. I tried in AEM 6.4

And I can see all the options in dropdown, I tired for 251 options.

chrome-capture.gif

chrome-capture (1).gif



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi,

Can you click on Add Manually options and see if you can see all the values of JSON there, if not there could be issue with your JSON file.

I tried for almost 50 options, can see all.



Arun Patidar

Avatar

Level 2

Hello Arun,

I ran the json file through https://jsonlint.com/ and it is Valid.

Also, clicking on Add manually does not read the json file:

1696320_pastedImage_1.png

Avatar

Level 2

Also, the total number of menu entries in this JSON file is 250.

Avatar

Correct answer by
Community Advisor

Ahh ok, For me it is not showing any error while clicking on add manually and loading parsed JSON options. I tried in AEM 6.4

And I can see all the options in dropdown, I tired for 251 options.

chrome-capture.gif

chrome-capture (1).gif



Arun Patidar

Avatar

Level 10

As Arun pointed out, this seems to work - if you are not getting the same results - could be a bug. Please open a support ticket.