script-samples icon indicating copy to clipboard operation
script-samples copied to clipboard

Add recursion to spo-export-termstore-terms-to-csv

Open Sympraxis-Consulting opened this issue 3 years ago • 1 comments

@AhmadiRamin Thanks for this script!

It would be great if this script exported all the terms to whatever depth they exist. https://github.com/pnp/script-samples/tree/main/scripts/spo-export-termstore-terms-to-csv

For example: Region Country State As a hierarchy.

I may make a PR with this change, but I wanted to add it as an issue first.

Sympraxis-Consulting avatar Sep 29 '22 13:09 Sympraxis-Consulting

Sorry - this was from me, not Sympraxis.

sympmarc avatar Sep 29 '22 13:09 sympmarc

After I added this issue, I found the Export-PnPTermGroupToXml cmdlet. It does a better job than I would, so closing.

sympmarc avatar Dec 08 '22 18:12 sympmarc

I guess I can't close it, so @pkbullock, feel free!

sympmarc avatar Dec 08 '22 18:12 sympmarc

No worries, thank you for considering contributing 😊

pkbullock avatar Dec 08 '22 18:12 pkbullock