0

Hi all!!

I’m trying to display the terms of a site but I can’t create a instance of TermSession object.

context = SP.ClientContext.get_current(); var taxonomySession = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);


This code displays the following error (firebug):

TypeError: b.get_path is not a function SP.Taxonomy.TaxonomySession.getTaxonomySession()

I’ve tried in two different SharePoint 2013 environments (online and in premise)

Am I missing something?

Thanks!

(Visited 103 times, 1 visits today)
Add a Comment