{"title":"Width property on XMLport elements","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-width-xmlport-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-width-xmlport-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-width-xmlport-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":"Learn how the Width property sets the number of characters in fixed-text XMLport elements and attributes in Dynamics 365 Business Central.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Width property on XMLport elements","slug":"width-property-on-xmlport-elements","at":0,"chars":623},{"level":2,"title":"Applies to","slug":"applies-to","at":157,"chars":136},{"level":2,"title":"Property value","slug":"property-value","at":293,"chars":70},{"level":2,"title":"Syntax","slug":"syntax","at":363,"chars":32},{"level":2,"title":"Remarks","slug":"remarks","at":395,"chars":98},{"level":2,"title":"Related information","slug":"related-information","at":493,"chars":130}],"text":"# Width property on XMLport elements\n> Version: _Available from runtime version 1.0._\nSpecifies the number of characters in an XMLport element or attribute.\n## Applies to\n XMLport text elements\n XMLport field elements\n XMLport table elements\n XMLport field attributes\n XMLport text attributes\n## Property value\nSet the property to an integer. The default is `0`.\n## Syntax\n```al\nWidth = 10;\n```\n## Remarks\nThe property is used only when the XMLport devenv-format-property is set to FixedText.\n## Related information\ndevenv-xmlport-properties\nWidth property for table and page fields<devenv-width-property>\ndevenv-properties"}