Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013.

I can't quite seem to work out the naming scheme for the REST API to discover end points.

eg:

/site/_api/web/...

/site/_api/site/..

Thanks for your help.

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

Lukie, I've recently written a post on how to access Term Store in SharePoint 2013 using the javascript "SP.Taxonomy.js" Hope it helps you. http://cann0nf0dder.wordpress.com/2013/04/09/accessing-taxonomy-term-store-with-jsom/

share|improve this answer
    
Great post!.. really helpful.. thanks very much –  Lukie Apr 17 '13 at 9:01
add comment

JSOM or REST API = no. BUT you can use JavaScript to call the Taxonomy Web Service to effectively accomplish client-side access. It's definitely more cumbersome than using the CSOM or REST API, though, but it works.

Try this out: http://spandps.com/tag/web-services/

The taxonomy picker with suggestions uses this web service client-side.

UPDATE: See the other answers. Sorry for the misinformation re: JSOM; I was thinking SharePoint 2010.

share|improve this answer
add comment

The REST API does not support manipulating Taxonomy Items but they can be modified by using the JSOM.

http://www.vrdmn.com/2012/12/working-with-taxonomy-and-javascript-in.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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