Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: does fetchxml support ternary operator?

$
0
0

Hello - Does FetchXML support any type of ternary operator? For example, consider the following FetchXML:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="new_aeassignment">
<attribute name="new_comptype" />
<attribute name="new_aeassignmentid" />
<order attribute="new_comptype" descending="false" />
<link-entity name="new_ae" from="new_aeid" to="new_aeid" visible="false" link-type="outer" alias="a_1e32bfce6d3c40aba4d982fa40733806">
<attribute name="ownerid" />
<attribute name="new_aeoffice" />
</link-entity>
</entity>
</fetch>

Say the business wants to display a custom owner name in this view if the ownerid is either 1 of 2 specific ownerids. Is there a way to update the Fetch XML for this view with some type of ternary logic to support that requirement?


Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>