Sign in
Google apps
Main menu
Post a Comment On:
Blogpad
"Another Null Reference Exception CRM"
No comments yet. -
1 – 0 of 0
Task post create event:
public override void PostCreate(...)
{
Guid opportunityId = task.regardingobjectid.Value;
this.opportunity = (opportunity)service.Retrieve(EntityName.opportunity.ToString(), opportunityId, new AllColumns());
opportunity.new_textfield = "hello world"; // throws a NullReferenceException
string newtext = "hello world";
opportunity.new_textfield = newtext; // works fine
}
posted by fc at
1:29 PM
on Nov 8, 2007
Leave your comment
You can use some HTML tags, such as
<b>, <i>, <a>
This blog does not allow anonymous comments.
Google Account
You will be asked to sign in after submitting your comment.
Please prove you're not a robot
"Another Null Reference Exception CRM"
No comments yet. -