<?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 Automatically reload page after clicking button on portal in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979414#M1127286</link>
    <description>&lt;P&gt;How to achive this?&lt;/P&gt;&lt;P&gt;codes are below.&lt;/P&gt;&lt;P&gt;HTML&lt;/P&gt;&lt;P&gt;&amp;lt;button type="button" class="btn btn-default" ng-click="c.uiAction2('select')" ng-if="data.showButtonSel"&amp;gt;${Select Quote}&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client side:&lt;/P&gt;&lt;P&gt;c = this;&lt;BR /&gt;c.uiAction2 = function(action) {&lt;BR /&gt;c.data.action2 = action;&lt;BR /&gt;c.server.update().then(function() {&lt;BR /&gt;c.data.action2 = undefined;&lt;BR /&gt;})&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server:&lt;/P&gt;&lt;P&gt;if (input.action3 == 'approve') {&lt;BR /&gt;qu = new GlideRecord("sn_customerservice_quotes");&lt;BR /&gt;qu.get(data.sys_id);&lt;BR /&gt;qu.query();&lt;BR /&gt;while (qu.next()) {&lt;/P&gt;&lt;P&gt;qu.setValue('state', app);&lt;BR /&gt;qu.update();&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 07:43:01 GMT</pubDate>
    <dc:creator>Rosy14</dc:creator>
    <dc:date>2024-07-03T07:43:01Z</dc:date>
    <item>
      <title>Automatically reload page after clicking button on portal</title>
      <link>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979414#M1127286</link>
      <description>&lt;P&gt;How to achive this?&lt;/P&gt;&lt;P&gt;codes are below.&lt;/P&gt;&lt;P&gt;HTML&lt;/P&gt;&lt;P&gt;&amp;lt;button type="button" class="btn btn-default" ng-click="c.uiAction2('select')" ng-if="data.showButtonSel"&amp;gt;${Select Quote}&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client side:&lt;/P&gt;&lt;P&gt;c = this;&lt;BR /&gt;c.uiAction2 = function(action) {&lt;BR /&gt;c.data.action2 = action;&lt;BR /&gt;c.server.update().then(function() {&lt;BR /&gt;c.data.action2 = undefined;&lt;BR /&gt;})&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server:&lt;/P&gt;&lt;P&gt;if (input.action3 == 'approve') {&lt;BR /&gt;qu = new GlideRecord("sn_customerservice_quotes");&lt;BR /&gt;qu.get(data.sys_id);&lt;BR /&gt;qu.query();&lt;BR /&gt;while (qu.next()) {&lt;/P&gt;&lt;P&gt;qu.setValue('state', app);&lt;BR /&gt;qu.update();&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 07:43:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979414#M1127286</guid>
      <dc:creator>Rosy14</dc:creator>
      <dc:date>2024-07-03T07:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload page after clicking button on portal</title>
      <link>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979447#M1127297</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 use &lt;SPAN&gt;window.location.reload(); to reload the page.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 08:03:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979447#M1127297</guid>
      <dc:creator>Anirudh Pathak</dc:creator>
      <dc:date>2024-07-03T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload page after clicking button on portal</title>
      <link>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979458#M1127303</link>
      <description>&lt;P&gt;Where should I add this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 08:07:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979458#M1127303</guid>
      <dc:creator>Rosy14</dc:creator>
      <dc:date>2024-07-03T08:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload page after clicking button on portal</title>
      <link>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979466#M1127309</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;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In your client side code&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 08:11:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/automatically-reload-page-after-clicking-button-on-portal/m-p/2979466#M1127309</guid>
      <dc:creator>Anirudh Pathak</dc:creator>
      <dc:date>2024-07-03T08:11:39Z</dc:date>
    </item>
  </channel>
</rss>

