This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Components > Navigation methods for project components > existsDocumentRef(String absoluteName, Boolean alsoDisabled)

existsDocumentRef(String absoluteName, Boolean alsoDisabled)

Checks if the document (e.g. a diagram) given by absoluteName exists. Documents of parent components which are disabled can also be checked for their existence.

existsDocumentRef(String absoluteName, Boolean alsoDisabled)
Arguments String absoluteName The absolute path to the document
Boolean alsoDisabled

true = deactivated project components are also taken into consideration

false = deactivated project components are not taken into consideration

Return value Boolean