Parsing SmartCuts and Storing Data in Global Variables

Use the sessions object of the object model to parse the SmartCut.

Extract all relevant data and store it in global variables.

Example of using the sessions object to extract values from a SmartCut:

var store_id = Session.URL.Item(‘store’);
var product_id= Session.URL.Item(‘product’);
var year_id= Session.URL.Item(‘year’);