Let’s consider this scenario and securing this field from removal from form –
- This field can be easily removed by clicking on Remove because if you look at the Field Properties, this has not been locked yet.
Let’s ensure no one is able to remove this field.
Lock Fields on the Form – Manual
First step is to manually locking this field on the form.
- If you open the Field Properties, you’ll see that you can actually select Lock the field on the form.
- This will work and ensure that the field is locked on the form. But, it is open for a new person to simply unlocking from Field Properties and removing the field later on.
- Hence, let’s look at a recommended way to secure these fields further.
Lock Fields on the Form – Creating Dependency
Here’s a recommended way to lock fields on the form in a better way –
- Assuming this field is still unlocked on the Form and you need to secure it.
- In Form Properties, go to Non-Event Dependencies tab.
- Now, select the field in question. Budget Amount in this case.
Move it over to Dependent fields list from Available fields and click OK.
- Now, you can see that the field is locked on the form again.
- And if you try to unlock it from Field Properties, it won’t be unlocked from there since you have created a Dependency for the same.
You can see that the option to unlock/unselect the Lock the field on this form is disabled.
- And to remove this, you actually need to go to Form Properties and remove it from the Non-Event Dependencies list which is a good measure instead of locking it from the Field Properties itself.
Hope this was useful!
Here are some Power Automate posts you want to check out –
- Blocking Attachment Extensions in Dynamics 365 CRM
- Upgrade Dataverse for Teams Environment to Dataverse Environment
- Showing Sandbox or Non Production Apps in Power App mobile app
- Create a Power Apps Per User Plan Trial | Dataverse environment
- Install On-Premise Gateway from Power Automate or Power Apps | Power Platform
- Co-presence in Power Automate | Multiple users working on a Flow
- Search Rows (preview) Action in Dataverse connector in a Flow | Power Automate
- Suppress Workflow Header Information while sending back HTTP Response in a Flow | Power Automate
- Call a Flow from Canvas Power App and get back response | Power Platform\
- FetchXML Aggregation in a Flow using CDS (Current Environment) connector | Power Automate
- Parsing Outputs of a List Rows action using Parse JSON in a Flow | Common Data Service (CE) connector
- Asynchronous HTTP Response from a Flow | Power Automate
- Validate JSON Schema for HTTP Request trigger in a Flow and send Response | Power Automate
- Converting JSON to XML and XML to JSON in a Flow | Power Automate