Hi,
I am trying to make visible few views to my customer, i am doing it via plugin and got the help from my this forum on code. But my situation is i want to make 2 or 3 views now and I am using fetch xml querry.
I am able to fetch one view, but fetching 2 or 3 view creating a problem. Below is the code that I am using
ConditionExpression queryCondition = new ConditionExpression("name", ConditionOperator.Equal, "Authorized Contact");
ConditionExpression queryCondition1 = new ConditionExpression("name", ConditionOperator.Equal, "Authorized User IDs");
qe.Criteria.Conditions.Add(queryCondition);
qe.Criteria.Conditions.Add(queryCondition1);
}
The one view which i was able to see that also stopped working.
I also tried via making object
ConditionExpression cond = new ConditionExpression("name", ConditionOperator.In, values);
qe.Criteria.Conditions.Add(cond);
and
ConditionExpression c = new ConditionExpression("name", ConditionOperator.In, value);
and it also not seems to working. Can anyone help me?
*This post is locked for comments