Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Retrieve CRM Records using fetchxml in liquid template in 365 Portal & show the data using jqgrid/Bootstrap grid

Posted on by 2,665

Hi All,

I need to retrieve crm records using fetchxml in liquid template in portal 365 crm.Then, i need to display all fetched records in to jqgrid or bootstrap grid in portal page.Here i am sending my template which one i am using:

{% fetchxml events_query %}

<fetch version="1.0" output-format="xml-platform" mapping="logical" aggregate="true">

<entity name="ags_event">

<attribute name="ags_eventid" />

<attribute name="ags_name" />

<attribute name="createdon" />

<order attribute="ags_name" descending="false" />

<filter type="and">

<condition attribute="ags_address" operator="eq" value="Madhapur" />

</filter>

</entity>

</fetch>

{% endfetchxml %}

{% assign events = events_query.results.entities %}

{% if events.size > 0 %}

Success Events

{% endif %}

{% endblock %}

Could anyone help here, it would be appreciate.

Thanks,

Jharana

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans