{"title":"FormatEvaluate Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-formatevaluate-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-formatevaluate-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-formatevaluate-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 data that is being imported or exported as XML data types or as the standard AL data types.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":161,"chars":24},{"level":2,"title":"Property value","slug":"property-value","at":185,"chars":198},{"level":2,"title":"Syntax","slug":"syntax","at":383,"chars":42},{"level":2,"title":"Remarks","slug":"remarks","at":425,"chars":1926},{"level":3,"title":"Importing","slug":"importing","at":436,"chars":720},{"level":3,"title":"Exporting","slug":"exporting","at":1156,"chars":1195},{"level":2,"title":"Related information","slug":"related-information","at":2351,"chars":156}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the data that is being imported or exported as XML data types or as the standard AL data types.\n## Applies to\n Xml Port\n## Property value\nValue|Available or changed with|Description\nLegacy|runtime version 1.0|The data uses the standard AL data types.\nXml|runtime version 1.0|The data uses the standard XML data types.\n## Syntax\n```al\nFormatEvaluate = XML;\n```\n## Remarks\n### Importing\nIf the XML document that you want to import contains data that corresponds to the standard AL data types, use AL Format/Evaluate (default value). The data is then evaluated before being inserted into the database.\nIf the XML document that you want to import contains data that uses the standard XML data types, use the XML Format/Evaluate setting. This ensures that the data is evaluated and converted to the AL data types before being inserted into the database.\nIf the data that you want to import does not follow either the Standard AL formats or the XML formats, import the data into a temporary table in text format. You can then use AL code to convert the data before inserting it into the database.\n### Exporting\nIf you want to export data that uses the standard AL data types to an XML document and use these data types in the XML document, use AL Format/Evaluate (default value). The data from the database is then formatted according to the standard rules for AL data types.\nIf you want to export data in the standard XML formats to an XML document, use the XML Format/Evaluate setting. This ensures that the data you export from the database is formatted and exported in the standard XML formats.\nThe following XML Data types require evaluation.\nXML Data Type|Dynamics 365 Business Central Data Type\nDecimal<br /><br /> Float<br /><br /> Double|Decimal\nBoolean|Boolean\nDatetime|DateTime\nTime|Time\nDate|Date\nInteger|Integer\nDuration|Duration\nThis is an XMLport property and therefore applies to all the data that is being streamed. It cannot be applied only to specific fields.\nFor more information about formatting AL data types, see Formatting Values, Dates, and Time<../devenv-format-property>. For more information about evaluating variables, see ../methods-auto/system/system-evaluate-method. For more information about using temporary tables, see devenv-usetemporary-xmlport-property.\n## Related information\nFormat Property (XMLports)<devenv-format-property>\n../methods-auto/system/system-evaluate-method\ndevenv-usetemporary-xmlport-property"}