How to: Reactivate a Member or Collection by Using tblStgMemberAttribute (Master Data Services)
In Master Data Services, you can use the staging process to reactivate leaf members, consolidated members, or collections that have been deleted.
Reactivate a member to restore the member's attributes and its membership in hierarchies and collections.
Reactivate a collection to restore the collection and its structure.
In the Master Data Services database, each member and collection has an attribute named MDMMemberStatus. When you delete a member or collection, the value of this attribute changes from Active to De-Activated and the code is changed to a 32-character GUID.
To reactivate a member or collection, you must change the MDMMemberStatus attribute value back to Active.
Prerequisites
To perform this procedure:
You must have permission to insert data into the mdm.tblStgMemberAttribute table in the Master Data Services database.
You must have permission to view the mdm.viw_SYSTEM_SCHEMA_ENTITY view and the table that contains the deactivated member. For more information, see Database Object Security (Master Data Services).
In Master Data Manager, you must have permission to access the Integration Management functional area.
You must be a model administrator. For more information, see Administrators (Master Data Services).
To reactivate a member or collection
Open SQL Server Management Studio and connect to the Database Engine instance for your Master Data Services database.
Expand the Master Data Services database, expand Views, and open the mdm.viw_SYSTEM_SCHEMA_ENTITY view. Find the name of the entity that contains the deleted member or collection. Note the value in the EntityTable column.
Open the table that was listed in the EntityTable field. Find the name of the member or collection and note the value in the Code column. The code should be a 32-character GUID.
Prepare the members or collections for import into the mdm.tblStgMemberAttribute table in the Master Data Services database. For any member or collection that you want to reactivate, use MDMMemberStatus for AttributeName, Active for AttributeValue, and the code from step 3 for MemberCode. For more information and an example, see Attributes Staging Table (Master Data Services).
Import the data into mdm.tblStgMemberAttribute. For information about importing data into a database by using SQL Server Integration Services, see How to: Run the SQL Server Import and Export Wizard.
After you successfully import the data, in Master Data Manager, click Integration Management.
In the Unbatched Staging Records pane, from the Model list, select the model that contains records you want to import.
From the Version list, select a version. The version must have the Status of Open or Locked.
Confirm that the displayed number of records matches the number of records you plan to import. If it does not, see Troubleshooting the Staging Process (Master Data Services).
Click Process unbatched data. In the Staging Batches pane, the value in the Status column changes to Queued to Run.
Note
The staging queue runs automatically at intervals based on the Staging batch interval set in Master Data Services Configuration Manager. For more information, see System Settings (Master Data Services).
The import is complete when the value in the Status column is Not Running. You can refresh the page to view the updated status by clicking Import on the menu bar.
Next Steps
If you choose, you can update the code for the reactivated member or collection to its original value. For more information, see How to: Update Attribute Values (Master Data Services) or How to: Update Attribute Values by Using tblStgMemberAttribute (Master Data Services).
To view errors that occurred during staging, highlight the batch’s row in the grid and click View details for selected batch. For more information, see Staging Error Messages (Master Data Services).
The batch remains in the queue until it is manually deleted. For more information, see How to: Clear a Batch from the Staging Queue (Master Data Services).
See Also