cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bart-qteam
Frequent Visitor

Changes in webtemplate (pagination) are not reflecting

Hello everyone, 

 

Today I tried to adjust the content of the standard pagination webtemplate in my power portal app. I tried to adjust the previous and forward arrow icons. But changes to the webtemplate do not seem to reflect.

 

I cleaned the cache and reflection are still not visible. 

 

Could someone help me out?

 

Thanks in advance!

4 REPLIES 4
ragavanrajan
Super User
Super User

Hi @Bart-qteam 

 

Are you referring to the template "Page with Child links?" Please post the screenshot of where did you make the changes? 

 

Try Ctrl + F5 once you have done sync changes. 

 

Hope it helps. 
------------

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

Hi,

 

Thanks for your response!

 

It's about the Pagination webtemplate. I only made a change in the arrow icon (I added the text: Previous). I also tried changes in other sections of the template, but none of them are working.

 

Ctrl + F5 is not working.

AaronKGumbs
Advocate I
Advocate I

Hi,

 

You need to ensure that you've replaced '«' with 'Previous' in the following locations in your Pagination Web Template:

 

 {% if current_page == 1 %}
      <li class="disabled"><a href="{{ request.url | add_query: 'page', '1' | path_and_query | escape }}">Previous</a></li>
      <li class="disabled"><a href="{{ request.url | add_query: 'page', prev_page | path_and_query | escape }}">Previous</a></li>
  {% else %}
      <li><a href="{{ request.url | add_query: 'page', '1' | path_and_query | escape }}">Previous</a></li>
      <li><a href="{{ request.url | add_query: 'page', prev_page | path_and_query | escape }}">Previous</a></li>
  {% endif %}

 

Once that's done, you need to clear your portal cache by either going to /_services/about as a logged in user with the Administrator Web Role, or, by heading to the Power Apps Portal Studio and using the Browse Website button.

 

I've just tried this with no issues.

 

Thanks,

Aaron

Thank you very much, I will try this.

 

Edit: after clearing the cache and following your instructions the changes are still not reflecting.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,238)