# SubPageView Property
> Version: _Available or changed with runtime version 1.0._
Sets the table view for a subpage.
The following syntax is valid for the SubPageView property:
```
SubPageView =
[<SORTING>[<KeyList>] [ORDER(Ascending|Descending)] [WHERE(<TableFilters>)]
<KeyList> ::= PagePartTableKey1, PagePartTableKey2, ...
<TableFilters> ::= <TableFilter> {,<TableFilter>}
<TableFilter> ::= <PagePartTableFieldName>= CONST(<FieldConst>) | FILTER(<FilterExpression>)
```
## Applies to
 Page Part
 Page System Part
 Page Chart Part
## Remarks
The 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.
You can use this property to sort the information in the table for display in this part.
## Example
```al
SubPageView = sorting("No.") where (City=filter('Miami'));
```
For an example of a page part using the SubPageView property, see ../devenv-adding-a-factbox-to-page.
## Related information
devenv-properties
devenv-subpagelink-property

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. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-subpageview-property/
