Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

use attribute in condition tag of Fetch XML

$
0
0

Can we use attribute in condition tag of Fetch XML query? Let say, I want to find out the opportunities where name and description are same.

<fetch mapping="logical" output-format="xml-platform" version="1.0" returntotalrecordcount="true" distinct="true" >
    <entity name="opportunity" >
        <attribute name="opportunityid" />
        <attribute name="name" />
        <attribute name="description" />
        <filter type="and" >
            <condition attribute="name" operator="eq" value="description" />
        </filter>
    </entity>
</fetch>

Regards,

Hardik Chauhan


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images