Converting a DataCollection in a List in CRM can be done like the below example if using the strong type: QueryExpression qExpr = new QueryExpression(Account.EntityLogicalName); qExpr.ColumnSet = new ColumnSet(new string { “name” }); qExpr.Criteria = new FilterExpression(LogicalOperator.And); qExpr.Criteria.AddCondition(“name”, ConditionOperator.Like, “%Lda%”); EntityCollection col = service.RetrieveMultiple(qExpr); if (col != null && col.Entities != null) { List accs = col.Entities.Select(item => item.ToEntity()).ToList(); }
top of page
Search
Recent Posts
See AllOn a customer field, if the requirement is to only show Accounts, please add this line to the OnLoad of the form: //Show only Account...
130
Please find below an example of calling the Execute method to run a workflow on CRM 365 Cloud. let Id = formContext.data.entity.getId().r...
140
Let’s assume that you create a Cloud Flow that you will interact with for example trough a button in the account form ribbon. When i...
100
bottom of page
Yorumlar