0

With SharePoint Online, if I have 7 document libraries within a site, titled like so:

food
keys
cars-2019
cars-2020
cars-2021
pets
family

...Is there a way I can dynamically list and link all my cars_x document library titles onto a custom SharePoint page, whenever a cars_x document library is created?

Or

On that custom SharePoint page, can I create a dynamic navigation menu that picks up and displays what I am trying to query?

I am trying to avoid manually writing out links, every time a document library is created.

1 Answer 1

2

You can use Highlighted content web part for your requirements like:

enter image description here

Query text:

contentclass:STS_List_DocumentLibrary Title:"cars-*"

Output:

enter image description here


Optional:

Optionally you can set the layout & no. of items you want to show as per your requirements like:

enter image description here

2
  • Got it working...for a moment I thought the Title was part of the previous line, but its not. it's is own line. Thanks!
    – klewis
    Commented Apr 19, 2021 at 22:35
  • I have updated my answer & added query for others to copy paste directly. Commented Apr 20, 2021 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.