Multifield item dropdown | Community
Skip to main content
Level 3
Aug 9, 2017 10:37 AM UTC
Solved

Multifield item dropdown

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
viveksachdeva
viveksachdevaAccepted solution
New Participant
Aug 15, 2017 3:36 AM UTC

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...

3 replies

viveksachdeva
viveksachdevaAccepted solution
New Participant
Aug 15, 2017 3:36 AM UTC

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...

Translate
smacdonald2008
Level 10
Aug 10, 2017 12:42 PM UTC

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

Translate
kautuk_sahni
Employee
Aug 10, 2017 9:35 AM UTC

smacdonald2008​ Any pointers?

~kautuk

Translate
Kautuk Sahni