Forum Discussion
Imported term sets, and renaming a term set
I created a term set consisting of around 450 entries, by importing from a CSV. I've now been asked to add another 100+ terms to the set. I've just read that we can only import a term set once - that there's no way of re-importing into the existing term set. I'd like to avoid adding the new terms manually! If I create a whole new term set so I can import all 550 terms from scratch, would I have to manually update all the site columns which reference the termset? Or could I rename the two termsets - give the original one a random name, then rename the new one so it has the same name as the original one?
2 Replies
- grant_jenkinsIron Contributor
LynnProspect You should be able to write a PowerShell script that imports a list of terms from a CSV and for each term use New-PnPTerm to add the term to an existing Term Set.
powershell/documentation/New-PnPTerm.md at dev · pnp/powershell · GitHub
NOTE: As always, ensure you test this in a test tenant first to ensure it works as expected.
Example below.
New-PnPTerm -TermSet "Departments" -TermGroup "Corporate" -Name $term- LynnProspectIron Contributor
Thank you, but I don't use Powershell. (I find it frustrating that lots of Sharepoint functionality has to be managed via Powershell.)