Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Added CmdletExample to create default labels for new term #2474

Closed
wants to merge 5 commits into from

Conversation

Markus-Hanisch
Copy link
Contributor

This is an example on how to create multilingual default term labels for a different LCID whilst creating a new taxonomy terms.

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #4763

What is in this Pull Request ?

I added an example on how to create multilingual default term labels for a different LCID whilst creating a new taxonomy terms (see #4763)
@kenwith told me to also update NewTerm.cs accordingly.

Resources:
answer on sharepoint.stackexchange by Gautam Sheth
O365 - Create Labels on Managed Metadata Terms using CSOM in PowerShell from a CSV file
CreateLabel method of the Term class

erwinvanhunen and others added 5 commits January 10, 2020 15:04
January 2020 Intermediate Release 1
January 2020 Intermediate Release 1
January 2020 Intermediate Release 2
This is an example on how to create multilingual default term labels for a different LCID whilst creating a new taxonomy terms.
Also see PR:
MicrosoftDocs/office-docs-powershell#4763
@KoenZomers KoenZomers self-assigned this Jan 28, 2020
@KoenZomers
Copy link
Collaborator

Thanks @Markus-Hanisch for your contribution! Simplified the sample a bit more. We should actually add a command for doing this instead of having to use this workaround. I've added doing that to he backlog. For now I'll accept your sample as it's a valid and easy to use workaround. It will be merged through PR #2475

@KoenZomers KoenZomers closed this Jan 28, 2020
@KoenZomers
Copy link
Collaborator

Decided to take the time to solve it properly right-a-way. Updated PR #2475 to add the new command Add-PnPTermLabel which you can use to achieve your goal.

@Markus-Hanisch Markus-Hanisch deleted the patch-1 branch January 28, 2020 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants