Make unlimited the number of breadcrumbs of the libraries in SharePoint Online

Hi,

The number of breadcrumbs of the libraries in SharePoint Online is limited to 2.
The breadcrumbs are the following when a folder of a library is open: Name of the library or name of the father folder > Name of the current folder.

Is it possible to make unlimited the number of breadcrumbs ?
The breadcrumbs would be the following when a folder of a library would be open: Name of the library > Name of an ancestor folder > ... > Name of the father folder > Name of the current folder.

Thank you in advance for your help

July 24th, 2015 7:40am

Hi Deudvid- try the solution at the following link:

http://robertmcquaig.com/sharepoint/document-library-breadcrumbs/

Free Windows Admin Tool Kit Click here and download it now
July 24th, 2015 2:32pm

Hi Cameron,

I have followed the steps listed on the page whose link is in your message.
I have included a Script Editor WebPart into the page of the All Items view of a library.
I have included the following code into the WebPart :

document.write('<div style="background: #ffff99; padding: 5px; border-radius: 4px; border: 1px solid #cccccc; margin-bottom:-10px;"><b>Folder Location:</b>');
document.write(SeparatorArrow);

Here is the result :

Can you please explain me what I have done wrong ?

Thank you in advance for your help

July 28th, 2015 11:43am

Hi Deudvid,

You need to download the JS file in the link provided by Cameron, and then copy and paste all the code inside the JS file to the Script Editor web part.

The code you added to the Script Editor web part is part of the code inside the JS file downloaded.

If you want modify the style of the styling or the title displayed at the front of the breadcrumb, then you need to find the code part which you added in the web part in the JS file and modify the code based on your need.

Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 11:05pm

Hi Victoria,

Thank you for your answer.

I had not noticed the link to download the JavaScript file.

I have copied and pasted the JavaScript code into the Script Editor WebPart.
Here is the result:

An error page like the following is displayed after clicking any breadcrumb link in the WebPart:

Translation of 'Fichier introuvable' : The file has not been found.

Here is the markup of the native link 'Dossier 1':

<a title="Dossier 1" href="/sites/tests/Documents%20partages/Forms/AllItems.aspx?RootFolder=%2Fsites%2Ftests%2FDocuments%20partages%2FDossier%201&amp;View=%7B9D038F77%2D427A%2D4499%2DA47E%2DFDAF7EECB0AB%7D&amp;PageView=Shared&amp;InitialTabId=Ribbon%2EWebPartPage&amp;VisibilityContext=WSSWebPartPage">Dossier 1</a>

Here is the markup of the link 'Dossier 1' in the WebPart:

<a href="https://macsf.sharepoint.com/sites/tests/Documents%20partages/Forms/AllItems.aspx?RootFolder=%2F%2Fsites%2Ftests%2FDocuments%20partages%2FDossier%201&amp;FolderCTID=0x01200074EED2140EA6584FBE02E532D29E8871&amp;View=%7B9D038F77%2D427A%2D4499%2DA47E%2DFDAF7EECB0AB%7D">Dossier 1</a>

What do I have to do to make the links work in the WebPart ?

Thank you in advance for your help

July 30th, 2015 5:44am

Hi Deudvid,

Which content type is used for Dossier 1?

Is that a folder?

I recommend to copy and paste the link in the href of Dossier 1 from themarkup(https://macsf.sharepoint.com/sites/tests/Documents%20partages/Forms/AllItems.aspx?RootFolder=%2F%2Fsites%2Ftests%2FDocuments%20partages%2FDossier%201&amp;FolderCTID=0x01200074EED2140EA6584FBE02E532D29E8871&amp;View=%7B9D038F77%2D427A%2D4499%2DA47E%2DFDAF7EECB0AB%7D) in browser directly to see how it works.


Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2015 10:01pm

Hi,

'Dossier 1' is a folder.

I have pasted the link 'Dossier 1' of the WebPart into the URL bar of my web browser but the error page has been displayed.

July 31st, 2015 3:45am

Hi Deudvid,

After decoding the URL of the folder 'Dossier 1', it seems that there is extra '/'(%2F) added in the URL as the image below shows:

Only one '/' is correct.

Does this issue occur with other libraries?

Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 10:33pm

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

Other recent topics Other recent topics