I have a managed solution, in that i want to allow edit data but not delete.
how can i achieve this
please help
Hi Learner12,
If by "the data", you mean the managed solution components like "Entity", "field",..etc:
Users cannot delete components that belong to a managed solution, the only way to delete a managed solution component would be by uninstalling/upgrading the managed solution to delete components.
However, you can control what users can customize in solution components using the "Managed Properties" button,
If by "the data", you mean the records belonging to entities introduced by this solution, so you want users to create/update records but not delete them, then you can control this using Security Roles, you can set Delete privilege to None for your custom entity and assign this security role to the users in your target environment.
Hey,
what do you exactly mean with "edit data"? Do you mean something like changing the Display Name of a field, or editing a WebRessource?
Anyhow no changes can be made inside a managed solution. To edit Display Names of fields, editing workflows or something similar you need to create a new unmanaged solution and add the necessary components to it.
I would not recommend doing any changes to any components directly in the default solution. That way you quickly lose track of the customizations you/one have/has done.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156