0

I want to copy the exact hierarchy (as seen below) of Groups, termsets and all level of terms from one MMS to another MMS:

enter image description here

I am looking for sample server side API code to perform this from where i can get an idea?

I have used following command to export whole the termstore:

Export-SPTerms -TermStore (Get-SPTaxonomySession -Site $sourceMMSWebApp).TermStores[0] -OutputFile "c:\temp\termStore.xml"

now, i want to import all the groups to destination MMS, which command should i use?

1

You can use Script Created by http://blog.falchionconsulting.com/index.php/downloads/

There is a cmdlet that allows to export terms into an XML file and another cmdlet that allows importing from xml file.

http://www.falchionconsulting.com/PowerShellViewer/Default.aspx?Version=SP2010&Cmdlet=Export-SPTerms

http://www.falchionconsulting.com/PowerShellViewer/Default.aspx?Version=SP2010&Cmdlet=Import-SPTerms

  • I don't know who down voted. If you read the question. OP is asking how to move term from one MMS to Another. – Amal Hashim Apr 9 '15 at 19:00
  • thanks for this useful info: I have updated question, can you please look into that? – SPBeginer Apr 10 '15 at 13:23
  • Use the second link..falchionconsulting.com/PowerShellViewer/… – Amal Hashim Apr 10 '15 at 13:24
  • thanks! i am exporting group one by one, but i am getting this error: Specified argument was out of the range of valid values. Parameter name: lcid, how i fix this – SPBeginer Apr 10 '15 at 14:15
  • @SPBeginer it seems your error contains < - better update it in question. – Amal Hashim Apr 10 '15 at 14:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.