Geeks With Blogs
Reidar Husmo SharePoint from the trenches
I wanted to set the default termset node of a taxonomy field in a content type in a list. (…the field should have different defaults depending on the type of library, but that's not important right now) So. Easy. Get the list, get the content type, get the field, set the default. What could be easier? var list = web.Lists.TryGetList("Docum... // ......

What kind of hardware do you need to do SharePoint environment?Microsoft recommends a minimum of 32Gb for SharePoint Server, less for SharePoint Foundation.But there are not many laptops in the wild with 32Gb; certainly none that I'd like to have in my lap. (My Dell 4600 does have 32Gb, but I'm a wee fellow at 1.87m, and rather too many kilos.)This ......

Unit testing SharePoint is difficult for a number of reasons.One of the better known ones is perhaps that of the GAC; the .net loader ("Fusion") will use assemblies from the GAC even if you specify the full path to the newly-built-but-not-yet-tes... you are unaware of this, it can be an extremely frustrating experience - or so I've been told... ......

Adding ribbon buttons can be a frustrating process. I show how to do it the fast way during development, for easier troubleshooting.

We create an application which searches the SharePoint log for events matching correlation guids it finds on the clipboard. I.e. copy the correlation ID SharePoint gives you, switch to this application, and enjoy.

This post explains how you can run a (SharePoint) Powershell command from C#/SharePoint.

If you try to install SP2013 on a standalone (i.e. not joined to a domain controller), you will eventually get an error. "Service running under Network Service account in workgroup environment is not supported." To avoid this error, create the configuration database after the main setup before you run the “Configuring SharePoint Products” wizard. Open ......

The clock I made in part i displays the time in "long" - "It's a quarter to ten" (but in Norwegian). To save space, some letters are shared, "sevenineight" is four letters shorter than "seven nine eight". We only want to highlight the "correct" parts of this, for example "sevenineight". When I started programming the clock, each letter had its own unique ......

There are some new size units with CSS 3, which allows you to resize elements relative to the viewport size. They are vw, vh, vmin (that’s vm in IE), and perhaps vmax. (Viewport width, height, smaller of the two, larger of the two.) 8vw is 8% of the viewport width – or 205 pixels on my 2560 screen. I created a tiny demo clock which sizes the elements ......

In this second part, we show how we can build an xml structure from information we get from SharePoint. This xml can later be edited, and used as input to the SharePoint creator from part i.

Copyright © Norgean | Powered by: GeeksWithBlogs.net | Join free