Posts

Change the language settings on every mysite

Running a SharePoint Site with different languages? No problem! But making sure every user has the correct language settings? Maybe a problem. So why don't using Powershell? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [Microsoft.SharePoint.SPSecurity] ::RunWithElevatedPrivileges({ # Enables SELECTED installed languages for each subsite in a site collection $webAppURL = "https://mysiteurl/" $webApp = Get-SPWebApplication $webAppURL foreach ( $spSite in $webApp .Sites){ $spWeb = $spSite .RootWeb $spWeb .IsMultilingual = $true $WebRegionSettings = New-Object Microsoft.SharePoint.SPRegionalSettings( $spWeb ); foreach ( $language in $WebRegionSettings .InstalledLanguages) { If ( $language .DisplayName -eq "English" -or $language .DisplayName -eq "German" ) { # Add the displayname of any langauge you have installed: -or $language.DisplayName -eq "Norwegian" -or $la

SharePoint Framework Field Customizer project with multiple columns

Image
SharePoint Framework is growing fast and is doing well. With Field Customizer you can build an own rendering for columns in views like you used to build in CSR with JSLink. So there is an guide by Microsoft how to migrating your CSR applications into SPFx applications. It makes sense using this guide, because the Modern UI does not support CSR. The only struggle I had: Some CSR applications are rendering more than one column. So here is the topic of this post: How to build a SPFx Field Customizer Solution with multiple columns.

Changing the author field in SharePoint

An action nobody should do, but in some cases necessary: changing the author of an item. What do you need? a farm account PoweShell

First click in SharePoint List WebPart on wiki pages

Lets say you have a SharePoint wiki page with some content and you added a list WebPart underneath the text. You open the page and want to go into the list settings or add an item or do another operation you can do inside the ribbon. You will realize the ribbon is not there. First of all you need to click into the list to make the ribbon visible. There is a simple JavaScript solution.

Add the Blog template to an existing SharePoint Site

When you want a blog in SharePoint you typically create a Site Colletion or Subsite with the blog site template. In some cases you have created a team site, because of its features. But you want to use the blog features, too. So you need to activate the feature. To do so you need the the SharePoint Management Console - the UI does not allow you activating the feature.

Set SharePoint's PeoplePicker value with jQuery

PeoplePicker and default values - not so easy in SharePoint. So if you want a default value for a field you need to set it by your own, but how?

SharePoint's Choice Fields: how to arrange checkboxes or radiobutto in one row

Image
Of course there are multiple reasons to use checkboxes or radiobuttons - even in SharePoint. But the most common problem: if you have more than three choices your form is blowing up. The solution is to arrange them in a row. To do so we need to take a deeper look.