Some quick notes about modern SharePoint Online Site Designs

What are Site Designs?

Modern SharePoint Site Designs are a step above modern themes in SharePoint Online. When a site is provisioned, the site design script is executed. The script can do many things including setting the theme, updating the navigation, even creating columns, lists, and libraries within the site. It is essentially the modern way to apply site templates.

When can you use site designs?

  • When a new site is provisioned.
  • Run a site design script on an existing modern site.

What actions can be applied to a site design?

  • Create a site column, content types.
  • Create a list or library.
  • Apply a theme.
  • Set the site logo.
  • Update navigation.
  • Trigger a Microsoft Flow.
  • Install a deployed solution.
  • Set regional settings.

More information can be found here: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview

 

 

How to check for empty or null SharePoint field values in Microsoft Flow

If you are using Microsoft Flow with SharePoint list or library data and need to check if a field is empty or null, then you can use the @empty function.

Here is an example

First, add a Condition and add the field you want to check.

Next, click on the “Edit in advanced mode” link.

Next, you will replace the content in the box with the empty() function. 

Note the following:

  • The “triggerbody()’, in this case, is what triggered the flow. This may be different depending on where in your Flow your field is coming from.
  • The “Title” is the name of the field.
  • The function returns true if the field is empty.

Additional details about functions can be found here.