phpSPO
phpSPO copied to clipboard
I want to fetch termstore, Termsets and related terms using vgrem.However, Iam not even able to fetch the termstore.
How to read and write data from the term store with the combination of vgrem and cakephp3 code I am able to creating the session object of TaxonomySession
$authCtx = new AuthenticationContext($siteweburl);
$authCtx->acquireTokenForUser($username,$password); //authenticate
$ctx = new ClientContext($siteweburl,$authCtx);
$taxdforctx = new JsonLightFormat('verbose');
$ctx = new ClientRuntimeContext($siteweburl,$authCtx,$taxdforctx,'');
$taxosess = new TaxonomySession($ctx);
later on that I did not find any functions in vgrem over there to read Term sets, Terms and term GUIDs