Name
sn_me.MobileTaxonomyUtilSNC
Description
WARNING Customers should NOT modify this script SNC utility script includes helper functions for mobile
Script
var MobileTaxonomyUtilSNC = Class.create();
MobileTaxonomyUtilSNC.prototype = {
initialize: function() {
this.mobileServicePortal = "26f2fffb77322300454792718a1061e5";
},
/**
* returns a taxonomy associated to mobile portal
*/
getMobileServicePortalTaxonomy: function() {
var portalTaxonomyGr = new GlideRecord('m2m_sp_portal_taxonomy');
portalTaxonomyGr.addQuery('sp_portal', this.mobileServicePortal);
portalTaxonomyGr.orderBy('order');
portalTaxonomyGr.setLimit(1);
portalTaxonomyGr.query();
if (portalTaxonomyGr.next())
return portalTaxonomyGr.getValue('taxonomy').toString();
},
type: 'MobileTaxonomyUtilSNC'
};
Sys ID
42c87545c7313010fedf0bcbe2c260c9