Can someone please suggest why or why should not we use GlideappCatalogItem API? It is undocumented

EKTA2
Tera Expert

Can someone please suggest why or why should not we use GlideappCatalogItem API? It is undocumented but I see it working fine upon use. 

1 REPLY 1

Pratik Malviya
Tera Guru

Hi @EKTA2 ,

 

Below are methods and properties associated with GlideAppCatalogItem

 

If you want to see if logged in user respects user criteria, then we can use GlideAppCatalogItem().get("sys_id_of_cat_id").canView();

 

Name Type String

associateToCatalog ()Function""
catalogundefined""
catalogIDundefined""
get ()Function""
getCatalog ()Function""
getCatalogID ()Function""
showPrice ()Function""
updateCategory ()

 

reference: https://www.servicenow.com/community/developer-forum/what-is-glideappcatalogitem-api-what-are-its-me...

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Thanks,
Pratik Malviya