Hi all, I am very unfamiliar with fetchXML and how to even use it. Would someone please be able to guide me in right direction or share some tutorials?
I have the below code but have no idea where to even start, does it on go somewhere within the form?
I am basically trying to make sure my account strategy shows up on my CHILD account if it is added on PARENT account.
Do I add it on my account entity? If so, where do I have to add it..
var fetchXml ="<fetch
version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>" +
" <entity name='strategy'>" +
" <attribute name='child' />" +
" <attribute name='parent' />" +
" <attribute name='strategyid' />" +
" <attribute name='accountid' />" +
" <filter type='and'>" +
" <condition attribute='accountid'
operator='eq' uitype='strategy' value='" + accId +"' />"
+
" </filter>" +
" <link-entity name='account' from='accountid' to='accountid'
visible='false' link-type='outer' alias='a'>" +
" <attribute name='child'
/>" +
" <attribute name='parent'
/>" +
" </link-entity>" +
" </entity>" +
"</fetch>";