Tag Info

New answers tagged

2

I doubt that there is a direct way to achieve this. Read this Group by managed metadata column on stack exchange which deny the fact that a managed meta data column with multiple values allowed can be used in grouping a list. However if you are very keen on it, there is an article Grouping by a multi-value Managed Metadata Field using XSLT and a ...


0

How about something like this #s4-titlerow { margin-top: 0px; height: 50px; background-color: #DBDCDE; padding-top: 19px; padding-bottom: 28px; position: fixed; width: 100%; margin-bottom: 0px; z-index: 1; top:65px; } #s4-workspace { margin-top: 97px; }


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)


0

As noted by @Hristo Yankov you shouldn't set the string value directly as it may break the search index. Use the appropriate public APIs instead. myTaxonomyField.SetFieldValue(myListItem, myTerm);


-2

Edit: No , If you want to reference multiple Term SETS then you need to use multiple fields. Assign multiple term sets to a single column If your columns say Allow the Multiple value then yes you can have more than 1 term associated it.(if you go the list settings > click on the columns then their is on check box >Multiple Value field > check it if you ...


0

You may have to switch to LinQ, or some client side script to pull out substrings. I am not aware of a way to do what you are asking.


1

You need to associate your metadata application with the default application proxy group. Go to Central Admin > Application Management > Configure Service application associations. In the top right corner on the page, change the view to Service Applications. Click the "default" proxy group and check the box for your second Metadata application. Click OK ...


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 ...


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 } } ...


0

Please stop creating several questions for the same topic. To help anyone finding this topic, I'll post my answer here aswell. 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: HttpContext oldContext = null; try { //Save actual ...


0

Unfortunately, this only finds for first 'Durban' in the hierarchy. For example, if this were a 3 level hierarchy of state,county,city containing california,placer,rosevile and a illinois,snohomish,roseville, a query for roseville would only find the first roseville(seemingly randomly). To find the proper roseville in the hierarchy, one must fine the first ...


0

Loading SharePoint TermStore is very easy. you have load default terms and then have to get the term store by name. and also you can get additional properties of the term store. you can get more details in this article. This Article may be helpful for you. Mark as answer if it is helpful info. ...


0

Loading SharePoint TermStore is very easy. you have load default terms and then have to get the term store by name. and also you can get additional properties of the term store. you can get more details in this article. This Article may be helpful for you. Please mark it as answer if it is helpful. ...


1

My general rule of thumb, if it is one off, I use a choice column. If it might be used in more than one place in my collection, I create a lookup site column column. If it is a company wide selection, I'd put it into Managed Metadata and use a column derived from that termset.


0

Complete sample $webUrl = "http://portaladdress.local" $inputDir = "C:\sampledata" $spWeb = Get-SPWeb $webUrl $spsite = $spWeb.Site $docLibrary = $spWeb.Lists["DocumentLibraryListName"] $spFolder = $spWeb.GetFolder($docLibrary.rootFolder.URL + "/") $taxonomySession = Get-SPTaxonomySession -Site $spsite $taxonomyField = ...



Top 50 recent answers are included