aequos-solutions/modern-data-visualizer

[QUESTION] Taxonomy picker - site level term sets support

Opened this issue · 3 comments

Version used
1.4.0

Question
Do you support term sets created in site collection level term group?

Additional context
I am able to select term set from global term group, but I do not see term sets from site collection term group. Is it supported? Unfortunately, it is kind of complicated to use global term groups in our tenant...

image

image

Thanks

Laul0 commented

Hi @salascz,

Thank you for your question!

Unfortunately, the solution does not support the site collection level terms groups. It is mainly due to some technical constraints

Hi @Laul0,
thanks for quick response. Could you elaborate technical constraints? It should not be a problem to return such a term groups using standard Graph API call, right?

https://graph.microsoft.com/v1.0/sites/<site-id>/termstore/groups/

Seems to return groups for both "global" and "siteCollection" scopes in my case...

[
        {
            "id": "<group-id-1>",
            "description": "",
            "displayName": "Global Group",
            "createdDateTime": "2018-09-27T06:19:41.53Z",
            "scope": "global"
        },
        {
            "id": "<group-id-2>",
            "description": "",
            "displayName": "Site Collection - <tenant>.sharepoint.com-sites-<site-name>",
            "createdDateTime": "2022-05-03T11:52:19.187Z",
            "scope": "siteCollection"
        }
]

Thanks

Laul0 commented

Hi @salascz,

It is mainly due to the Taxonomy picker was developed before the Graph API allows to get Taxonomy. And behind the scene, Graph API does not allow some actions yet.
The Taxonomy filter is a little bit more complex than just getting terms from the term store:

  • localization
  • a lot of batch call to retrieve and manage the terms
  • filter and select

But we are keeping an eye on it and as soon as the Graph API meets the requirements, we will switch to it and maybe we will be able to support Tenant and Site term sets