- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2020 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2020 10:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2024 02:36 AM
You would head to All>System Applications>Application Cross Scope Access. Add a new record and set your target scope to the scope of the record you are trying to access (in this case a script include). Set the operation to allow and type to Execute API.
Hope this helps anyone else!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2020 02:04 AM
Ok try var kbPortal = global.KBPortalServiceImpl(); instead of var kbPortal = newsn_km_portal.KBPortalService();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2020 10:06 PM
Got the Solution:
First:
Replace
var kbPortal = new KBPortalService();
with
var kbPortal = new sn_km_portal.KBPortalService();
after that clone the script include kbPortal Service with the same name and apply it to all scopes and disable OOB script include and work with this cloned one script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2020 12:57 AM
Replace var kbPortal = new KBPortalService();
with
var kbPortal = new sn_km_portal.KBPortalService();
will take place at all the places in server side code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2021 10:13 AM
Hi
Can you explain a little bit how to accomplish this with screenshots? I am having issues too with the same. I already cloned the Knowledge Base Browse and duplicated the script include but its not working for me.
var kbPortal = new KBPortalService();
with
var kbPortal = new sn_km_portal.KBPortalService();
after that clone the script include kbPortal Service with the same name and apply it to all scopes and disable OOB script include and work with this cloned one script include