<?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 integrate custom Javascript SDK in Scoped app? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-integrate-custom-javascript-sdk-in-scoped-app/m-p/3170019#M1177288</link>
    <description>&lt;P&gt;We have developed the Javascript SDK using ES6 for our product. I want to use this SDK in the ServiceNow scoped app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my primary research, the ES6 class syntax &lt;STRONG&gt;won't work&lt;/STRONG&gt; in ServiceNow backend scripts (like Script Includes) because ServiceNow runs on a Rhino-based JavaScript engine, which does not fully support ES6. However, we can use it in client scripts if running in a modern browser.&lt;BR /&gt;&lt;BR /&gt;This SDK have functions to get and post data to the product. I want to use them in scoped app. I mean integrate the SDK in script include may be one option but this is not working due to ES6 class syntax.&lt;BR /&gt;&lt;BR /&gt;Let me know how I can do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 07:29:05 GMT</pubDate>
    <dc:creator>bachhav</dc:creator>
    <dc:date>2025-02-06T07:29:05Z</dc:date>
    <item>
      <title>How to integrate custom Javascript SDK in Scoped app?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-integrate-custom-javascript-sdk-in-scoped-app/m-p/3170019#M1177288</link>
      <description>&lt;P&gt;We have developed the Javascript SDK using ES6 for our product. I want to use this SDK in the ServiceNow scoped app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my primary research, the ES6 class syntax &lt;STRONG&gt;won't work&lt;/STRONG&gt; in ServiceNow backend scripts (like Script Includes) because ServiceNow runs on a Rhino-based JavaScript engine, which does not fully support ES6. However, we can use it in client scripts if running in a modern browser.&lt;BR /&gt;&lt;BR /&gt;This SDK have functions to get and post data to the product. I want to use them in scoped app. I mean integrate the SDK in script include may be one option but this is not working due to ES6 class syntax.&lt;BR /&gt;&lt;BR /&gt;Let me know how I can do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 07:29:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-integrate-custom-javascript-sdk-in-scoped-app/m-p/3170019#M1177288</guid>
      <dc:creator>bachhav</dc:creator>
      <dc:date>2025-02-06T07:29:05Z</dc:date>
    </item>
  </channel>
</rss>

