Multifield item dropdown | Community
Skip to main content
August 9, 2017
Solved

Multifield item dropdown

  • August 9, 2017
  • 3 replies
  • 1393 views

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.
Best answer by viveksachdeva

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

kautuk_sahni
Community Manager
Community Manager
August 10, 2017

smacdonald2008​ Any pointers?

~kautuk

Kautuk Sahni
smacdonald2008
August 10, 2017

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

viveksachdeva
Community Advisor
viveksachdevaCommunity AdvisorAccepted solution
Community Advisor
August 15, 2017

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