Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Retrieve terms from Taxonomy Termstore Termset #415
[* ] Enhancement
Expected / Desired Behavior / Question
I believe pnp-js-core would benefit from methods for retrieving termsets in a termstore similar to those for querying for list items.
The old behavior worked much like this:
I work a lot with termstores for creating navigational components. One important component to this is the ability to create child terms to make a hierarchical navigational structure. Thus the ability to iterate over terms within terms is critical.
An example in sp-pnp-js (note i'm not using TS) could be:
Unfortunately, there is no REST API for MMD.
We hear this request a lot, and understand there is a need - but as @koltyakov points out there is not REST api for this. I want to stay away from crafting requests to client.svc directly as that will be a giant mess to maintain and would create a second code base for processing requests. You can add your votes to this user voice that is already tagged as thinking about it. More votes does result in higher priority.
As soon as there is native support for REST management of taxonomy we'll get it added, but that is the path I want to stay on.
Going to close this as part of house keeping moving towards EOL for this library in July 2018.
Thank you for your interest in the sp-pnp-js library. We wanted to mention that this library is being deprecated in July, 2018 in favor of the new scoped pnpjs libraries. You should begin transitioning your existing projects when possible, or start new projects with the new libraries. Please see the transition guide for more details on migrating and be sure to let us know if you have any questions. Thanks!