Check if applications/plugins have upgrade available in scripting
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 02:46 AM
Hi,
I am trying to find backend data source of information, from where, plugins page retrieves all information such as latest version number etc.
I need it to implement a logic in scripting. But unable to find source table or any store API.
Thanks,
Mike
2 REPLIES 2
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 05:29 AM
Hi @Mukesh26 ,
We generally call from "sys_store_app" table.
You can use this Sample Script, you can tweak as per your requirement:
var versionGR = new GlideRecord("sys_store_app");
versionGR .addQuery('scope','sn_ex_sp');
versionGR .query();
if(versionGR .next())
{
if(versionGR .latest_version != versionGR .version)
gs.info("Latest Version : " + versionGR .latest_version);
}
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 02:11 AM
Hi @Mukesh26 ,