Pagination links not working in a library folder in a SharePoint Online WebPart

Hi,

A customer of my company has a SharePoint Online intranet.
A site contains a library named "L'information".
The library contains a folder named "Brves et Analyses".
The folder contains more than one hundred elements.

The site also contains a page named "L'information.aspx".
The page contains a WebPart associated to the library.

The pagination link to go to next page works after the user has opened the folder in the WebPart.
Here is the HTML markup of the link :

<a title="Suivant" class="ms-commandLink ms-promlink-button ms-promlink-button-enabled" onclick='RefreshPageTo(event, "?Paged=TRUE&amp;p_SortBehavior=0&amp;p_Title=2014%2f09%2f10%20CA%20Rennes%20%2d%20Pas%20d%e2%80%99exigence%20de%20surveillance%20particuli%c3%a8re%20si%20la%20situation%20du%20patient%20en%20postop%c3%a9ratoire%20est%20favorable%20&amp;p_ID=134&amp;RootFolder=%2fsites%2fPAR%2fjurisinfo%2fLinformation%2fBr%c3%a8ves%20et%20Analyses&amp;PageFirstRow=31&amp;View=eb2a8676-61f5-49f4-8b8d-bb163e1687e2");return false;' href="javascript:"><span class="ms-promlink-button-image"><img class="ms-promlink-button-right" alt="Suivant" src="/sites/PAR/_catalogs/theme/Themed/C2001D17/spcommon-B35BB0A9.themedpng?ctag=1" border="0"></span></a>

But the pagination links to go to the previous and the next pages do not work after the user has gone to the second page.
Here is the HTML markup of the link to go to the next page :

<a title="Suivant" class="ms-commandLink ms-promlink-button ms-promlink-button-enabled" onclick='RefreshPageTo(event, "https://macsf.sharepoint.com/sites/PAR/jurisinfo/SitePages/L' href="javascript:" false;'="" information.aspx?paged='TRUE&amp;p_SortBehavior=0&amp;p_Title=2013%2f05%2f16%20%20et%202013%2f02%2f28%20CASS%20%2d%20Qualification%20juridique%20contradictoire%20de%20la%20prestation%20de%20compensation%20du%20handicap%20&amp;p_ID=113&amp;RootFolder=%2fsites%2fPAR%2fjurisinfo%2fLinformation%2fBr%c3%a8ves%20et%20Analyses&amp;PageFirstRow=61&amp;View=eb2a8676-61f5-49f4-8b8d-bb163e1687e2");return'><span class="ms-promlink-button-image"><img class="ms-promlink-button-right" alt="Suivant" src="/sites/PAR/_catalogs/theme/Themed/C2001D17/spcommon-B35BB0A9.themedpng?ctag=1" border="0"></span></a>

The value of the onclick attribute is incorrect because it contains a quote.
Is it a known issue ?
What do I have to do to correct it ?

Thank you in advance for your help


  • Edited by Deudvid Wednesday, July 29, 2015 2:05 PM I have replaced 'client' by 'customer'
July 28th, 2015 9:45am

Hi,

According to your description, my understanding is that the pagination doesnt work in page in SharePoint online.

Please use IE11 browser and test whether the issue occurs.

Please create a new page and insert web part from other library, and test whether the issue occurs.

Please create a new page and insert web part from the same library, and test whether the issue occurs.

Best Regards,

Dean Wang

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 9:55am

Hi,

Thank you for your answer.
The customer and I face the issue described in my first message.
The customer uses Internet Explorer 10 and I use Internet Explorer 11.

I have created the two following pages in a test site :
    - L'information.aspx
    - Linformation.aspx
 
I have inserted a WebPart associated to a library in both pages.
The pagination issue only occurs in the page whose name contains a quote.


  • Edited by Deudvid Wednesday, July 29, 2015 2:06 PM I have replaced 'client' by 'customer'
July 29th, 2015 11:46am

Hi,

When the page name contains quote, the page code would go wrong and some functions may be affected.

I suggest you type the page name without quote and type anything you want in the page title.

Best Regards,

Dean Wang

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2015 4:55am

Hi Dean,

Thank you for your answer.
I have deleted the quote in the name of the page.
What do I have to do to have the quote displayed in this title ? :

Thank you in advance for your help
July 30th, 2015 6:15am

Hi,

You could edit the page title using JavaScript. You could insert a content editor web part to the page and type the below code in the content editor web part.

<script>
window.onload=function(){
if(document.querySelector("a[title='Linformation']").innerHTML!="Edit Item")
{
document.querySelector("a[title='Linformation']").innerHTML="qqq\'qqqq";
}
};
</script>

About how to use content editor web part for your reference:

https://support.office.com/en-ca/article/Content-Editor-Web-Part-c1350ff6-934c-4c2e-8e53-1ec3b548a0dc

Best Regards,

Dean Wang

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 1:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics