Omar S
52 posts
Registered:
04 Jul 2019
Answered
26 Feb 2020
in reply to
Missing user
Link to this post
Hi Chris
So as long as you load your fetch and the fetch contains the attributes you want, then data from the table/entity should be accessible. As a simple example, here is a fetch that retrieves the fullname attribute from the Contact entity:
<fetch version="1.0" output-format="xml-platform" mapping="logical">
<entity name="contact">
<attribute name="fullname" />
<attribute name="contactid" />
<order attribute="fullname" descending="false" />
</entity>
</fetch>
In the custom listview editor, inside the list item I am able to access the fullname attribute and manipulate the UI doing the following:
<li class="list-group-item d-flex justify-content-between align-items-center">
#if(fullname.includes("Chris")){#
<span style="color: green">#: fullname #</span>
#}else{#
<span style="color: pink">#: fullname #</span>
#}#
If you are still having issues, please feel free to respond back with your fetch query, your js code placed inside the listview, and any console errors, You can also email us at
support@crmportalconnector.com
Last modified on 26 Feb 2020 22:02 by Omar S