cancel
Showing results for 
Search instead for 
Did you mean: 

How to refresh CSCockpit return request entries on changes

0 Kudos
297

Hi Experts,

We have customized the CSCockpit return request OOTB and added Update Button on each entry, On click on Update Button a wizard open with specific field on wizard configured to update.

On click on "done" button on Update wizard, its updated the return request entry. The update is reflected on HMC but not on return request entries until we explicitly refresh the page or click on Refresh button on Order Detail Items button over there.

Could you please suggest how we can configure so that the return request get automatically refreshed on click on "done" button on Wizard.

Thanks

View Entire Topic
0 Kudos

Hi Deepka,

The below snippet of java code will refreshes the page. Try placing below snippet in the place where you are expecting that to be refreshed.

 widget.getWidgetController().dispatchEvent(null, widget, null);

Regards,

Raghavendra.

0 Kudos

Hi Raghavendra,

I am using wizard for updating the return request through controller class and there i have wizard not widget. So how can i get widget in controller class.

Or we have find another approach?

Thanks Deepak

0 Kudos

Hi Deepak,

There will be a controller for your wizard page controller, by using that particular controller, please use below snipper of code.

 getCustomController().dispatchEvent(null, this, null);