How to check for enabled Plugin?

straderw
Giga Contributor

OK so I am looking at creating a scoped application but I want to add a "Check Requirements" ability to check and verify that specific plugins are enabled, such as Orchestration and say the AD parts of Orchestration.   Can someone show me an example of how to possible do this or give me an idea of where to look?   Just something simple on how to create the link that says hey Test to make sure the requirements are met and then check and maybe set a parameter saying all requirements are good... You know just some way to verify things will work properly when application is installed/used.

Thank you all for any and all help anyone can provide... still very new at this scoped application and trying to learn how to do things.

1 ACCEPTED SOLUTION

Yes, that's correct. If the plugin is captured as part of dependency then it will prompt the message at the time of install of app(with all plugin namess mentioned). App can be installed only after all prerequisite plugins are enabled on the instance.


View solution in original post

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello William,



Did you mean that capture plugin as the dependency of your scoped app? Please confirm.


Maybe... I am not sure.   Just someway to verify a plugin is enabled before they can use this application.   So on all pages put a checker to verify has requirements been met (check for a parameter or something).   Under say a "admin" area I want a link for "Check Requirements" which will then check and verify specific plugins are enabled and if so set the parameter to yes if not it will do a message saying please enable the following plugins and say which one's are not enabled I guess.   Is that what you are talking about for plugin as a dependency?


Yes, that's correct. If the plugin is captured as part of dependency then it will prompt the message at the time of install of app(with all plugin namess mentioned). App can be installed only after all prerequisite plugins are enabled on the instance.