{"title":"CardPageId Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-cardpageid-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-cardpageid-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-cardpageid-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 card page that is associated with items in the current list page.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":135,"chars":34},{"level":2,"title":"Syntax","slug":"syntax","at":169,"chars":50},{"level":2,"title":"Remarks","slug":"remarks","at":219,"chars":1109},{"level":3,"title":"Effect on list page actions","slug":"effect-on-list-page-actions","at":404,"chars":924},{"level":2,"title":"Page extensions","slug":"page-extensions","at":1328,"chars":762},{"level":2,"title":"Related information","slug":"related-information","at":2090,"chars":257}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the card page that is associated with items in the current list page.\n## Applies to\n Request Page\n Page\n## Syntax\n```al\nCardPageID = \"Customer Card\";\n```\n## Remarks\nUse this property on a list page or listpart page to specify the card page that should be displayed when an end user double-clicks an item on the list page or listpart page.\n### Effect on list page actions\nWhen you set CardPageId on a list page, the runtime uses the linked card page to determine which record-level actions are available on the list. Specifically, the New, Delete, and Edit actions on the list page are controlled by the devenv-insertallowed-property, devenv-deleteallowed-property, and devenv-modifyallowed-property properties on the card page, not the list page itself.\nFor example, if your list page is non-editable (`Editable = false`) but the card page linked through CardPageId has `DeleteAllowed = true`, the Delete action still appears on the list page. To hide the Delete action from the list, set `DeleteAllowed = false` on the card page.\nThis behavior means that when you want to control whether users can insert, delete, or modify records from a list page that uses CardPageId, you should set the corresponding properties on the card page rather than on the list page.\n## Page extensions\n> APPLIES TO: Business Central 2025 release wave 1 (v26) and later.\nYou can modify the CardPageID on list and listpart pages through a page extension. This means that you can override, which card page should be displayed when an end user double-clicks an item on the list page or listpart page.\nIf the property is already specified on the base page, the value in the page extension overrides it. If multiple page extensions modify the property, the last extension to be applied takes effect. Because per-tenant extensions are applied after Marketplace apps, this implies that any race condition across multiple Marketplace apps setting the same CardPageId can be resolved in a per-tenant extension if needed, although this will seldom happen.\n## Related information\ndevenv-insertallowed-property\ndevenv-deleteallowed-property\ndevenv-modifyallowed-property\ndevenv-editable-property\nPagePartID Property<devenv-properties>\nChartPartID Property<devenv-properties>\nSystemPartID Property<devenv-properties>"}