Hi, I am trying to query incident through the below fetchxml, it seems working, but only "createdon",and "title" columns, the "statecodename" and "primarycontactidname" are missing, I think coz they lookup values, how can I get the values then.
<fetch top="50" ><entity name="incident" ><attribute name="primarycontactidname" /><attribute name="statecodename" /><attribute name="title" /><attribute name="createdon" /><link-entity name="recoserv_participant" from="recoserv_incidentparticipantid" to="incidentid" link-type="inner" ><filter><condition attribute="recoserv_participant" operator="eq" value="9D488E77-79AF-E711-A81C-005056B5FEFA" /></filter></link-entity></entity></fetch>









