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' />
</filter>
</entity>
</fetch>
<all-attributes /> will fetch you all attributes in fetch XML.
You may like below posts
Improving MS CRM Performance
Performance Center in MS CRM 2013
date and time field behavior in MS CRM
Upsert in MSCRM
Locking mechanism in MS CRM
Ticker Symbol Field in MS CRM
Themes in MS CRM
Enable Tracing in MS CRM
Calculated Field in Dynamics CRM 2015
IME Mode in MS CRM
No comments:
Post a Comment