{"title":"SourceTableView property on XMLport table elements","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-sourcetableview-xmlports-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-sourcetableview-xmlports-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-sourcetableview-xmlports-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 SourceTableView property sets the key, sort order, and filters for an XMLport table element in Dynamics 365 Business Central.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"SourceTableView property on XMLport table elements","slug":"sourcetableview-property-on-xmlport-table-elements","at":0,"chars":507},{"level":2,"title":"Applies to","slug":"applies-to","at":195,"chars":38},{"level":2,"title":"Syntax","slug":"syntax","at":233,"chars":53},{"level":2,"title":"Remarks","slug":"remarks","at":286,"chars":117},{"level":2,"title":"Related information","slug":"related-information","at":403,"chars":104}],"text":"# SourceTableView property on XMLport table elements\n> Version: _Available from runtime version 1.0._\nSpecifies the key, sort order, and filters for the source table of an XMLport table element.\n## Applies to\n XMLport table elements\n## Syntax\n```al\nSourceTableView = sorting(Code);\n```\n## Remarks\nUse sorting to select a key, order to specify ascending or descending order, and where to filter records.\n## Related information\ndevenv-sourcetableview-pages-property\ndevenv-xmlport-properties\ndevenv-properties"}