Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  


Checks if a tag exists.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WordFile 5.4 Yes Yes Yes Yes Yes

MBS( "WordFile.HasTag"; WordFile; Placeholder )


Parameter Description Example value
WordFile The reference number of the open word file. $wordFile
Placeholder The name of the placeholder. "City"


Returns 1 or 0 or error.


Checks if a tag exists.
The place holder in the document must start with « and end with » characters. The place holder you pass here, should not have those quotes.


Checks for a tag city:

Set Variable [$r; Value:MBS("WordFile.HasTag"; $WordFile; "City")]

WordFile.GetXML   -   WordFile.MediaFiles

Feedback: Report problem or ask question.

MBS Xojo Plugins