Tag Info

Hot answers tagged

4

As an introductory please follow How to: Complete basic operations using SharePoint 2013 client library code article to get acquainted with how to update a SharePoint list item via CSOM. How to update list items via CSOM in PowerShell Assume the following data is contained in CSV file ID,FullName,Company,Title 1,Pilar Ackerman,Contoso Ltd,Manager ...


3

You totally can do this, using external users in SharePoint Online, and there are no licensing fees involved, and it is totally supported by Microsoft. In your tenant administration site, hightlight a site collection and click the "sharing" icon. Then select the button reading "allow users who accept sharing invitations and sign in as authenticated ...


2

Add a script editor web part and paste the following pseudo code var x=document.getElementById("MyColumnId").value; if (isNaN(x)) { alert("Must input numbers"); } else { x.split("."); if(x[1] > 25) { alert("Decimal must be less than 26"); return false; } else { return true; } }


2

It's not possible since the permission Approve Items comes with a dependency to the following permissions: Edit Items View Items View Pages Open Source: User permissions and permission levels in SharePoint 2013


2

You'll want to use the SPFieldType class instead of FieldType. Update: Actually, the issue is that the CSOM doesn't support that version of Add. Use AddAsXml instead: list.Fields.AddFieldAsXml("",true, AddFieldOptions.DefaultValue); When you call GetByTitle you're using [] - square brackets. Try using parenthesis to call the method instead - ...


2

Reference it from a sitecollection stylesheet instead. That way, it will be relative to where the css lives in each site collection. Or you can place it at a top level css (if each site collection inherits it) and all sites will load your custom font. Check out my answer on this post which may help. Add Laos Font to SharePoint 2013 or New font to ...


2

You should be able to pull the first thing off by using Managed Metadata navigation to get friendly URLs. It is a pretty big topic, but this blog describes how to do it pretty well. Managed metadata navigation and friendly URLs in Sharepoint 2013 – part 1 Managed metadata navigation and friendly URLs in Sharepoint 2013 – part 2 To strip out ...


2

The trial version should be only for 1 user. So you can only use yourself. Even my MSDN Premium doesn't allow more. Regarding the people picker, mine too show same unless you type some and search.


2

Yes, it is possible to create a Remote Event Receiver for O365. This link shows that the requirements for developing a Provider-hosted app are: An O365 Development site An Azure account Visual Studio 2012 or 2013 Also, I wouldn't say that Auto-hosted apps are no longer supported, but rather the preview period has ended for them. Microsoft intends to ...


2

Since Body field is a Rich-Text field, the below example demonstrates how safely to truncate Html content. In the specified example, text content is retrieved first and then text is truncated. Template file (Blogs.js) (function () { var rCtx = {}; rCtx.Templates = {}; rCtx.Templates.Fields = { 'Body': { 'View' : renderHeadline } ...


2

Talking to Microsoft Office Support in Ireland, they say it's a limit of 255 characters including blanks. They tested the issue and found that 255 characters where maximum and that 256 characters would give the error described above. I tried it myself and got the error on 256 characters: "Contrary to popular belief, Lorem Ipsum is not simply random ...


2

There appears to be a 256 char limit in the personal message that accompanies the invite - is it possible you are going over this limit? http://support.microsoft.com/kb/2880758


2

Enable the versioning for the library. Create a new Calculated column with this formula: =Version, and add it to the default view. Check if the version information is available in the library's default view. If you can get the version information, try to set the labels value with the new added column. For more details check: ...


1

If the error is "The Control is currently disabled", that means the button is grey out and you cannot click it. Make sure the SharePoint site is added inside trusted sites zone. Make sure the ActiveX Control is enabled in Internet Explorer. 2.1 Select Tools --> Internet Options menu from the Internet Explorer. 2.2 Select the Security tab from the ...


1

To make ordering wok, you need to add another column which is named 'DisplayOrder' and define the priority of displaying in order. This has happened because you have grouped the list items by something. So remove the grouping in the view settings or you can customize the XSLT to display the appropriate.


1

I have successfully reinstalled the DirSync tool without problems. Below is the steps I follow: Turn off the Windows Azure Active Directory Sync Service Run SynchronizationService.msi from Windows Azure Active Directory Sync folder Remove Forefront Identity Manager Synchronization Service Run UnInstallDirectorySync.exe. It will delete all the data file ...


1

For provider hosted apps, you don't need sharepoint installed. For a remote event receiver, you will need to create: sharepoint app - this is essentially a small blob of xml that gets added to O365. For a remote event handler, this xml will have info on the specific event to listed for (itemadding for Annoucement lists, for example), and a url of a wcf ...


1

I just finished a project downloading 20.000 doc's from Hummingbird(!), convert them to docx and uploading then to sharepoint. The metadata were in a csv file - we used tzunami for the export I tried to find a tool like yours but with no avail, so I went to c#. I could upload the project (V.S. 2013) if you want. If you don't have weird fields (like lookup, ...


1

You want to change the Search Box Control Template. Look in the Master Page Gallery/Display Templates/Search for the Control_SearchBox.html file. (Depending on the site template you may not have the HTML files. You may have to enable the Publishing feature.) Alternatively you can copy the HTML from another instance of SharePoint and copy it to this folder.


1

The only way this should be happening is if one website was a sub-domain of another. If so, because of domain cookie sharing, the cookie would be sent to the other website. I've highlighted other concerns when using multiple SharePoint farms where one is a subdomain of another on my blog: ...


1

In order to remove a permission level from a group, you must remove the role definition from the assignment pertaining to that group from the Web. Try this: clientContext.Load( clientContext.Web, web => web.SiteGroups.Include( g => g.Title, g => g.Id ), web => web.RoleAssignments.Include( assignment => ...


1

i think SPD2013 is getting confused with your office versions after office update. i presume the possible solution would be not to change the registry. SPD2010 and 2013 on the same machine shouldnt interfear with each other. solution what you would need todo is uninstall SPD2013 and reinstall SPD2013. This will re-associate to the correct version of ...


1

If you want the links to be added globally for everyone, one way to do it could be by using jQuery and javascript in your MySite master page to add the links. I want to mention that this trick would only work in MySite root level (when users click the "Newsfeed" in the top suite bar) though and not in the Personal Sites because Personal sites are actually ...


1

On the NewForm.aspx add a Script Editor Web Part (from Media and Content) and add the following script: <script type="text/javascript"> window.location.replace(http://theListUrl/MyCustomNewForm.aspx); </script> But be careful. If you do, the only option to get it back to where it "normal" is to edit the NewForm.aspx in SharePoint Designer: ...


1

You Code works if its standard Angular, http://plnkr.co/edit/PE7pymeqd3Vcn3ndSwiO?p=preview so something weird in the edit mode of SharePoint?, Remember Angular is an SPA designed for Single Pages, not really to be embedded within SharePoint Web Part Pages, So perhaps an alternate solution is not to run the code if its in Design Mode Detect design mode ...


1

Use SPNavigation.TopNavigationBar property to manage the nodes in Global Navigation. Then you could delete navigation nodes as demonstrated below: using (var ctx = new ClientContext(webUri)) { ctx.Credentials = credentials; var topNavBar = ctx.Web.Navigation.TopNavigationBar; //get Global Navigation ctx.Load(topNavBar); ...


1

You need to install Microsoft Office 2010: Primary Interop Assemblies on the machine you're deploying; here is a link to Office 2010 in-case you're using Office 2010-> http://www.microsoft.com/en-us/download/details.aspx?id=3508



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