hi,
need a hand with getting a guid to display in an xml query
I need the account or lead guid to display but not sure what I need to add to the following (you see I can get the account name itself, but not the guid)
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="annotation">
<attribute name="subject" />
<attribute name="notetext" />
<attribute name="filename" />
<attribute name="annotationid" />
<attribute name="overriddencreatedon" />
<attribute name="ownerid" />
<attribute name="annotationid" />
<attribute name="modifiedon" />
<attribute name="modifiedonbehalfby" />
<attribute name="modifiedby" />
<attribute name="isdocument" />
<attribute name="filesize" />
<attribute name="createdon" />
<attribute name="createdonbehalfby" />
<attribute name="createdby" />
<order attribute="subject" descending="false" />
<link-entity name="account" from="accountid" to="objectid" visible="false" link-type="outer" alias="a_57512d8cb06d477eb28a0e7fa4d77cf8">
<attribute name="name" />
</link-entity>
<link-entity name="lead" from="leadid" to="objectid" visible="false" link-type="outer" alias="a_41f694ecac854ddd9e16b58511ab4b83">
<attribute name="companyname" />
</link-entity>
<link-entity name="opportunity" from="opportunityid" to="objectid" visible="false" link-type="outer" alias="a_ed276e7f2280455aa448fdc6d4a6dc4a">
<attribute name="parentaccountid" />
</link-entity>
</entity>
</fetch>