Refresh a View

  • 3 October 2013
  • 3 replies
  • 8 views

Badge +8

I'm sure this is possible via a rule but cant seem to find how to achieve it.


I have a view which reads information from a SharePoint List. 
On the view is an edit button which opens up a smartform to display the record.
The user updates information and then hits save to update the sharepoint List.
The smartform is closed and at this point I'd like to automatically refresh the list so that the changes are shown.  I have a manual Refresh button but would like to automate if possible.

Any suggestions?
Paul


3 replies

Badge +6

cant you add a rule to initialize the view?

Badge +3

On your rule to close the smartform you can add a rule to execute another rule - link this to the Refresh Button rule


I think this should do what you are after, just make sure you execute this rule before the one that closes the form

Badge +3

I've done this by Creating a rule on my view using "When the view executes a method" and used "List Refresh" then needed to execute a get list to retrieve the updated values from the Sharepoint list.


I then have a rule on my button to "Execute another rule" and point it to the List refresh rule to execute after the Update and before I collapse the detail view. 


This would avoid using the page refresh to fire the Initialize on the list. 

Reply