How to Dynamically Set SPFx Property Pane Dropdowns

Published: 12 October 2022
on channel: Andrew Connell
3,028
63

Get the code from the project in this video on my site https://vtns.io/ytvdynamicproppane

-------------------------------------------

In this video, I'll show you how to dynamically populate a dropdown list in a #SharePointFramework web part property pane. This is a common task and see the question pop up a bunch with my students and in public forums. I figured, this is a great topic for a little demo… So, let's go! #SPFx



📚 Chapters
-------------------------------------------
00:00 : Introduction
01:39 : Solution - preload the dropdown list options
01:46 : Set up property to store the selected list
02:14 : Get an array of SharePoint list names in the current site



🤓 LEARN MICROSOFT 365 FULL-STACK DEVELOPMENT WITH AC! 👇👇👇

MY FREE MICROSOFT 365 EMAIL & SELF-PACED COURSES
-------------------------------------------
📺 Mastering the SharePoint Framework (Starter Bundle) https://vtns.io/ytvcoursemspfx
✉️ Explore & evaluate the SharePoint Framework https://vtns.io/ytvecourseexplorespfx
✉️ Understand the SharePoint Framework toolchain https://vtns.io/ytvecoursespfxtoolchain
✉️ Microsoft Teams App Development OnRamp https://vtns.io/ytvecoursemsteamsonramp

MY SELF-PACED COURSES
-------------------------------------------
📺 Build Web Parts with the SharePoint Framework (SPFx) https://vtns.io/ytvcoursespfxwp
📺 Extend the SharePoint UX with the SharePoint Framework (SPFx) Extensions https://vtns.io/ytvcoursespfxext
📺 Extend Viva Connections with the SharePoint Framework Adaptive Card Extensions https://vtns.io/ytvcoursespfxace


🔗 RESOURCES
-------------------------------------------
🔗 Want more SPFx? 👉    • START HERE 👉 SharePoint Framework (SPFx)  
🔗 Want more Microsoft Teams app dev? 👉    • START HERE 👉 Microsoft Teams Development  
🔗 Want more Microsoft 365 app dev? 👉    • START HERE 👉 Microsoft 365 Development  


🔗 LINKS
-------------------------------------------
Subscribe to "The Full Stack Dev's Microsoft 365 Playbook" ✉️ https://vtns.io/ytvnewsletter - latest Microsoft 365 news & insights for developers
LinkedIn ▶️   / andrewconnell  
Threads ▶️ https://www.threads.net/@andrewconnell1
GitHub ▶️ https://github.com/andrewconnell & https://github.com/voitanos
𝕏 | Twitter ▶️   / andrewconnell  
https://www.andrewconnell.com/links/
Website ▶️ https://www.voitanos.io/


On this page of the site you can watch the video online How to Dynamically Set SPFx Property Pane Dropdowns with a duration of hours minute second in good quality, which was uploaded by the user Andrew Connell 12 October 2022, share the link with friends and acquaintances, this video has already been watched 3,028 times on youtube and it was liked by 63 viewers. Enjoy your viewing!