Creating a Context Variable Link
A context variable link lets you extract information from the variable map "Cfg Eligibility Variable Map - Context" and use it to write constraints.
To create a context variable link you must use an existing variable definition from the variable map or add a new entry to the variable map. For more information, see Context Variable Links.
To create a context variable link
- Navigate to the Administration - Product screen. 
- Select and lock the desired customizable product or product class. 
- Navigate to the Linked Items view for the Work Space version. 
- In the Link Definitions list, add a new record and complete the necessary fields, as described in the following table. - Field - Comments - Name - Enter the name of the link. Use this name to refer to the link when you write constraints. This field is required. - BusObj Name - For context variable links, leave this field blank. This field is used for business component links. For more information, see Creating a Business Component Configuration Link. - BusComp Name - For context variable links, leave this field blank. This field is used for business component links. For more information, see Creating a Business Component Configuration Link. - BusComp Field Name - For context variable links, leave this field blank. This field is used for business component links. For more information, see Creating a Business Component Configuration Link. - Expression - Displays an XML expression that is automatically generated by your entries in the other fields. - Needs Execution - Select this check box to retrieve the link information from a new instance of the business component. Deselect it to retrieve information about the current instance of the business component. - Search Spec - For context variable links, leave this field blank. This field is used for business component links. For more information, see Creating a Business Component Configuration Link. - Sort Spec - For context variable links, leave this field blank. This field is used for business component links. For more information, see Creating a Business Component Configuration Link. - Default Value - Enter the value that you want to assign to the link if the evaluation returns no value. Please note that you can also specify a default value in the variable map definition. This default has precedence over the default defined here. - Keyword - To create a context variable link, choose Context Variable. - Context Variable - To create a context variable link, enter the name of the variable in this field. The variable must be in the variable map that is currently being used. - Context Variable Type - To create a context variable link, enter the variable type in this field. - Description - Enter a description of what the link does. This description is not displayed to customers.