<?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 Restrict Portal Users from go to Now platform. in Platform Analytics forum</title>
    <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482605#M63323</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We want to restrict Our portal Users (CSM portal) to go to Now Platform.&amp;nbsp;&lt;BR /&gt;We have a UI script and modified spEntryPage as well.&lt;BR /&gt;UI script currently works well when someone removed&amp;nbsp; "/csm" and spEntryPage redirects users to the right portal.&lt;BR /&gt;Problem is when someone copy pasted url like "now/nav/ui" or "now/sow/home" they get access of now platform.&lt;BR /&gt;We want to restrict it and redirect them again to CSM Portal.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 13:07:42 GMT</pubDate>
    <dc:creator>rohanbhatia</dc:creator>
    <dc:date>2026-02-05T13:07:42Z</dc:date>
    <item>
      <title>Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482605#M63323</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We want to restrict Our portal Users (CSM portal) to go to Now Platform.&amp;nbsp;&lt;BR /&gt;We have a UI script and modified spEntryPage as well.&lt;BR /&gt;UI script currently works well when someone removed&amp;nbsp; "/csm" and spEntryPage redirects users to the right portal.&lt;BR /&gt;Problem is when someone copy pasted url like "now/nav/ui" or "now/sow/home" they get access of now platform.&lt;BR /&gt;We want to restrict it and redirect them again to CSM Portal.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 13:07:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482605#M63323</guid>
      <dc:creator>rohanbhatia</dc:creator>
      <dc:date>2026-02-05T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482606#M63324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/769888"&gt;@rohanbhatia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0746730" target="_blank"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0746730&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 13:10:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482606#M63324</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2026-02-05T13:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482618#M63326</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/769888"&gt;@rohanbhatia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the same UI script you can use to enhance and if they visit platform inform them and redirect to portal&lt;/P&gt;
&lt;P&gt;share your current UI script&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 13:30:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482618#M63326</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2026-02-05T13:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482621#M63327</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; chkGRP = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;GlideAjax&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'abc'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;chkGRP.addParam(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_name'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'checkGroupMembership'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;chkGRP.addParam(&lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_function'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'user'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;chkGRP.getXMLWait();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;redirect(chkGRP.getAnswer());&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; redirect(answer) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (answer == &lt;/SPAN&gt;&lt;SPAN&gt;'true'&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; document.&lt;/SPAN&gt;&lt;SPAN&gt;URL&lt;/SPAN&gt;&lt;SPAN&gt;.indexOf(&lt;/SPAN&gt;&lt;SPAN&gt;'/csm'&lt;/SPAN&gt;&lt;SPAN&gt;) == -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; window.location.href = &lt;/SPAN&gt;&lt;SPAN&gt;'/csm'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Feb 2026 13:32:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482621#M63327</guid>
      <dc:creator>rohanbhatia</dc:creator>
      <dc:date>2026-02-05T13:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482644#M63328</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/769888"&gt;@rohanbhatia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here you are checking some user and if the index is not CSM then taking them to CSM&lt;/P&gt;
&lt;P&gt;So you want user should never navigate to native and should always be taken to CSM?&lt;/P&gt;
&lt;P&gt;for this the above code is not working?&lt;/P&gt;
&lt;P&gt;Even if user navigates to now/sow or any other page it should work&lt;/P&gt;
&lt;P&gt;share your UI script complete config screenshot and complete script&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:01:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482644#M63328</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2026-02-05T14:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482647#M63329</link>
      <description>&lt;P&gt;Ui type = desktop&lt;BR /&gt;Global = true&lt;/P&gt;&lt;P&gt;Application scope = Global&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:03:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482647#M63329</guid>
      <dc:creator>rohanbhatia</dc:creator>
      <dc:date>2026-02-05T14:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Portal Users from go to Now platform.</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482660#M63331</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/769888"&gt;@rohanbhatia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;share complete script here and what that script include is checking&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:11:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/restrict-portal-users-from-go-to-now-platform/m-p/3482660#M63331</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2026-02-05T14:11:26Z</dc:date>
    </item>
  </channel>
</rss>

