Question 250
An integration team tries to add a property to an existing Business Central API page through a pageextension. The developer recommends the following change: Create a separate custom PageType API page with a defined API contract. Which technical explanation most directly justifies it in this case?
Explanation
Correct Answer
Business Central API pages cannot be extended with pageextension objects; new custom API pages define their own endpoints. It connects the proposed action to the exact failure or requirement—An integration team tries to add a property to an existing Business Central API page through a pageextension. Confirmation would be the new endpoint appears with the specified publisher, group, version and entity names and responds to authorized requests.
Incorrect Answers
That mechanism explains why the alternative action—define a page view and filtering behavior rather than duplicating the underlying record table—helps in another case. It does not justify the proposed fix here; Business Central api pages cannot be extended with pageextension objects; new custom api pages define their own endpoints. The distinguishing requirement is: An integration team tries to add a property to an existing Business Central API page through a pageextension.
That mechanism explains why the alternative action—set the dataclassification metadata on the custom al table field—helps in another case. It does not justify the proposed fix here; Business Central api pages cannot be extended with pageextension objects; new custom api pages define their own endpoints. The distinguishing requirement is: An integration team tries to add a property to an existing Business Central API page through a pageextension.
That mechanism explains why the alternative action—add a tableextension object with a properly numbered custom field on the existing table—helps in another case. It does not justify the proposed fix here; Business Central api pages cannot be extended with pageextension objects; new custom api pages define their own endpoints. The distinguishing requirement is: An integration team tries to add a property to an existing Business Central API page through a pageextension.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests