Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WordFile.SetProperty
Sets a metadata property.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WordFile | 14.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "WordFile.SetProperty"; WordFile; FieldName; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
WordFile | The reference number of the open word file. | $wordFile |
FieldName | The name of the field. Can be title, subject, creator, keywords, description, lastModifiedBy, revision, created or modified. |
"title" |
Value | The new value. |
Result
Returns OK or error.
Description
Sets a metadata property.Updates the core properties for the document.
Examples
Set creator field:
Set Variable [ $c ; Value: MBS( "WordFile.SetProperty"; $w; "creator"; "Joe" ) ]
See also
Release notes
- Version 15.0
- Improved WordFile.GetProperty and WordFile.SetProperty to work on custom and app properties, too.
- Version 14.5
- Added WordFile.GetProperty and WordFile.SetProperty functions.
Blog Entries
- New in MBS FileMaker Plugin in Version 14.5
- MBS FileMaker Plugin, version 14.6pr1
- MBS FileMaker Plugin, version 14.5pr4
This function checks for a license.
Created 19th October 2024, last changed 19th October 2024
