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

 

 

Filter SharePoint task list view to show tasks assigned to groups I am in

If you have a SharePoint task list where the task is assigned to a SharePoint group, you may notice that the My Task list does not show tasks even if you are a member of the group of which the task is assigned. 

Fortunately, there is a simple fix. It does require SharePoint Designer though. Open SharePoint Designer and then open the My Tasks view of the task list in code view. Find the <where> tag and within it add the following:

<Or>
<Membership Type="CurrentUserGroups">
<FieldRef Name="AssignedTo"/>
</Membership>
<Eq>
<FieldRef Name="AssignedTo"/>
<Value Type="Integer">
<UserID/>
</Value>
</Eq>
</Or>

Save the view then open it again in the browser. It should now show any tasks assigned directly to you as well as any tasks assigned to groups of which you are a member.

SharePoint Designer shows “There are no items to show in this view” message

I loaded SharePoint Designer this morning and when I clicked on the Lists and Libraries navigation item I saw just a blank screen with the message “There are no items to show in this view”. 

I knew that I recently made some changes to some List Definitions (I deleted a list definition from my solution) so my first assumption was that I broke something by doing so. 

SharePoint Designer uses the /_vti_bin/ListData.svc web service to pull content, so by breaking the list definition, the web service broke as well and could no longer return valid values.

To fix the issue, I went to “All FilesLists” in SharePoint Designer and then, one at a time, I clicked on a list and then the Preview in Browser button in the ribbon. If the list loaded, everything was fine, but eventually I found the list that failed. I deleted that list and then went back to the Lists and Libraries section and everything work normally!

Site Provisioning techniques and remote provisioning in SharePoint 2013 (Link)

I stumbled across this article that talks about different site provisioning techniques available in SharePoint 2013. It is good to understand the differences and pick the best solution for your needs. 

You can read the full article here

The article explains the advantages and disadvantages of using:

  • Feature Stapling
  • Site Templates
  • Web Templates
  • Site Definitions
  • Provisioning Providers
  • Full server side custom solutions
  • Remote provisioning

 

What is a delayed site collection?

Ever been asked to create a delayed site collection? When asked, I thought, what the heck is a delayed site collection? I never heard of such a thing. 

Turns out, when you create a site collection (or a site) and don’t pick a template, it it called a delayed site collection. The template is applied later when you access the site.

Learn something every day!

New Refinement Configuration for SharePoint 2013

I just ran across the new refinement configuration for SharePoint 2013. I was expecting to modify the Refinement Filters XML like I did in SharePoint 2010, but was pleasantly surprised to see that Microsoft has created a nice GUI to do this for you. It can be found in the refinement web part properties. Instead of seeing the Refinement Filters XML you have a “Choose Refiners…” button. When clicked, this button opens a nice GUI that lets you manage your refinements.

I’ll need some time to play around with this new tool to see how well it works.

I just ran across the new refinement configuration for SharePoint 2013. I was expecting to modify the Refinement Filters XML like I did in SharePoint 2010, but was pleasantly surprised to see that Microsoft has created a nice GUI to do this for you. It can be found in the refinement web part properties. Instead of seeing the Refinement Filters XML you have a “Choose Refiners…” button. When clicked, this button opens a nice GUI that lets you manage your refinements.

I’ll need some time to play around with this new tool to see how well it works.