How to handle datasource performance in multifield | Community
Skip to main content
ChaoXiong
Level 2
Aug 31, 2022 9:20 AM UTC
Solved

How to handle datasource performance in multifield

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 31, 2022 12:10 PM UTC

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

2 replies

Saravanan_Dharmaraj
New Participant
Aug 31, 2022 1:58 PM UTC

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. 

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 31, 2022 12:10 PM UTC

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.

Translate
Arun Patidar