Create a mapping that contains the source definition, the target definition, and the transformations that you want to use in the real-time publication workflow.
You create a mapping for
Data Integration Hub
in the same way that you build other PowerCenter mappings.
When you create the source and the mapping, consider the following guidelines:
Add the DX_Publication_Parameters transformation to the mapping. You can also add other PowerCenter transformation to the mapping.
In the DXPublicationName port of the DX_Publication_Parameters transformation enter the name of the publication to which the workflow publishes. The DX_Publication_Parameters transformation adds placeholders for the publication instance ID and for the publication date in the
Data Integration Hub
publication repository.
Connect the port DXPublicationInstanceId from the DX_Publication_Parameters transformation to the DIH__PUBLICATION_INSTANCE_ID column in the target.
Connect the port DXPublicationInstanceDate from the DX_Publication_Parameters transformation to the DIH__PUBLICATION_INSTANCE_DATE column in the target.
The following image shows an example mapping that includes the DX_Publication_Parameters transformation. The mapping also includes an expression that sets the publication name: