Building a SharePoint New Site Form Look-Alike
Image Source: Shutterstock.com
SharePoint Online
Jun 29, 2023 9:00 AM

Building a SharePoint New Site Form Look-Alike

by HubSite 365 about Martin Lingstuyl [MVP] (Home on Blimped)

Microsoft MVP | Microsoft 365 Architect @I4-YOU | Co-maintainer at CLI for Microsoft 365 (PnP) | Blogger ✍️ | Family man 👨‍👩‍👧‍👦 | Cyclist 🚴‍♂️

Pro UserSharePoint OnlineLearning Selection

Allowing users to create new sites is a common scenario in SharePoint. And yet, a lot of organizations disable self-service site creation for users.

In this blog post, Martin Lingstuyl demonstrates how to create a custom form in SharePoint that allows users to request the creation of new sites, resembling the default SharePoint new site form. The procedure relies on SharePoint Framework Form Customizers, the Dynamic Form control, and some field overrides. Lingstuyl first discusses how to set up a simple SharePoint list with key fields like Site name, URL, and GroupMailbox.
He then explains how to use a Form Customizer and Dynamic Form to create a basic functional form for new items and existing ones. He gives examples of how to install the PnP SPFx react controls, render the list form, and implement field overrides. The post provides sample code for these tasks.
Lingstuyl also touches on the use of React state for manipulating list item data during load and save operations. Finally, he describes how to verify the availability of site URL and group alias by leveraging certain SharePoint API endpoints.


Throughout the article, he highlights the power of the Dynamic Form control for creating and extending custom forms with ease and flexibility. The author's code has been submitted to the SPFx extensions samples repository for readers interested in a deeper understanding.

  • Users are allowed to create new sites in SharePoint.
  • A lot of organizations disable self-service site creation rights for users.
  • The aim is to control the creation of new sites possibly by using a custom form.
  • The custom form allows users to request for the creation of a new site.
  • There are approval processes put in place to regulate this.
  • The post provides information on how to get started on this process.
 

Elaborate Details on SharePoint Site Creation Control

The SharePoint New Site Form Look-Alike is an ideal solution for organizations to efficiently manage site creations. The process offers more control and streamlines site creation by disabling self-service site creation. It replaces this feature with a custom form for site requests. The form includes approval processes as well, ensuring a methodical and systematic approach to site creation. Therefore, the solution lends more power to the organizations, while granting the users a level of access within a regulated framework.

 

Read the full article Building a SharePoint New Site Form Look-Alike

Learn about Building a SharePoint New Site Form Look-Alike

 

The scenario presented is that of organizations who wish to control the creation of new sites, instead of allowing users to do it themselves. To achieve this, a custom form can be created which allows users to request a new site, with approval processes in place. This post provides insights into how to get started with this process. It covers topics such as creating a SharePoint new site form look-alike, setting up approval processes and linking the form to existing sites. Furthermore, it provides guidance on the necessary coding and JavaScript that needs to be implemented. Finally, it also looks at the importance of testing the form and making it available to users.

 

More links on about Building a SharePoint New Site Form Look-Alike

Building a SharePoint New Site Form Look-Alike - Blimped
12 hours ago — A post on building a SPFx Form Customizer with a Dynamic Form with field overrides to create an experience that looks like the default ...
How to Create a Form in SharePoint
This article teaches you how to create a form in SharePoint in just a few easy steps in order to make your custom list more functional.
How to Create Forms in SharePoint Online
Jun 1, 2023 — Hit Site Contents in the navigation pane, click New, enter a name, for example, Forms SharePoint Online (because we are creating this list to ...

Keywords

SharePoint, Site Creation, Custom Form, Approval Processes, Self-Service Site Creation