Skip to content

Term Store - Allow setting term synonym #1697

Description

@Zamaroth

Category

  • Feature request

Describe the feature

Currently I haven't found a way to set synonym for term in TermStore. Term has method AddLabelAndDescription, but it only sets the translation and description fields.
When already set the synonym is stored as second element labels array with isDefault=false, so it can be retrieved, but probably cannot be set currently.

Describe the solution you'd like

A new parameter in AddLabelAndDescription

or

A new method SetSynonym

Additional context

Activity

  1. Zamaroth commented on Sep 25, 2025

    @Zamaroth
    Author

    I checked the implementation of AddLabelAndDescription and the issues is that it overwrites the first found element with given language.
    However the synonym is stored as another element with the same languagecode, but with isDefault=false. That means, that even if I try to call the method again with isDefault=false, it just overrides the first existing one and throws exception, probably becasue it doesn't have a default one anymore.

    This line should probably also check is isDefault equals.

    Then I could probably be able to call AddLabelAndDescription("synonym", isDefault=false) to set the synonym

  2. added theissue type on Jul 15, 2026
  3. Adam-it commented on Aug 28, 2026

    @Adam-it
    Member

    Thanks, @Zamaroth for the research and sorry for the late response from our side.
    Lets open it up. @Zamaroth are you still interested in contributing?

  4. added
    help wanted
    area: model 📐
    and removed on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: model 📐help wanted

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions