If you want your SharePoint page to automatically refresh after a specific number of seconds then the same can be done with ease. All you need to do this is, to add a Content Editor Web Part and then a JavaScript to the source editor.
In this blog post, we will take into account all the steps for auto refreshing SharePoint Page. Typically, AJAX-based approach is considered more suitable in this regard. However, here we will discuss the quicker way of doing this with ease.
Adding Auto-Refresh Content Editor Web Part and Using JavaScript Code – The Process Involved
You can also deploy the Auto-Refresh Content Editor Web Part to create a dashboard that refreshes automatically as per a fixed schedule. For this, you need to follow steps mentioned below –
1. Go to the corresponding page and edit it. Ensure that you have the necessary rights & permissions for the same.
2. Add the Web Part to your page
3. Go to “Media and Content” Category > Content Editor Web Part and select the suitable option from the dropdown for “Add Web Part to“. In our case, we have chosen “Header“
2. Add the Web Part to your page
3. Go to “Media and Content” Category > Content Editor Web Part and select the suitable option from the dropdown for “Add Web Part to“. In our case, we have chosen “Header“

5. Update following settings –
● Select “Refresh the Web Page” for Title
● Select “None” as the Chrome Type
● Select “None” as the Chrome Type
6. Click OK
7. Next, click section “Refresh the Web Page” to add script to the webpage. You will see a cursor in the content area
8. In the content area, go to Editing Tools > Format Text and choose “Edit HTML Source” from the HTML dropdown


Comments