Friday, June 8, 2012

How to set Option set value to null CRM 2011


Option set does not accept NULL to clear its value so you need to write the code like below

function clearOptionSetValue()
{
var Prioritycode = Xrm.Page.data.entity.attributes.get("prioritycode");
Prioritycode.setValue(null);
}

1 comment:

  1. Interesting post. thanks for sharing helpful information with us. Appconsultio is an app development company in Mumbai that empowers endless Development to make a comprehensive, practical future. From concept to launch, we pride ourselves on delivering cutting-edge solutions that empower businesses to thrive in the digital landscape.

    ReplyDelete