Hi all,
i simply try to get the Company Name from XML but it doesn't work for me. My FetchXML looks like this. What is the correct attribute to get the company name?
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="contact">
<attribute name="contactid" />
<attribute name="ownerid" />
<attribute name="parentcustomerid" />
<attribute name="fullname" />
<attribute name="firstname" />
<attribute name="lastname" />
<attribute name="jobtitle" />
<attribute name="telephone1" />
<attribute name="telephone2" />
<attribute name="mobilephone" />
<attribute name="emailaddress1" />
<attribute name="fax" />
<attribute name="department" />
<attribute name="address1_line1" />
<attribute name="address1_line2" />
<attribute name="address1_line3" />
<attribute name="address1_city" />
<attribute name="address1_stateorprovince" />
<attribute name="address1_postalcode" />
<attribute name="address1_country" />
<order attribute="fullname" descending="false" />
<filter type="and">
<condition attribute="statecode" operator="eq" value="0" />
</filter>
</entity>
</fetch>
*This post is locked for comments