29.8 Identifying markers with variable <$$_objectid>

Suppose your workflow requires distinguishing between two or more markers (index entries, for example) that have the same content. Mif2Go assigns a unique ID to each marker, of the form Xaa123456, composed as follows:

[spacer]

X

Fixed character

aa

Mif2Go FileID for the file containing the marker

123456

FrameMaker ObjectID for the marker

Mif2Go makes this marker ID available as predefined macro variable <$$_objectid>. So you could do something like this:

[Markers]

Index=MyIndex

[MarkerTypes]

MyIndex=Code

[MarkerTypeCodeBefore]

MyIndex= <a name="<$$_objectid>" class="Myindex" value="

[MarkerTypeCodeAfter]

MyIndex= "></a>