Saturday, May 19, 2012

MSCRM 2011 - Q2 2012 Service Release Multi Browser Support


Client Software
  • Internet Explorer 7 or above on Windows 7, Vista and XP
  • Safari 5.1.1 or above on Mac OS-X or iOS5
  • Firefox 6 or above on Windows 7, Vista and XP or Mac OS-X or iOS5
  • Chrome 13 or above on Windows 7, Vista and XP.

Nicola Grillo

MSCRM 2011 - Retrieve Attachments by ID

// Comment
QueryExpression query = new QueryExpression

                    {
                        EntityName = ActivityMimeAttachment.EntityLogicalName,
                        ColumnSet = new ColumnSet("activitymimeattachmentid"),
                        Criteria = new FilterExpression
                        {
                            Conditions =
                        {
                            new ConditionExpression
                            {
                                AttributeName = "objectid",
                                Operator = ConditionOperator.Equal,
                                Values = {"activity/customentity ID"}
                            },
                            new ConditionExpression
                            {
                                AttributeName = "objecttypecode",
                                Operator = ConditionOperator.Equal,
                                Values = {Email.EntityLogicalName}
                            }
                        }
                        }
                    };
EntityCollection results = service.RetrieveMultiple(query);


Nicola Grillo