Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Populating Asset Metadata Dropdown with JSON

Avatar

Level 2

Hi

I was creating an asset metadata dropdown form feild and populating it with options from a JSON file. As long as I pass the path of a JSON file to the dropdown, it is populated fine. But when I try to pass path of a servlet to the JSON path in the form feild, it is no longer being populated.

Capture.PNG

The path of my servlet that I am passing to the form is: http://localhost:4502/bin/shadowing/metadataSchemaDropdown.json

The servlet is returning a valid JSON

Capture2.PNG

3 Replies

Avatar

Level 9

Avatar

Level 2

But I wanted to populate the dropdown from a JSON generated from a Servlet, if it is possible.

Avatar

Level 10