Tag Info

New answers tagged

1

GetTerms returns a TermCollection object, which, even if it's empty, will not be null. You probably want to do something like: TermCollection results = termSet.GetTerms("MyTerm", false); if (results.Count == 0) { termSet.CreateTerm("MyTerm", 1033); termStore.CommitAll(); }


0

The issue in this case was a version mismatch between the referenced Microsoft.SharePoint.Client.dll and the SharePoint Server version. The DLL file was the RTM version (15.0.4420.x) while the server was on Service Pack 1 (15.0.4569.1000). After updating the reference, it worked as expected.


0

By tagging UI MSDN documentation refers to TaxonomyWebTaggingControl ASP.NET web control that represents a generic Web control for picking managed metadata terms. According to Using SharePoint TaxonomyWebTaggingControl control: Access and manipulate from client side, TaxonomyWebTaggingControl ASP.NET web control is a server side wrapper for ...


0

Had this problem. Creating a new web app, importing terms to term store and session is null. Solution was to open a new powershell session and ran my termstore related commands.


0

Multiple friendly url's is one of the primary uses for managed navigation. Why do you need a 301 redirect as opposed to multiple mappings? https://technet.microsoft.com/en-us/library/dn194311.aspx?f=255&MSPPError=-2147217396 Friendly URLs are URLs that correspond to a term in the navigation term set, and that provide a shorter, more meaningful URL ...


0

If you're dealing with multiple taxonomy values the values are separated by ;#


0

Update: I couldn't find any built-in functionality. I came up with a helper class. It is working very well so far. As far as my tests go I couldn't find any issues regarding localization or anything else. namespace MyCompany.Common.SharePoint.Ecm.Taxonomy { using System; using System.Collections.Generic; // See ...


0

Finally got an answer to this. The issue was in the site column which had been created using Visual Studio. The Source ID attribute was missing and the mapping of the hidden column field with the actual column was missing. <Field Type="TaxonomyFieldTypeMulti" Mult="TRUE" Sortable="FALSE" DisplayName="Practice" List="Lists/TaxonomyHiddenList" ...


1

You can make the Left Navigation styles with your custom master page : For Vertical Menu : Quick launch (Left navigation) styles in SharePoint 2013 For Horizontal Menu : Customizing SharePoint 2013 global navigation with CSS and jQuery


1

you can try 3-rd party solution. For example, Virto Bulk File Upload. Also, there is free solution on msdn website: https://code.msdn.microsoft.com/office/Load-Bulk-Content-to-3f379974


2

First of all, in your example the SP.ClientContext.executeAsync method that submits request to server is missing. Secondly, it depends on the type of Managed Metadata field, see the below example how to retrieve managed metadata field value(s): And thirdly, since you are explicitly specifying what fields to retrieve using SP.ClientContext.load method, ...


1

Using clientContext.load() alone doesn't actually load your data, it marks it as to be loaded for the next time data is fetched from the server. This is a common misconception when using JSOM and you'd probably find numerous similar questions if you search your error on this site. The solution is rather simple, you have to actually request the data: ...


1

Are you including 'DocumentType' when loading the list item collection? Like: context.load(collListItem, 'Include(DocumentType)') UPDATE Try either updating <ViewFields> in theCAML Query to include fields liek DisplayName,FileRef,DocumentType or remove <ViewFields><FieldRef Name=\'Title\'/></ViewFields> from query. Also, if you ...


0

We can change the Connection by following these steps: 1.Verify that the user account that is performing this procedure is a member of the Farm Administrators group. 2.On the Central Administration website, click Application Management. 3.On the Application Management page, in the Service Applications section, click Configure service application ...



Top 50 recent answers are included