SharePoint 2016 WFE stopped working after Office 2016 installed on same server

One day after developing document library file template solution on my SharePoint 2016 dev machine, all SharePoint web application pools started to crash, SharePoint services could not started, SharePoint PowerShell snapins could not be loaded.

Only change in server configuration before that tragic moment was installation of Microsoft Office 2016 package.

All google results currently point to bad application pool account or wrong permission to SQL database. But this would be a little wierd because no changes were made in that way.

After inspection a situation from logs I found out that SharePoint 2016 simply forgets where it’s installed after Microsoft Office 2016 installation. Continue reading “SharePoint 2016 WFE stopped working after Office 2016 installed on same server”

Advertisements

SPFx React Controls – Placeholder Control

Last SPFx React Control for now is Placeholder Control which can be used to show a message that the web part still has to be configured.

We can start with new SPFx project:

yo @microsoft/sharepoint

Select WebPart as client-side component.

After project is created, install next dependency to your project. This is for SPFx React Controls.

npm install @pnp/spfx-controls-react --save --save-exact

Open project within Visual Studio Code. Continue reading “SPFx React Controls – Placeholder Control”

SPFx React Controls – FileTypeIcon Control

Next SPFx React Control is FileTypeIcon Control. With this control you can show a message that the web part still has to be configured.

We can start with new SPFx project:

yo @microsoft/sharepoint

Select WebPart as client-side component.

After project is created, install next dependency to your project. This is for SPFx React Controls.

npm install @pnp/spfx-controls-react --save --save-exact

Open project within Visual Studio Code. Continue reading “SPFx React Controls – FileTypeIcon Control”

SPFx React Controls – ListView Control

My best SPFx React Control is ListView Control. With this control we can get latest native SP ListView within our SPFx WebPart.

We can start with new SPFx project:

yo @microsoft/sharepoint

Select WebPart as client-side component.

After project is created, install next dependency to your project. This is for SPFx React Controls.

npm install @pnp/spfx-controls-react --save --save-exact

Open project within Visual Studio Code. Continue reading “SPFx React Controls – ListView Control”

SPFx React Controls – SiteBreadcrumb Control

Today I want to show you second SPFx React Control – SiteBreadcrumb Control. With this control we can get breadcrumbs for our SharePoint Online page or site.

We can start with new SPFx project:

yo @microsoft/sharepoint

Select Extension as client-side component.

After project is created, install next dependency to your project. This is for SPFx React Controls.

npm install @pnp/spfx-controls-react --save --save-exact

Open project within Visual Studio Code. Continue reading “SPFx React Controls – SiteBreadcrumb Control”

Events conflict check in SharePoint Calendar (recurring events too)

I want to share with you my solution how to prevent events overlapping in Out-Of-The-Box SharePoint Calendar.

As you know you can easly create client or server-side validator for simple (non-recurring) events. But for recurring events we have to check a lot more different options depends on what type of recurring events we have (daily, weekly, monthly, …), repetition pattern, how many repetition we want (date range) etc. Continue reading “Events conflict check in SharePoint Calendar (recurring events too)”

Create SharePoint fields, views & pages from XML schema file programmatically

Let’s imagine that we have existing WSP solution for one of our projects. We want to update one of web template with additional pages. On this pages we have list view web parts with specific newly added list views. We have to update our list with this additional list views and we have to add some additional fields too.

In WSP solution we already have module file for publishing custom pages to SharePoint Pages library, fields definition file for publishing list fields and list schema for our list and views definition. All this features are automatically deployed to newly created sites within custom web template.

This WSP solution is already deployed to SharePoint farm and we have sites already created with this web template. We know that in our case we have no problem with new pages created from updated web template. The problem arises when we update our SharePoint farm with solution where we have updated pages module, list fields and list schema and we want to apply this changes to existing sites which are created from our custom web template before that. Continue reading “Create SharePoint fields, views & pages from XML schema file programmatically”

Powered by WordPress.com.

Up ↑