<?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 Can I still use jslog in service portal or client script from catalog, widget? in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439438#M5523</link>
    <description>&lt;P&gt;Hello I notice that when I use jslog in catalog client script it throws an error&lt;BR /&gt;"Error while running Client Script Reference error: jslog is not defined"&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 17:41:18 GMT</pubDate>
    <dc:creator>JamesZachaB</dc:creator>
    <dc:date>2025-11-27T17:41:18Z</dc:date>
    <item>
      <title>Can I still use jslog in service portal or client script from catalog, widget?</title>
      <link>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439438#M5523</link>
      <description>&lt;P&gt;Hello I notice that when I use jslog in catalog client script it throws an error&lt;BR /&gt;"Error while running Client Script Reference error: jslog is not defined"&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 17:41:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439438#M5523</guid>
      <dc:creator>JamesZachaB</dc:creator>
      <dc:date>2025-11-27T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I still use jslog in service portal or client script from catalog, widget?</title>
      <link>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439441#M5524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/981190"&gt;@JamesZachaB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You cannot use jslog() in the Service Portal, Service Portal Widgets, or Mobile interfaces.&lt;/P&gt;&lt;P&gt;The error ReferenceError: jslog is not defined occurs because jslog() is a legacy function built specifically for the Classic (Backend/Native) UI.&lt;/P&gt;&lt;P&gt;It relies on the "JavaScript Log" window found in the main ServiceNow frame, which does not exist in the Service Portal environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 17:45:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439441#M5524</guid>
      <dc:creator>Vishal_Jaiswal</dc:creator>
      <dc:date>2025-11-27T17:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I still use jslog in service portal or client script from catalog, widget?</title>
      <link>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439442#M5525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/981190"&gt;@JamesZachaB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you can not use jslog in service widgets, you can use alert in client script and console.log or gs.log in server script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also check some articles&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-api-reference/page/script/debugging/concept/c_WritingToTheDebugLog.html" target="_blank"&gt;https://www.servicenow.com/docs/bundle/zurich-api-reference/page/script/debugging/concept/c_WritingToTheDebugLog.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/jslog-method-is-not-writing-anything-to-javascript-log/m-p/2166313" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/jslog-method-is-not-writing-anything-to-javascript-log/m-p/2166313&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-89-debug-client-side-scripts/ba-p/2792268" target="_blank"&gt;https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-89-debug-client-side-scripts/ba-p/2792268&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/finding-jslog-in-sandiego/m-p/1640287/page/2" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/finding-jslog-in-sandiego/m-p/1640287/page/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Sarthak&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 17:48:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/can-i-still-use-jslog-in-service-portal-or-client-script-from/m-p/3439442#M5525</guid>
      <dc:creator>Sarthak Kashyap</dc:creator>
      <dc:date>2025-11-27T17:48:36Z</dc:date>
    </item>
  </channel>
</rss>

