auto refresh a list


Posted by jpwallace - Feb 1 ’17 at 04:12

I have a list called Departments, this list has been put in a web part on a page called Departments.  I placed a content editor on the page with some JS to hypelinked text which reads Add New Department. When this linked is clicked the SPForm opens up as you would expect, when i enter a new department and click Add, the dialog closes as you would expect but the list doesnt automatically refresh so you can see the newly added department. Is there a way i can make the list that is on the page auto refresh after adding a new department?

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 6 years 2 months 18 days
    #1 by Dmitry Kozlov Feb 2 ’17 at 05:07

    Why don't you use the Related Items control? It refreshes the page automatically after adding a new item.

Displaying 1 to 1 of 1 messages