0

Hi fellow sharepoint experts,

I'm baffled by a problem that arose when documents were copied from one site to another. For some reason the migrated documents have the wrong label being displayed. I can manually correct it by changing the properties of the document but I can't see why it has the wrong label in the first place. As an example, using flow, I've got the properties of source:

        {
        "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
        "TermGuid": "1e51adee-a95e-40f0-abf9-4d098e96aa32",
        "WssId": 237,
        "Label": "Label1",
        "Path": null,
        "Value": "Label1|1e51adee-a95e-40f0-abf9-4d098e96aa32"
    },

and on the destination:

                    {
                    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
                    "TermGuid": "1e51adee-a95e-40f0-abf9-4d098e96aa32",
                    "WssId": 46,
                    "Label": "Label1",
                    "Path": null,
                    "Value": "Label1|1e51adee-a95e-40f0-abf9-4d098e96aa32"
                },

Only WssId is different in the above - I am aware of a hidden list but its difficult see whats going on. Could the list be corrupted?

Any ideas ?

Thanks

1 Answer 1

0

WssId can be obtained from a hidden list at the root of site collection called "TaxonomyHiddenList". You can browse it on https://sharepointurl/Lists/TaxonomyHiddenList.

When you assign a value for a TaxonomyField, an item is created for the selected Term in a hidden list called TaxonomyHiddenList in the root web of the site. The WssId is an Id of this item in the TaxonomyHiddenList.

So, after copying files from one site collection site to another site collection, WssId should be changed, because every site collection has own TaxonomyHiddenList.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.