Hi OOlashyn
Thanks for the link.
Tried the fetchXML with the following:
{% assign accountid = user.parentcustomerid.id %}
{% fetchxml my_query %}
<fetch version="1.0" mapping="logical">
<entity name="account">
<attribute name="name" />
<attribute name="accountnumber"/>
<attribute name="entityimage_url"/>
<attribute name="entityimageid"/>
<filter type="and">
<condition attribute="accountid" operator="eq" value="{{ accountid }}"/>
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% for result in my_query.results.entities %}
Returned by fetchXML:- </br>
</br>Name: {{ result.name }}
</br>Account Number: {{ result.accountnumber }}
</br>Entity Image URL: {{ result.entiytimage_url }}
</br>Entity Image ID: {{ result.entityimageid }}
{% endfor %}
It worked in so far as it returned the expected data except that the url is coming back blank
Tried the query in the XrmToolBox FetchXML Builder tool and it returned a value for the url
What am I missing?