- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:45 AM
Hi,
I successfully installed the ServiceNow SDK on my local machine and created a first hello world js module, which I uploaded to my PDI.
The module exports a function helloWorld which just returns an string 'Hello, world!' for testing purpose.
In a business rule (server side) I can use the function with the following code:
const { helloWorld } = require("x_206516_sdk_demo/sdk-demo/1.0.0/src/myModule.js");
gs.addInfoMessage(helloWorld());
Does anyone know if it is possible to use modules created via ServiceNow SDKs in client scripts, ui pages etc.?
Thanks!
Malte
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 10:17 PM
If I heard correctly on the Break Point Podcast, these modules are only for server-side scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 10:17 PM
If I heard correctly on the Break Point Podcast, these modules are only for server-side scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 02:35 AM
Thanks @Swarnim1 ,
I found your answer here at minute 17:40: https://omny.fm/shows/break-point/sdk-in-washington-d-c-with-jay-couture-and-patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 10:35 AM - edited 04-04-2024 10:36 AM
Currently Rhino/ server side only, but possibly on roadmap for the future. I'm loving the SDK