Tag Info

Hot answers tagged

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

Have you tried to use managed metadata. 1. create a new Global Term Group called Global Navigation. 2. Createjavascript and placed inside Style library folder Function.registerNamespace('Mavention.GlobalNavigation');   Mavention.GlobalNavigation.MenuItem = function(title, url) {     this.title = title;     this.url = url; };   ...


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

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

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

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

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