Is there a way to load the widgets one after another in Service Portal page?

kbc
Tera Contributor

How load the widgets in synchronous manner?

My Requirement is - I have two widgets like widget 1 and widget2.

My expectation is after loading the widget 1, i want to load widget 2. How can i achieve this requirement?

1 ACCEPTED SOLUTION

Oleg
Mega Sage

I suppose that you formulate your question not exactly. Loading "in synchronous manner" means for me blocking UI, which isn't good. I suppose that you want to ask that you want to load the second widget from inside of the first widget. It can be that you need the options of the second widget could be dynamic and will be evaluated during execution of the server part (of the client part) of the first widget. See here or here.

Could you append your question with more detailed information what you need to implement? I think than an example could be helpful too.

View solution in original post

2 REPLIES 2

Oleg
Mega Sage

I suppose that you formulate your question not exactly. Loading "in synchronous manner" means for me blocking UI, which isn't good. I suppose that you want to ask that you want to load the second widget from inside of the first widget. It can be that you need the options of the second widget could be dynamic and will be evaluated during execution of the server part (of the client part) of the first widget. See here or here.

Could you append your question with more detailed information what you need to implement? I think than an example could be helpful too.

kbc
Tera Contributor
Thanks for your response olegki.