After you create the plug-in definition file, you can use it to get the image mapping information for each group and class in the model. You need the image mapping information if you want to use custom icons for the groups and classes in the model. The image mapping information associates each group and class with an icon file.
If you do not want to use custom icons, you can skip this step. Metadata Manager uses the class icon (
) for any group or class that does not have an icon file.
To get the image mapping information, run the mmXConPluginUtil generateImageMapping command with the definition file (-x) option, for example:
mmXConPluginUtil generateImageMapping -x C:\MMPlugInDefs\HypoStores_QlikViewDef.xml
mmXConPluginUtil generates a CSV text file that lists each group and class in the model and the corresponding icon file. It generates the image mapping file in the following directory, where the owner and name are defined in the plug-in definition file:
<Informatica services installation directory>\services\MetadataManagerService\utilities\mmxconpluginutil\<owner>.<name>
mmXConPluginUtil names the image mapping file
mm-<owner>.<name>-xconnect.txt
.
<Informatica services installation directory>\services\MetadataManagerService\utilities\mmxconpluginutil\HypoStores.QlikView\mm-HypoStores.QlikView-xconnect.txt
The following example shows part of an image mapping file for an XConnect that you use to extract metadata from QlikView Files:
Group,ReportAttribute.gif
StatisticsBox,Statistics Box.png
StraightTable,Table.gif
Variable,ReportAttribute.gif
Slider,Slider Calendar.png
SearchObject,Search Object.png
TableBox,Table Box.png
QVWModel,qvw.png
TextBox,Text Object.png
Document,Document.gif
…
In the previous example, the icon file for the Group class is
ReportAttribute.gif
. The icon for the StatisticsBox class is
Statistics Box.png
.