Share via

SharePoint: dynamically generated URL for a Library View

Freedomic 1 Reputation point
2020-09-23T05:20:06.277+00:00

I have a Library where I have Document Sets.

One metadata field is Company.

I have grouped the View by the Company field.

Now I wonder, if it's possible to get an automatically generated URL for "imaginary" Filter Views by Companies. I cannot create Views for every company.

So, is there any possibility to tell for the URL that "Filter this view by Company XYZ", so it would be some & signs and formulas in the URL if possible?

Microsoft 365 and Office | SharePoint | For business | Windows

2 answers

Sort by: Most helpful
  1. JoyZ 18,131 Reputation points
    2020-09-24T04:45:56.507+00:00

    Hi @Freedomic ,

    It's by design that we need the term unique identifier to avoid duplicate term names .

    In addition, the metadata navigation tree view URL is automatically generated, it will retrieve the GUID of the term and we cannot change it.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


  2. Freedomic 1 Reputation point
    2020-09-23T06:18:42.77+00:00

    I think I have partly resolved the problem.
    I can use metadata navigation: If I choose company from there, I get a specific URL for a Company filter.
    But the new problem is that in t he URL the metadata entry is in key format,
    example:

    ......&TreeValue=8328f232%2D4b74%2D4325%2Db881%2D5aa3a0fba7cc

    It would be much easier if the TreeValue would be a Company Name.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.