{"title":"Format Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-format-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-format-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-format-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets the formats of the source expression for various data types.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":126,"chars":24},{"level":2,"title":"Property value","slug":"property-value","at":150,"chars":300},{"level":2,"title":"Syntax","slug":"syntax","at":450,"chars":43},{"level":2,"title":"Remarks","slug":"remarks","at":493,"chars":687},{"level":2,"title":"Related information","slug":"related-information","at":1180,"chars":40}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the formats of the source expression for various data types.\n## Applies to\n Xml Port\n## Property value\nValue|Available or changed with|Description\nXml|runtime version 1.0|Allows to work with XML documents. This is the default value.\nVariableText|runtime version 1.0|Allows to work with variable text files.\nFixedText|runtime version 1.0|Allows to to work with fixed-width text fields.\n## Syntax\n```al\nFormat = VariableText;\n```\n## Remarks\nThis property supports CSV (comma separated values) export files and XML files. The available options are:\n XML\n VariableText\n FixedText\nThe default value for the Format property is XML, which allows to work with XML documents.\nIf you want to work with variable text files, the Format property must be set to VariableText and if you want to work with fixed-width text fields, it must be set to FixedText.\nYou can configure the text file's default settings by using the properties TextEncoding (XMLports) Property<devenv-textencoding-property>,\ndevenv-tableseparator-property,\ndevenv-recordseparator-property,\ndevenv-fieldseparator-property and\ndevenv-fielddelimiter-property.\n## Related information\ndevenv-properties"}