Hello Everyone,
Today i am going to show how to lock the fields on editable grid when on list view of the dynamics 365 sales record.
Let’s gets’s started.
Scenario:
There is a requirement to lock some of the fields which are locked at record level but they are editable when on editable grid of the dynamics 365 sales record.
So now we need to lock those locked fields on the editable grid as well. Also that lock functionality should work on all the views of the listed records.
How do you do that?
In order to achieve this functionality it is possible with Javascript.
————————————————————————————————————————-
function ShowHideTabs(executionContext, settings) {
formContext = executionContext.getFormContext();
booleanFieldValue = formContext.getAttribute(settings.booleanFieldName).getValue();
if(booleanFieldValue == null){
booleanFieldValue = false;
}else if(settings.invertBoolean == true){
//…
Source link
More About This Author
Array
Dyn365CE27 September 2023{How to} turn on unified routing in Dynamics 365 Customer Service
Dyn365CE26 September 2023{How to} Enable Enhanced Full Case Form in Dynamics 365 Customer Service
Dyn365CE25 September 2023Set Advisor Program Preview in Dynamics 365 CE Apps
Dyn365CE24 September 2023{How to} use Distill Web Monitor on Dynamics 365 Apps