Condition Expression c# plugin – Microsoft Dynamics CRM Forum Community Forum

Forum Post: Change the Filter On option on Opportunity Associated View for Account form


I have to write a condition expression where I check if a specific field’s status is Active.

This is my code so far.

QueryExpression query = new QueryExpression()
Distinct = false,
EntityName = “new_trainingstep”,
ColumnSet = new ColumnSet(“new_step”, “new_name”, “new_description”, “new_link”),
Criteria = new FilterExpression
Conditions =
new ConditionExpression
AttributeName = “new_step”, //this is the field I have to check if is Active or Inactive
Operator = ConditionOperator.Equal,
Values =


What do I write in Values so I can check?

Source link

Leave a reply

Please enter your comment!
Please enter your name here