cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing First View on click of button in second view

Former Member
0 Kudos

Dear All,

I have a view in whcih I have a table to display the employee requests.On lead select of table I will display another view

in which manager can approve or reject the employee request.

After approving the request if manager clciks on back buton again I am displaying the first view using outbound plug.Here I need not to show the approved or rejected request in the table.

But on click of back button the first view is not getting refreshed it is still showing the approved request in the table.

If I refresh using F5 the approved request is disapearing.

Please help in refresing the screen on clcik of back button in second screen.

Thanks,

Reddy.

Accepted Solutions (0)

Answers (2)

Answers (2)

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

when you click on the back button , the first view still has the old values....

when you press F5, the logic which you have used to display the data in view one, gets triggered and that is the reason the approved request disappears...

on click of the back button, run the logic which you have used to display the data in view 1, place the logic in component controller so that you can use it globally. when pressed back, trigger the global method and it witll bind the data which doesnt have approved request

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

You need to rerun the logic again and need to bind it to the table