Skip to content

Form customizer tutorial does not work #10471

@Neutrino-Sunset

Description

@Neutrino-Sunset

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version: Latest
  • SPFx version: 1.21.1
  • Node.js version: 22.21.1

Describe the bug / error

There are issues with the Form Customizer Getting Started tutorial here https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-form-customizer Issues include documentation that makes no sense, and the tutorial not working.

This passage for example is grammatically malformed, and without further context is meaningless.

This file defines your extension type and a unique identifier id for your extension which can be used to set to be used in content type level for enabling a custom rendering with this component.

pageUrl in serve.json bears no relation to the url of a list in SharePoint Online.

After creating a list in SO you will be at a page with the url https://mytenant.sharepoint.com/sites/Site1/Lists/List1/AllItems.aspx?npsAction=createList

The url template in serve.json is https://{tenantDomain}/_layouts/15/SPListForm.aspx

Replacing the url with the url of the list, and running gulp serve the page displays

Image

Steps to reproduce

  1. Follow the tutorial

Expected behavior

It should work.

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:docsCategory: SharePoint developer/development documentation relatedarea:spfx-extensionsCategory: SharePoint Framework Extensionssharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions