Copilot / SharePoint · Community sample

Guided List Form

A one-question-per-screen form that adds an item to any SharePoint custom list, as a page web part or inline in Microsoft 365 Copilot chat, without sending answers back to the model.

Copilot componentWeb partReactSPFx 1.24.0
Site and list picker in the Guided List Form, with Lumen Team selected and an Open the form button

The idea behind the sample

Guided List Form is a conversational, one-question-at-a-time wizard that creates one item in one SharePoint custom list. The same React UI ships as a page web part (BaseClientSideWebPart) and as a Copilot UX component (BaseCopilotComponent) called through the open_step_by_step_form tool with static tool discovery.

In Copilot, a site and list picker (followed and recent sites, plus a same-tenant name search) appears when no list is supplied. Change list returns to that picker. After submit, a copy-link control copies the new item address to the clipboard. The person always reviews and submits; Copilot cannot submit and receives only status text, never answers or item content.

The package requests no API permissions. Model-supplied site URLs must be https on the current tenant. Supported columns include text, choice, Yes/No, number, currency, date and time, and https hyperlinks. A Microsoft 365 Copilot license is required for the Copilot host.

Make it your own

Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.

Read the source documentation

A closer look

Keep exploring

Keep the ideas flowing

Back to all possibilities
Microsoft 365 and Power Platform Community Contributor badge

Sharing is caring.

Share what you know.

Contribute a sample, improve the docs or help someone get started. Sample contributors can opt in to the PnP Recognition Program and share their community contributor badge.

Have something to show? Sign up for a community call demo. Fill in the form and we'll arrange a slot based on your availability.