Question
You create functionality for a company. The functionality includes a Microsoft Dataverse table with a form for data entry. The functionality will be distributed to other lines of business in the company, each with its own Dataverse environment.
New forms must not be created in order for updates to the functionality to work correctly.
You need to package the new functionality for distribution.
What should you do?
- A. Use a patch solution and disable the ability to create new forms for the table.
- B. Use a managed solution and include only the needed form.
- C. Use an unmanaged solution and include only the needed form.
- D. Use a managed solution and disable the ability to create new forms for the table. Correct
Explanation
Distribute the functionality as a managed solution and, before exporting it, turn off the table's managed property 'New forms can be created'. Managed properties are set in the unmanaged development environment and take effect once the managed solution is imported elsewhere; recipients cannot change them, only the publisher can through a solution update. A managed solution on its own still lets recipients add customizations such as new forms if the table remains customizable, so including only the needed form (B) does not meet the requirement. An unmanaged solution (C) gives no protection, and a patch (A) only updates an existing parent solution rather than packaging the functionality for first distribution.