0 votes
851 views
in Coach Views by (2.1k points)
I have complex coachview that has child coachviews. UI taking longer than usual time to render. My requirement does not allow to use tabs or split in multiple coaches. Any ideas how can we engineer to lazy load sections . For example on selection from  drop down we display sections that has form. I like to load this form on selection only.

Thanks in advance..

2 Answers

0 votes
by (16.3k points)
You willl benefit from lazy loading only if your data retrieval before the coach load is taking time, in that scenario you can defer the loading of the non visible data to ajax calls, you just have to construct an ajax service  as needed possibly with multiple inputs and multiple outputs(even complex variables can come back and get assigned to coach view complex variables), then on change of the selection invoke the ajax call and let it update the data of the view you can hide the view initially and only make it visible when data is rettrieved back i.e. as part of the callback function. Let me know if you run accross issues.
by (16.3k points)
lazy loading of rendering is available in Brazos toolkit e.g. for tabs if you have too many controls on not initially visible tabs you can benefit from it
by (21.5k points)
lazy loading of component coach views can be achieved using BPM UI Toolkit/Spark Toolkit with deferred section where you can set a delay for rendering e.g. for initially non visible UI areas
0 votes
by (1.2k points)
You can use the Deferred Section control for lazy loading.

Related questions

0 votes
0 answers 125 views
asked Dec 14, 2016 in Coach Views by venkat (2.1k points)
0 votes
0 answers 480 views
0 votes
1 answer 502 views
+1 vote
0 answers 411 views
0 votes
1 answer 417 views
0 votes
0 answers 170 views
0 votes
1 answer 326 views
0 votes
2 answers 921 views
0 votes
0 answers 1.5k views
0 votes
0 answers 671 views
0 votes
0 answers 2.0k views
+1 vote
1 answer 2.4k views
0 votes
1 answer 737 views

634 questions

495 answers

97 comments

2.7k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...