<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to auto relaod page after updating through server script in portal? in CSM forum</title>
    <link>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2876325#M37730</link>
    <description />
    <pubDate>Mon, 25 Mar 2024 15:14:18 GMT</pubDate>
    <dc:creator>Rosy14</dc:creator>
    <dc:date>2024-03-25T15:14:18Z</dc:date>
    <item>
      <title>How to auto relaod page after updating through server script in portal?</title>
      <link>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2876325#M37730</link>
      <description />
      <pubDate>Mon, 25 Mar 2024 15:14:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2876325#M37730</guid>
      <dc:creator>Rosy14</dc:creator>
      <dc:date>2024-03-25T15:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to auto relaod page after updating through server script in portal?</title>
      <link>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2876331#M37731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/630491"&gt;@Rosy14&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;you can make a flag in the server script for page reload &lt;BR /&gt;for example in server script add "&lt;SPAN&gt;data.refresh = true"&lt;/SPAN&gt;&amp;nbsp;where your condition is met to reload the page&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In client script add this line to refresh the browser after if sees the flag&lt;/P&gt;
&lt;P&gt;if(c.data.refresh == true){&lt;BR /&gt;location.reload();&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hope this helps. Please mark the answer as correct/helpful based on impact.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Varun&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:22:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2876331#M37731</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-03-25T15:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to auto relaod page after updating through server script in portal?</title>
      <link>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2877226#M37743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;its showing a grayed out page.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rosy14_0-1711447434710.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/342302iBEAB70141DADB36D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rosy14_0-1711447434710.png" alt="Rosy14_0-1711447434710.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;record is updated but page is showing like that.. any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 10:04:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/csm-forum/how-to-auto-relaod-page-after-updating-through-server-script-in/m-p/2877226#M37743</guid>
      <dc:creator>Rosy14</dc:creator>
      <dc:date>2024-03-26T10:04:21Z</dc:date>
    </item>
  </channel>
</rss>

