0 votes
1.1k 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.6k 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 172 views
asked Dec 15, 2016 in Coach Views by venkat (2.1k points)
0 votes
0 answers 593 views
0 votes
1 answer 697 views
+1 vote
0 answers 488 views
0 votes
1 answer 558 views
0 votes
0 answers 242 views
0 votes
1 answer 478 views
0 votes
2 answers 1.4k views
0 votes
0 answers 2.7k views
0 votes
0 answers 820 views
0 votes
0 answers 2.5k views
+1 vote
1 answer 2.9k views
0 votes
1 answer 897 views

635 questions

495 answers

98 comments

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