Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Dear Team,
How to set and get data from session?
As I am seeing it is
// result: INFOTABLE
var result = Resources["CurrentSessionInfo"].GetGlobalSessionValues();
var params = {
name: undefined /* STRING */,
value: undefined /* STRING */
};
// no return
Resources["CurrentSessionInfo"].SetGlobalSessionStringValue(params);
Please refer to the following article on Understanding Session Variables Article Viewer | PTC