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
Frequent Visitor

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
Welcome Super Users.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,880)