{"title":"SubPageView Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-subpageview-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-subpageview-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-subpageview-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 table view for a subpage.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":452,"chars":60},{"level":2,"title":"Remarks","slug":"remarks","at":512,"chars":289},{"level":2,"title":"Example","slug":"example","at":801,"chars":182},{"level":2,"title":"Related information","slug":"related-information","at":983,"chars":68}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the table view for a subpage.\nThe following syntax is valid for the SubPageView property:\n```\nSubPageView =\n[<SORTING>[<KeyList>] [ORDER(Ascending|Descending)] [WHERE(<TableFilters>)]\n<KeyList> ::= PagePartTableKey1, PagePartTableKey2, ...\n<TableFilters> ::= <TableFilter> {,<TableFilter>}\n<TableFilter> ::= <PagePartTableFieldName>= CONST(<FieldConst>) | FILTER(<FilterExpression>)\n```\n## Applies to\n Page Part\n Page System Part\n Page Chart Part\n## Remarks\nThe table view is the view of the table that you present to the user. You determine what records the user can see by setting filters, determining the sorting order, and selecting the keys.\nYou can use this property to sort the information in the table for display in this part.\n## Example\n```al\nSubPageView = sorting(\"No.\") where (City=filter('Miami'));\n```\nFor an example of a page part using the SubPageView property, see ../devenv-adding-a-factbox-to-page.\n## Related information\ndevenv-properties\ndevenv-subpagelink-property"}