Run pipeline batch
Now you can run the pipeline batchMongoDB Contacts to xConnect Migration. The new contact facetLoyaltyProgram will be created on xConnect contacts if the required data is available in MongoDB.
After you run the pipeline batch, there are multiple ways you can check to confirm the contact facet was properly created.
xConnect collection database
xConnect collection database
You can check the xConnect collection database for records that represent the new facet.
-
Connect to one of the collection database shards.
-
Use the following query:
You should see a row for each MongoDB contact that has loyalty program data associated with it.
|
ContactId |
FacetKey |
FacetData |
|---|---|---|
|
|
|
|
The following is the complete FacetData value:
xConnect search
xConnect search
You can write an application that uses the xConnect search API to find contacts with the new facet.