Knowledge Base - API
Breadcrumbs

SessionContext

The SessionContext class represents a container for server-side properties that pertain to the current configuration session. An instance of this class is returned from methods associated with the current user session and does not apply otherwise.

Properties

Data Type

Property

Description

int

LineItemId

Returns the ID of the current configuration. This will have a value of -1 if the configuration is new, which differs from other related implementations of the LineItemId within the server (see Configuration class) where the value returned is the projected ID of the configuration when saved.

int

PublishSetId

Returns the ID of the PublishSet that encompasses the configuration data in use.

string

SeriesId

Returns the ID of the Series currently being configured.

string

ModelId

Returns the ID of the Model currently be configured.

string

ModelVariantId

Returns the ID of the Model variant (if any) of the current configuration.