If you migrate a repository, its Promotion properties will be migrated as well.
To modify a repository's Promotion properties through the EnterWorks Classic UI:
- Log into EnterWorks Classic as a user with administrative privileges.
- In the Feature bar, open the Content Feature, select the desired repository, select Edit, and select Promotion Properties.
- The Promotion Properties editor will appear. Edit the configuration options:
- IsPromotionEnabled: Check this checkbox to enable promotions for this repository.
- Validation Options:
- 0: Promote all records.
- 1: Validate and promote all records.
- 2: Validate and promote valid records only. Do not promote records with errors or warnings.
- Link Relationships: Check the checkbox for each linked repository to be included in the promotion. If a linked repository is included, when a record is promoted, any linked record in the linked repository that meets the Validation Option requirements will also be promoted.
- Attribute and Status Lists: These lists allow you to set the value of an
attribute or the record status after a record is promoted to syndication. The most
common use of this feature is when you need to distinguish between new and updated
records. For example, an attribute can defined to indicate if the record is new or
updated. Its default value could be "Add" to indicate to syndication targets that this
is a new record. Once the record has been promoted, the attribute's value in the staging
repository could be set to "Update". The next time the record is modified, promoted, and
syndicated, syndication targets can tell if it is an updated record rather than a new
one. This assumes the production record is syndicated after the initial promotion before
the same record can be modified and promoted a second time. Warning: Attribute values set through the promotion properties mechanism are not recorded in History information.To add an attribute value or record status to one of the lists, click the Add button. Each time you click Add, a new attribute or status dropdown selector will be added. Select the desired attribute or status, then enter the value in the Value box. Check the checkbox to the left of the name of the attribute or status to enable the promotion action.
- Source Attribute List: Contains a list of attributes in the source repository that you want to set to particular values after the records are promoted.
- Target Attribute List: Contains a list of attributes in the target repository that you want to set to particular values after the records are promoted.
- Source Status List: Contains a list of record statuses in the source
repository that you want to set to particular values after the records are promoted.
The common state fields set are:
- record_state = 0: This indicates the record is in sync.
- external_session_info: This indicates the update was due to promotion.
- Target Status List: Contains a list of record statuses in the target
repository that you want to set to particular values after the records are promoted.
The common state fields set are:
- record_state = 0: This indicates the record is in sync.
- external_session_info: This indicates the update was due to promotion.
- After you are finished editing the promotion properties, click Save.
- Restart services and clear the data cache.