I have set up terms like this in the picture and added them to a list. I want to replace term2 with term1 on all lists/items that contains term2. I have tried with merging term2 with term1 but it doesn't update the lists, so i tried to re-index the list but it still didn't change the list at all. Then I tried this code with powershell, still no success. How can I merge a term with another and have all items changed on a site?

Connect-PnPOnline -Url https://MySpSite -Scopes 
$tax = Get-PnPTaxonomySession
Get-PnPProperty -ClientObject $tax -Property "TermStores"
$ts = $tax.TermStores[0]
$site = Get-PnPSite 

enter image description here enter image description here

  • Do you want to change the Term set field value from list item? – PGP Apr 11 '18 at 13:57
  • @PGP I dont want to keep term2 at all, i want that all items with the tag term2 is remapped to term1 and all lists items etc is changed from term2 to term1. – Patte Apr 12 '18 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.