Tag Info

Hot answers tagged

4

Groups define security boundaries. A group is a set of term sets that all share common security requirements. Only users who are designated as contributors to a specific group can manage term sets that belong to the group or create new term sets within it. Organizations should create unique groups for term sets that will have unique access or security needs. ...


4

You cannot edit the Name directly, because the Name of the TermStore is simply the name of the MetadataWebServiceApplicationProxy. So what you have to do is to rename that one instead. In your example, you have to get the SPMetadataServiceApplication first, find the right proxy and rename it. This should look like this, assumed that your ...


3

You cannot create Site Collection specific Term Stores, but you can create Site Collection specific (local) Term Sets. Details here.


2

You can put the specific term store name in the Site property bag and in the feature receiver fetch it from there.


2

The Managed Metadata service application is a different entity and it contains its own database as well. This has its own Users managing provision. Even though you are the Site collection administrator might be you dont have permissions to access managed metadata db. You can have grant the permissions in two levels, when you select the Managed Metadata ...


2

According to a few articles, not all types of columns are available/supported via REST in SharePoint 2010, including managed metadata columns. Not Supported Managed Metadata Managed Metadata (Multi) Publishing HTML Publishing Hyperlink Publishing Image Media Field Summary Links Publishing Image Source: ...


1

John, All of the examples I've found online tell you to use the Managed Navigation approach. I found a video tutorial and step-by-step instructions that are quite similar. Managed Metadata Navigation in SharePoint 2013 SharePoint 2013 – Navigation using Managed Metadata (Term Store)


1

it's impossible from out-of-the-box, but you can use 3-rd party solutions. For example from VirtoSoftware (link) , BambooSolutions, or SharePoint Boost. Also you can upload multiple files with predefined properties (managed metadata supported) with Bulk File Upload.


1

please do the following steps Make sure the service "Managed Metadata Web Service" is started at [Central Admin >> System Settings >> Manage services on server]. If it is not started just start it and wait for some time to get the Service application to take the affect. Make sure the check box "This service application is the default storage location for ...


1

The reason your code is not working is that TaxonomySession uses the user from the HttpContext. I found this link which is in German but the suggested code looks like this: var siteId = SPContext.Current.Site.ID; HttpContext oldContext = null; try { //Save actual context and null oldContext = HttpContext.Current; HttpContext.Current = null; ...


1

Unfortunately you cannot import labels using OOB import functionality. I recommend using Lapointe.SharePoint.PowerShell.wsp found here and here to do the import. It supports also labels. You can do first an export to get sample XML out, then modify it, and finally do import. It will not overwrite existing terms (will throw error), so you need want to remove ...


1

Here is the other example that you can prefer, SP.SOD.executeOrDelayUntilScriptLoaded(function() { 'use strict'; var nid = SP.UI.Notify.addNotification("<img src='/_layouts/15/images/loadingcirclests16.gif?rev=23' style='vertical-align:bottom; display:inline-block; margin-" + (document.documentElement.dir == "rtl" ? "left" : "right") + ":2px;' ...


1

There is no out of the box way to do this. You should use either a workflow or an event receiver. The idea is to handle ItemAdded event or Start workflow on item create or Update. Inside you should remove permission of the item if Term has particular value. Once permission inheritance is broken, you can give permission only to respective users. Note - The ...


1

You can make use of properties Terms or TermsCount. This property provides the list of immediate Terms. So in your case you can use following logic if(term.Terms == null || term.Terms.Count == 0) //means this term has no childern if(term.TermsCount == 0) //means this term has no childern


1

Install term set export/import tool WSP from here. Then use the following PowerShell to export and import Term Groups one by one including all content. $ver = $host | select version if ($ver.Version.Major -gt 1) {$host.Runspace.ThreadOptions = "ReuseThread"} if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { ...


1

This is happening because you haven't explicitly requested for Parent Id. Try including that in the load statement 'Include(IsRoot, Labels, TermsCount, CustomSortOrder, Id, IsAvailableForTagging, Name, PathOfTerm, Parent, Parent.Id, TermSet.Name)' You should check whether the current term is root or not as follows if(currentTerm.get_isRoot() == false) { ...


1

Microsoft.SharePoint.Taxonomy.Tree JavaScript control (treecontrol.js) is intended for rendering Taxonomy tree control. Microsoft.SharePoint.Taxonomy.Tree PageLimit property defines the number of visible terms. You could consider the following solution to override default (10) PageLimit property value: ExecuteOrDelayUntilScriptLoaded(function(){ ...


1

I used this workaround. if (!String.IsNullOrEmpty(sortOrder)) { List<string> termGuids = sortOrder.Split(new char[] { ':' }, StringSplitOptions.RemoveEmptyEntries).ToList(); termguids.AddRange(termSet.Terms.Select(t => t.Id.ToString()).Except(termGuids)); foreach (string guidString in termGuids) { // some logic } } ...


1

Basically it depends on the following settings: a Default Language of Term Store selected language while creating Term Set Assume English(1033), Finnish(1035) and Russian(1049) languages are installed and the following code is used for retrieving term sets: var ctx = SP.ClientContext.get_current(); var taxSession = ...


1

It would be nice to see, how (I mean, from which context) you receive your term in the MyMethodToGetTerm method, and how do you try to add / update it later. You wrote, you can add terms, but not update them, however it is not clear from the code, how you try to achieve that. You should get and update the Term in an elevated context you receive via code ...


1

I have been looking for the answer to this one too. The following should retrieve the extra properties: //paste code on one line context.load(tsTerms, 'Include(IsRoot, Labels, TermsCount, CustomSortOrder, Id, IsAvailableForTagging, Name, PathOfTerm, Parent, TermSet.Name)'); The following blog had some good examples that have helped me get my code ...


1

Using the sspId from the field on the item I was working on I was able to get the child terms from a Reused Term. TermStore termStore = session.TermStores.FirstOrDefault(ts => ts.Id == taxField.SspId); TermSet termSet = termStore.GetTermSet(taxField.TermSetId); ...


1

Use local term sets. Local term sets are created within the context of a site collection. For example, if you add a column to a list in a document library, and create a new term set to bind the column to, the new term set is local to the site collection that contains the document library. ...


1

Recently I found solution for this problem by myself. Problem was with attribute ControlId="QuickLaunchDataSource", that was overriding part of my attributes in SiteMapDataSource. ControlId is a part of navigation feature,that stores settings in NavigationSiteSettings.xml It is located in C:\Program Files\Common Files\microsoft shared\Web Server ...


1

Here is what i did to have a treeview. Certainly not the best method but a working solution Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue $url=Read-Host "Entrez l'url du site sharepoint" $siteCollection = Get-SPSite $url $web = Get-SPWeb($url) $termSet = Get-SPTaxonomySession -Site $url $termStore = ...


1

Have a look at the TaxonomyItem.NormalizeName method Try changing your code to Term trm = trm1.Terms.GetByName(TaxonomyItem.NormalizeName(parentName));


1

Here is an excellent article that outlines many options Synchronize, Import or Copy Term Stores & Managed Metadata in SharePoint Between Environments Which is best for you depends on your exact requirements. For my requirements I found number 5, the PowerShell cmdlets by Gary Lapointe/Aptillon to be very good. It can export/import most things ...


1

Resolution I sent a support ticket to Microsoft and after a few days of phone calls, we found a resolution. Below is the closing transcript of the issue from Microsoft: Issue Statement: Unable to publish Content Types through Content Type Hubs Scope Agreement: High as customer is not able to use the feature of content types on his production sites ...


1

I don't know if my way is cleaner, but it works. I basically format the term the way SharePoint stores it and then check to see if it already exists. http://nickhobbs.wordpress.com/2012/03/29/sharepoint-2010-managed-metadata-converts-ampersand-and-double-quotes-to-unicode/ //set term the way SharePoint stores it so that we can get a good compare with ...



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