Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

crm 4.0 - Set stringproperty to null/blank using the SDK service

$
0
0

HI,

I am using CRM 4.0 on premise version. I have one attribute of type string. I need to set its value blank/null using sdk service. I am using following code to set value in attribute of  string type. But it gives me error while calling service.Update method.

StringProperty strPrpstring =newStringProperty("new_test",string.Empty);

deUpdatedData.Properties["new_test"] = strPrpstring;

service.Update(deUpdatedData);


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>