Administration > Advanced Product Creation Administration > Relationship Type Property Settings > Defining the Edit Option
  
Defining the Edit Option
Use a single property setting to control whether or not users who select a given relationship type can manually select and deselect those product options that the relationship type automatically selects for copying or linking.
In addition, a single property setting controls the default edit option for all relationship types in the system for which an edit option has not been defined. If you do not enter the individual relationship type property setting for a given relationship type, the system automatically uses the default edit option as specified in the default edit option property setting.
Either property setting must be set to one of three edit options, described in the following table.
Setting (Edit Option Key)
Editing Options
disable
Users cannot make any changes to the predefined relationship type selections.
removeOnly
Users can only deselect those predefined relationship type selections that they do not want to copy.
addOrRemove
Users can both deselect the predefined relationship type options that they do not want to copy and select additional options for copy.
Out-of-the-Box
By default, users can both add and remove product options to and from the automatically selected list of product options. The out-of-the-box value for this property setting is addOrRemove.
jsp.product.CopyProduct.DefaultSelectionEditMode=addOrRemove
No relationship types exist out-of-the-box, and thus no edit options are defined for individual relationship types. Relationship types for which you do not enter a property setting take the edit option of the system-wide default edit option.
Configuration
Use a property setting to change the system-wide default edit option. This edit option is applied to all relationship types that do not have an edit option specifically defined using the property setting in the next section. The basic form for this property setting is:
jsp.product.CopyProduct.DefaultSelectionEditMode=<EditOptionKey>
To change the system-wide default, enter a different value for the <EditOptionKey>, either disable or removeOnly, depending on which edit option you want the system to use as a default.
The following property setting prevents users from adding or removing product options when selecting a relationship type for which the edit option has not been specified:
jsp.product.CopyProduct.DefaultSelectionEditMode=disable
The following property setting allows users only to remove the automatically selected product options when selecting a relationship type for which the edit option has not been specified:
jsp.product.CopyProduct.DefaultSelectionEditMode=removeOnly
Use a property setting to define the edit option for a given relationship type. Use this property setting when you want the edit option to differ from the system-wide default edit option, as defined by the previous property setting. The basic form of the property setting to control the edit option for a given relationship type is:
jsp.product.CopyProduct.SelectionEditMode.<RelationshipTypeName>=<EditOptionKey>
For example, if you want to define the MissyPetite relationship type to allow users only to remove the predefined relationship type selections, you must enter MissyPetite as the value for <RelationshipTypeName>, and set the value of the property setting as removeOnly:
jsp.product.CopyProduct.SelectionEditMode.MissyPetite=removeOnly
If you do not want users to make any changes to the automatic product options selected when selecting the MissyPetite relationship type, enter MissyPetite as the value for <RelationshipTypeName>, and set the value of the property setting to disable
jsp.product.CopyProduct.SelectionEditMode.MissyPetite=disable