Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Multifield item dropdown

Avatar

Level 4

I have a CLASSIC UI dialog multifield. For each multifield item, I have a dropdown that is populated from an expensive API call to an external system.

As the multifield could have 40+ items, I want to avoid making 40+ API calls to populate each item dropdown.

What is a good approach to solve this?

1 Accepted Solution

Avatar

Correct answer by
Level 7

You can cache the necessary things in JCR..Load dropdowns from JCR, if not there -> call API.. Once API returns, store the info in nodes again...

View solution in original post

3 Replies

Avatar

Administrator

smacdonald2008​ Any pointers?

~kautuk



Kautuk Sahni

Avatar

Level 10

Is there any way to re-organize the fields in your MF dialog. Sounds like you have too many fields in your dialog.

Avatar

Correct answer by
Level 7

You can cache the necessary things in JCR..Load dropdowns from JCR, if not there -> call API.. Once API returns, store the info in nodes again...