How to handle datasource performance in multifield | Community
Skip to main content
ChaoXiong
Level 2
August 31, 2022
Solved

How to handle datasource performance in multifield

  • August 31, 2022
  • 2 replies
  • 680 views

Dears
I found that multifield seems to query the datasource every time when rendering data, which affects performance, is there a way to handle it?

 

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 arunpatidar

You can do it client side as well.

https://aemlab.blogspot.com/2022/01/aemaacs-touch-ui-dialog-dynamic-dropdown.html 

 

Use hidden field to store the authored multifield item dropdown value and set the drop from json response on dialog load.

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 31, 2022

You can do it client side as well.

https://aemlab.blogspot.com/2022/01/aemaacs-touch-ui-dialog-dynamic-dropdown.html 

 

Use hidden field to store the authored multifield item dropdown value and set the drop from json response on dialog load.

Arun Patidar
Saravanan_Dharmaraj
Community Advisor
Community Advisor
August 31, 2022

Client side has flexibility to improve the performance by populating the drop downs items once(byXHR call) and append drop down items to each multifield item and set the selected value.