{"title":"RunObject Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-runobject-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-runobject-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-runobject-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 object you want to run immediately when the action is activated.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":134,"chars":27},{"level":2,"title":"Syntax","slug":"syntax","at":161,"chars":228},{"level":2,"title":"Remarks","slug":"remarks","at":389,"chars":702},{"level":2,"title":"Related information","slug":"related-information","at":1091,"chars":96}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the object you want to run immediately when the action is activated.\n## Applies to\n Page Action\n## Syntax\nThe following example illustrates how to use RunObject on the query object MyQuery (replace the query keyword with page, report, or codeunit to use RunObject on these data types)\n```al\nRunObject = query \"MyQuery\";\n```\n## Remarks\nUse this property to select the object you want to run.\nThe following object types are supported: pages, reports, codeunits, and from version 23.0 also queries.\nUse the following properties to set parameters for the object you want to run:\n devenv-runpageview-property\n devenv-runpagelink-property\n> NOTE\n> With Business Central 2025 release wave 1, actions on role centers that have the RunObject property specified, use the Caption, ToolTip, AboutText, and AboutTitle properties of the targeted application object, if none of these properties are specified on the action itself. This ensures consistency and reuse. You can override these values by specifically setting them on the action.\n## Related information\ndevenv-properties\ndevenv-runpageview-property\ndevenv-runpagelink-property"}