web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Unknown tag 'paginate'...
Power Pages
Unanswered

Unknown tag 'paginate' error.

(0) ShareShare
ReportReport
Posted on by 2
Hi 
I am trying to add pagination to my webpage, but I got an error " Unknown tag 'paginate' ". I am little confused why this error popped up.
 
Please help!
 
 
Below is my code:
<div class="container">
<div class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<div class="page-heading">
{% include 'breadcrumbs' %}
</div>
{% entitylist key: page.adx_entitylist.id %}
{% entityview logical_name: 'Laptop' name:'Active All Device Informations', page_size: 20 %}
{%- paginate entityview.records by 20 -%}
{% for item in entityview.records %}
<item>
<div name="content" style="padding: 15px 30px 0 0;">
<h2>{{ item.cr02c_name }}</h2>
<h3>{{ item.cr02c_devicetype }}</h3>
<div name="image" style="width: 300px; float: left; padding: 0 0 4 15px;"><img src="{{item.cr02c_photo}}" style="float: left;"></div>
<div name="main-content" style="margin-left: 350px; max-width: 800px;">
<p>{{ item.cr02c_title }}</p>
<p>{{ item.cr02c_memory }}</p>
<p>{{ item.cr02c_manufacturername }}</p>
<p>{{ item.cr02c_price }}</p>
<p>{{ item.cr02c_processor }}</p>
<p>{{ item.cr02c_screensize }}</p>
<p>{{ item.cr02c_storage }}</p></br></br></br></br>
</div>
<div class="clear"></div>
</div>
</item>
{% endfor %}
{%- if paginate.pages > 1 -%}
<nav role="navigation">
<ol class="pagination">
{%- if paginate.previous -%}
<li>
<a href="{{ paginate.previous.url }}">
<span aria-hidden="true">&laquo;</span>
Previous <span class="visuallyhidden">page</span>
</a>
</li>
{%- else -%}
<li class="disabled">
<span aria-hidden="true">&laquo;</span>
Previous <span class="visuallyhidden">page</span>
</li>
{%- endif -%}

 

{%- for part in paginate.parts -%}
{%- if part.is_link -%}
<li>
<a href="{{ part.url }}">
<span class="visuallyhidden">page</span> {{ part.title }}
</a>
</li>
{%- else -%}
{%- if part.title == paginate.current_page -%}
<li class="active" aria-current="page">
<span class="visuallyhidden">page</span> {{ part.title }}
</li>
{%- else -%}
<li>
<span class="visuallyhidden">page</span> {{ part.title }}
</li>
{%- endif -%}
{%- endif -%}
{%- endfor -%}

 

{%- if paginate.next -%}
<li>
<a href="{{ paginate.next.url }}">
Next <span class="visuallyhidden">page</span>
<span aria-hidden="true">&raquo;</span>
</a>
</li>
{%- else -%}
<li class="disabled">
Next <span class="visuallyhidden">page</span>
<span aria-hidden="true">&raquo;</span>
</li>
{%- endif -%}
</ol>
</nav>
{%- endif -%}
{% endpaginate %}

 

<style>
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
}
 
.pagination li {
display: inline;
margin: 0 5px;
}
</style>

 

{% endentityview %}
{% endentitylist %}
</div>
</div>
</div>
</div>
Categories:
  • Angeline Profile Picture
    7 on at

    Any luck with this? facing the same issue. Please are you able to suggest how you got around it? thanks!

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    hi @Angeline,

    There is no liquid tag paginate. If you want to render entitylist on the webtemplate please refer to this official example on how to do that (it includes pagination as part of the example).

  • Angeline Profile Picture
    7 on at

    Thanks @OOlashyn ,

    I am able to use the referred code when I work with an entitylist/entityview. But I am trying to implement pagination for fetchxml output that is displayed via HTML.

    Also, noticed a web template 'Pagination' on starter portal of trial instance so wondering if that can be used on the others...

    Any pointers please? thank you. 

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    With fetchxml, I would advise you to check these articles from Colin Vermander (first and second). They show how to use fetchxml with a web template to query data in web api like fashion. There he also explains how to working with the request that has multiple pages.

    Regarding the Pagination template unfortunately cannot tell anything - I don't have a starter portal right now. Maybe somebody else will be able to comment on this.

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Angeline , 

     

     Please have a look at the latest post by @OliverRodrigues . It is closely related to what you are trying to achieve 

     

    https://oliverrodrigues365.com/2021/03/02/power-apps-portals-loading-large-data-in-entity-lists/ 

     

    You can also add the following library on the client-side to achieve your pagination. https://mdbootstrap.com/docs/b4/jquery/tables/pagination/ 

     

    I am adding one of the latest solutions which will help you to achieve it 

    https://powerusers.microsoft.com/t5/Power-Apps-Portals/How-to-upgrade-bootstrap-version-quot-3-3-6-quot-to-quot-4-5-7/m-p/764261 

     

    Hope it helps. 

     

    ------------

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • Angeline Profile Picture
    7 on at

    Thank you @OOlashyn and @ragavanrajan, will try the suggested approaches and see how it goes.

    Much appreciated!

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 139

#2
Mohsin Ali Profile Picture

Mohsin Ali 43

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard