Change how peer references are handled
You can specify how DITA references (links) with the scope attribute set to "peer"
are handled.
Note: This can be applied within a Hosted environment, but only within a test server.
References with the scope
attribute set to "peer"
are used when the resource is part of your source, but may not available when the output is generated. You can choose whether these references are handled as internal or external source types. The externaltypes.xml file, found in the Repository in the /system/conf/ folder, contains an attribute called peerasexternal
, which determines how peer references are handled:
- When the
peerasexternal
attribute is set to"true"
, then peer references are handled as external source types regardless of their type. - If the
peerasexternal
attribute is set to"false"
and the link's type is declared in the list of external source types, then the reference is handled as an external source type. - If the
peerasexternal
attribute is set to"false"
and the link's type is not declared in the list of external source types, then the reference is handled as an internal source type.
To change the handling of peer references: