CSM: How to view products in the csp portal

it seems that the user must have the role sn_customerservice.consumer


( /nav_to.do?uri=sp_rectangle_menu_item.do?sys_id=a766f726c332120095ccd02422d3ae49

/nav_to.do?uri=sp_rectangle_menu_item.do?sys_id=4c9473d6775123007a97dfd6d9106132

/nav_to.do?uri=sp_instance_menu.do?sys_id=c8674194c3221200f3897bfaa2d3aec4 
)

it seems the widget is 
 Product List (csp-products-list)

and the logic:

var gr = new GlideRecord('alm_asset'); gr.addQuery('consumer.user.sys_id', gs.getUserID()); gr.orderByDesc('sys_updated_on'); gr.query(); while (gr.next()) { }



Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

Running transform maps asynchronously