Skip to content

Setting the localized name of a TermSet is not possible #1188

@JuergenRB

Description

@JuergenRB

Category

  • Bug

Describe the bug

The documentation describes how to set the LocalizedName of a TermSet.
However, the example does not work because the TermSetLocalizedNameCollection class is internal.

image

Steps to reproduce

Proceed as described in the documentation

// Add a new localized label for the term set
(termSet.LocalizedNames as TermSetLocalizedNameCollection).Add(new TermSetLocalizedName() { LanguageTag = "nl-NL", Name = "Dutch name" });
// Send the updates to the server
await termSet.UpdateAsync();

Expected behavior

The example from the documentation works or there is another possibility to set the LocalizedNames of the TermSets.

Metadata

Metadata

Assignees

Labels

area: model 📐Related to the core SDK modelsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions