Skip to main content
7 votes

Can I use $expand to get Managed Metadata column values?

You can do a workaround using the TaxCatchAll field as long as you know which terms belong to which taxonomy field - if you have multiple. /_api/web/Lists/GetByTitle('<list>')/Items/?$select=*,...
Mikael Svenson's user avatar
4 votes
Accepted

Copy Taxonomy Column from one listitem to another listitem

Finally the below code works fine for me. Creating a list of string type and joining the array items with ";" using (var sourceContext = new ClientContext(SourceSiteCollectionurl)) ...
TARUN's user avatar
  • 2,856
4 votes
Accepted

TaxonomyFieldType is not installed properly?

Managed metadata service is not available in SharePoint Foundation. You need to delete the taxonomy fields before you can save the site as a template. For more information - SharePoint OnPremise ...
Swayam Siddha's user avatar
3 votes

unable to get all the term sets under a term group inside my event receiver

Please try this once. private static TermSet RetrunTermSetIfExists(ClientContext clientContext, TermGroup termGroup, string termSetName) { clientContext.Load(termGroup.TermSets); ...
Vainktesh Kumar's user avatar
3 votes

Get the Termset with Javascript and nothing return

I have used below function to get terms from the term set. You can inspire from it. First connect to SharePoint Taxonomy session, get hold hold of Default Term Store. function customGetTerm() { ...
Asad Refai's user avatar
  • 5,981
3 votes
Accepted

Client side Taxonomy field control manipulation in Sharepoint Online using?

To Add OOTB Taxonomy Picker Edit the masterpage and add: <SharePoint:ScriptLink ID="ScriptLink2" name="scriptforwebtaggingui.js" OnDemand="true" runat="server" Localizable="false" /> <...
Anuja's user avatar
  • 3,097
3 votes

Can I get the Term Label/Name for my Managed Metadata column value using REST API?

There is a known bug where single select taxonomy terms will not return the expanded/human readable label. If you can change your field to multi-select they will expand correctly. Of course that ...
Rothrock's user avatar
  • 3,010
2 votes
Accepted

Get system name and label from term in Display Template

Assuming you only want to parse the returned term and not lookup alternate labels and such you can use the built-in $getItemValue function. It takes the context and the mapped name of your managed ...
Thomas's user avatar
  • 980
2 votes
Accepted

Get the Termset with Javascript and nothing return

I currently worked with the same requirement, so here i am sharing my solution which i used to get the TermSet object. $(document).ready(function () { SP.SOD.executeOrDelayUntilScriptLoaded(...
Aakash Maurya's user avatar
2 votes

Copy Taxonomy Column from one listitem to another listitem

Did you try the following: targetItem["Related_x0020_Party"] = sourceValue; targetItem.Update(); sourceContext.Load(targetItem); sourceContext.ExecuteQuery();
Arsalan Adam Khatri's user avatar
2 votes
Accepted

CSOM + SharePoint Online: getTaxonomySession returns null

Login to the portal using SharePoint admin credentials. After that, go to the below url: https://yourtenantname-admin.sharepoint.com/_layouts/15/termstoremanager.aspx It will open the term store in ...
Gautam Sheth's user avatar
  • 30.9k
2 votes

How to create caml query with group by taxonomy field?

SharePoint supports grouping by Lookup and Taxonomy fields but not multivalued ones. Grouping a ListView by lookup columns How to group by Taxonomy Fields Group By On Managed Metadata Column and ...
Abner Peter's user avatar
2 votes

react, spfx and taxonomy

Use PNP SP taxonomy in your SPFX code as below,it easy to use and supported with SPFx import { taxonomy, ITermStore, ITerms, ILabelMatchInfo, ITerm, ITermData } from "@pnp/sp-...
vinit kumar's user avatar
2 votes
Accepted

editableRegionChangedEvent cant stop running

The editableRegionChangedEvent trigger many times for some reason.I have tried with it many weeks to get why the event trigger many times. Finally, I have found a workaround and work properly with me. ...
myomyo's user avatar
  • 116
2 votes

Export Import Term Sets with PnP

I faced a similar issue and had to use the Export-PnPTermGroupToXml to get the export of all Term Groups in the required XML format to import. You can get further details here
jaku's user avatar
  • 153
2 votes

Get Taxonomy Term by Guid in Powershell

We do have method on TermSet object to getTerm based on GUID. TermSet.GetTerm(Guid) Method - Gets a Term from the current TermSet based on its ID. https://docs.microsoft.com/en-us/dotnet/api/...
Siddharth Vaghasia's user avatar
2 votes
Accepted

Do taxonomies exist only at the site collection level? Or at the sub-site level as well?

There are only two types of Term Groups: Global Term Group. Managed via the central administration UI. Read-only access from all site collections and sites. Site Collection Term Group. Managed on the ...
Denis Molodtsov's user avatar
2 votes
Accepted

AllowMultipleValues in taxonomy field in CSOM Javascript

try the below code, I have added Mult="TRUE" this we used to use in our old codes var fieldSchema = <Field Type="TaxonomyFieldTypeMulti" Name="SessionTopics" ...
Karthik Jaganathan's user avatar
2 votes
Accepted

The given value for a taxonomy field was not formatted in the required <int>;#<label>|<guid> format

To include multiple taxonomy values, the values should be separated by ;#. Example: 44;#USA|c1815b1d-346f-4ce1-b2cb-15df5e12b0b3;#45;#INDIA|e141d775-7a3b-40aa-a680-98039b375828 Source: Update ...
Ganesh Sanap - MVP's user avatar
2 votes

Change Managed Metadata service name for Sharepoint Online

The Managed Metadata service's name is not possible to change in the SharePoint Online tenant. This service is provisioned automatically by Microsoft when the tenant is provisioned and the customers ...
Denis Molodtsov's user avatar
2 votes
Accepted

SharePoint REST API to create child term under a Parent Term

You can provide Parent Term Id in URL itself as below: /sites/{site-id}/termStore/sets/{set-id}/terms/{term-id}/children Or /sites/{site-id}/termStore/groups/{group-id}/sets/{set-id}/terms/{term-id}/...
Kalpesh Vaghela's user avatar
1 vote

How to update user field, multi user field, taxonomy field & multi taxonomy fields using GRAPH

Take a look here: https://stackoverflow.com/questions/45707051/create-sharepoint-list-item-with-lookup-field-with-microsoft-graph/51242644#51242644 The answer: This works with people fields where the ...
Anthony Graglia's user avatar
1 vote
Accepted

Can I get the Term Label/Name for my Managed Metadata column value using REST API?

You are missing the Request digest. It is necessary for POST requests. Modify the CAML query as per your requirement. Modify code as below: var body = { 'query':{ '__metadata': {...
Gautam Sheth's user avatar
  • 30.9k
1 vote

What is ObjectPath parameter when initializing TaxonomyFieldValueCollection object in Sharepoint?

ObjectPath class Tracks how a client object is created in the ClientRuntimeContext class, so that the object can be re-created on the server. This class and its members are reserved for internal use ...
A.Saéed's user avatar
  • 1,647
1 vote
Accepted

Dll downlad Microsoft.SharePoint.Client.Taxonomy.dll

The file is available as NuGet-Package. It contains version 15.0.4420.1017 which is also shipped with SharePoint 2010.
MHeld's user avatar
  • 5,123
1 vote

Office 365 - SharePoint Online - Get Taxonomy Group Name of Page Properties using PowerShell CSOM

This is how I got the termstore and termset assigned to the page property. #load TermStore here $TaxonomySession = [Microsoft.SharePoint.Client.Taxonomy.TaxonomySession]::GetTaxonomySession($ctx); $...
RealSteel's user avatar
  • 155
1 vote
Accepted

Include Synonyms/Other Labels for terms from store JSOM

Possible I'm missing something here, but if you are looking for the synonyms I think you'll get them from the get_labels: var context = SP.ClientContext.get_current(); var taxSession = SP....
Anders Aune's user avatar
  • 6,268
1 vote

SharePoint 2016 : Is there any React Taxanomy Picker Control that can be used in a SharePoint FrameWork WebPart (React)

GDPR ActivityHub has one implemented. You can find it here https://github.com/SharePoint/sp-dev-gdpr-activity-hub/blob/master/GDPRStarterKit/src/components/SPTaxonomyPicker.tsx
Lukas Nespor's user avatar
  • 1,661
1 vote

unable to get all the term sets under a term group inside my event receiver

Your navigation term set has "Available for tagging" unchecked. Term sets marked as such will not be found in code. You need to make sure "available for tagging" is checked on the term set.
Derek Gusoff's user avatar
  • 8,036
1 vote

Custom PreSave with SharePoint validation first

If i understand this right, you need to perform some validation before you call the save action. So one way to do that is use PreSaveItem action. Add your validations in PreSaveItem. This is triggered ...
Akshay Randive's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible