AF Server Properties
AF-Server-Properties-Export
AFObjectPath
The path to the database or object being exported. Example: \\ServerName\Database
Property
UOM ATTRIBUTE CATEGORIES CONTACTS DATABASE ELEMENT CATEGORIES ELEMENT ENUM SETS NOTIFICATION RULE CATEGORIES NOTIFICATIONS REFERENCE TYPE CATEGORIES TABLE CATEGORIES
Flags
An integer 'flag' made up of the following settings, for more information view the AVEVA AFSDK documentation
0 - StrongReferences 1 - AllReferences 2 - NoReferences 8 - ChangesOnly 16 - NoUniqueID 32 - DefaultValues 64 - Library 128 - Security 256 - Flat 512 - SimplifiedConfigStrings 1024 - AppendUnitsOfMeasure 2048 - ReferencedAttributeValues 4096 - ReferencedTransposedValues 8192 - UseMilliseconds 16384 - PasteOperation 32768 - UseServerTimeZone 65536 - UseUtcTime
FileName
The full file pathway and name of the file. If the FileName is left blank, the output will be XML, otherwise it will go to the file location and name specified.
Input
payload
object
Object with properties AFObjectPath, Property, Flags and FileName
msg.payload = {
AFObjectPath:"\\\\" + "ServerName"+ "\\" + "Database",
Property:"DATABASE",
Flags: 0,
FileName: "C:\\Program Files\\Temp\\Backup.xml"
}
Output
Output will be XML unless the FileName has been specified.