Wednesday, October 14, 2015

Textual description of firstImageUrl

Retrieve all attributes using FetchXML in MS CRM

Below code snippets gives an example on how to retrieve all the attributes from an entity using fetch xml.

<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' count='1'>
  <entity name='new_account'>
    <all-attributes />
    <order attribute='createdon' descending='true' />
    <filter type='and'>
      <condition attribute='new_name' operator='eq' value='Test' />


<all-attributes />  will fetch you all attributes in fetch XML.

1 comment:

  1. Nice to read your article! I am looking forward to sharing your adventures and experiences. recover deleted files from USB