Explore the new Deal Manager to increase your Sales in Dynamics 365 CRM

function OnRowLoad(executionContext) 
{
var entityName = executionContext.getFormContext().data.entity.getEntityName();
if (entityName === "opportunity")
{
executionContext.getFormContext().data.entity.attributes.forEach( attribute =>
{
//Disable the custom field
if (["new_transactionfees"].includes(attribute.getName()))
{
attribute.controls.get(0).setDisabled(true);
}
}
)
}
}

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Inogic Tech

Inogic Tech

More from Medium

10 proven methods to keep your charts and graphs interesting in your presentations.

How Hashing is useful in recent technologies?

How to read the value from a Flip Switch Control in EasyRepro?

Pop-up Multiple Pictures/Images in Excel