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
- Dyn365CE5 October 2023{How to} Get Latest Portal Solution Metadata Translations on Power Pages
- Dyn365CE4 October 2023{How to} Set Power Pages Site Actions
- Dyn365CE3 October 2023{How to} discover makers working on the Power Pages Site with Copresence
- Dyn365CE2 October 2023Release Plans for Dynamics 365, Power Platform, Microsoft Cloud of Industry