Search This Blog

The Hidden Ways to Hide a Title

Recently on a project, we created several different copies of a page to compare how varying modern web parts could answer some UI requirements.  In that rapid prototyping cycle, a couple of different pages ended up being selected as a site home page.  The actual starting home page ended up being deleted.

In modern SharePoint sites, that starting home page has no title area. If you set another site page as the home page, the title area remains and there is no way to completely remove it.  Recent improvements to the Title Region at least allow us to edit the Title region and choose from one of 4 layouts.  Even if we choose plain and delete the title text, a white bar remains at the top of the page. 

While all modern pages use the Site Pages content type, there is some hidden metadata that determines a home page versus article page layout - the PageLayoutType property. It is set to "Home" on that initial home page SharePoint gives us, but set to "Article" for all other site pages.

There is no direct way to alter this property.  I wanted to share some solutions I found from others who have addressed the same issue that let us change it in some indirect way.

  1. Use PowerShell (my preferred approach) -
  2. Use SharePoint Designer (yep, it's still a thing) -
  3. Hack the UI (get some GUIDs) -
Have you found any other ways to accomplish this?  If so, leave a comment below and let us know.

Teams - JUST the Chat and nothing but the Chat

Microsoft Teams is a great tool for collaboration and a one-stop shop for your SharePoint and OneDrive files, calendar, and meetings.  It is a chat-driven collaboration tool, but what if you JUST want to use Teams as a chat application within your company?

Let's start with the assumption that we have an Office 365 tenant and that our users have both an Exchange Online mailbox and a provisioned OneDrive for Business.  Without these technologies, our users wouldn't be able to have chat messages persisted or share files with each other.

A Teams administrator can turn off many of the Teams services to give you a pretty bare bones chat application.  In the Office 365 Admin Center, under Settings > Services and add-ins, you can disable the ability for default and external apps which will limit the extensibility of the tool.   From there, it's a matter of setting a few policies in the Teams and Skype Admin Center.

  • Messaging Policy (choose to keep the fun on or kill it, but the Chat selector should stay on or we kinda lose the whole point 😁)

  • Meeting Policy (All of this stuff will be turned off.  In fact, there is an "AllOff" policy that's already created that you can apply instead of the default)

  • Live Events Policy (in the same area as meetings, but more stuff to turn off)
  • A few other settings in Teams Settings > Files will allow us to hide all other options except for OneDrive for Business.

The result?

In the Teams client (web, desktop, and/or mobile), we should find the following:  

  1. The activity icon stays and will let us know when we've been mentioned, etc.
  2. The chat icon will remain, but "Meet Now" will be gone.  The ability to call someone that you initiate a private chat with remains.
  3. The Teams icon stays, and will never go away.  All users will be able to create a new Team unless the ability to create O365 groups has been altered (Check out the PowerShell here)
  4. The Meetings icon sticks around but the button to create a new Teams meeting disappears.  This essentially becomes a viewer for your Outlook calendar.
  5. The Files icon will let our users see Recents, Teams files, or a link to their OneDrive