- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2019 08:47 AM
All,
is it possible to activate a plugin via script, e.g. set the value of com.glide.service-portal.knowledge-base from false to true. If not, is there another way to activate it automatically, so the activated functionality is a available with the next ServiceNow login?
Many thanks
Solved! Go to Solution.
- Labels:
-
Service Portal
- 8,825 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2019 01:09 PM
You can use the following to automatically activate plugins:
All you need is the plugin ID..........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2022 11:41 AM
Hi Ashby,
I was able to track using Activate/Repair UI Action, which opens up a modal that calls a UI Page. The UI Page name is activate_plugin_confirm. In this UI Page when users hits install, it calls up the onSubmit() in the client script. In this onSubmit(), there is a call to another UI Page simple_progress_viewer_ui16, which contains a parameter to of the AJAX script include GlideMultiPluginManagerWorker. The strange thing about it this UI page is, it cannot be found on the UI page lists.
But still all this make sense as GlideMultiPluginManagerWorker exists in the Script Include list and a sample can be seen there which starts this processing.
Your solution find is awesome and thanks to ServiceNow community it is still there to help people.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:22 AM
What are the steps to run this script please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2019 07:08 AM
Thanks Ashby, works fine!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 06:17 AM
Hi ,
Can i use this script and install scoped app or true up plugins ?
or how to install scoped app through back ground scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2021 07:48 AM
Hi there,
I wanted you to be aware that Mark Roethof also has an article that deals with that question. As it is more visible I proposed to him, that he may have a look into the latest outcomes of this thread.
Provision your PDI or company/customer instances quicker, smarter (04): Applying Plugins
It is currently less Sophisicated then Ingimar's script down below.
Joel L.