A metadata source file contains custom resource metadata that you want to load into the Metadata Manager warehouse. You can have more than one metadata source file for a custom resource. For example, you might have multiple metadata source files if you stored information about different classes of objects in separate files. Metadata source files are stored in a CSV format. The metadata source files are also called the CSV files.
The metadata source files can contain the following type of metadata:
Metadata object names and attributes
A metadata object is an instance of the class that you defined in the model. You map the object attributes in the metadata source file to the class attributes defined in the corresponding model.
Object associations
An object association is a relationship between two metadata objects. The associations between metadata objects are instances of the class associations that you defined in the model.
Lineage associations
A lineage association between two classes of objects enables data lineage between those objects. In a data lineage diagram, Metadata Manager displays a lineage association as an arrow between associated objects.
You generate metadata source files when you generate the default load template. If you want to create your own metadata source files, you can export the custom metadata from the custom source repository. You can also create an extraction command file that exports the metadata to metadata source files each time you run the custom XConnect.
If you run a custom XConnect with an extraction command file and the batch file fails, the XConnect also fails. Metadata Manager writes output and error logs to the resource load log.
Regardless of how you create the metadata source files, ensure that the column headers in the metadata source files match the references to the column headers in the load template.