{"id":26375595,"url":"https://github.com/powerappsdarren/powerfxsnippets","last_synced_at":"2026-01-02T23:44:01.193Z","repository":{"id":249558531,"uuid":"831842043","full_name":"PowerAppsDarren/PowerFxSnippets","owner":"PowerAppsDarren","description":"My bag of tricks for the Power Platform","archived":false,"fork":false,"pushed_at":"2025-03-10T21:04:17.000Z","size":23792,"stargazers_count":30,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-10T22:20:01.974Z","etag":null,"topics":["canvas","canvasapp","dataverse","low-code","low-code-development","low-code-no-code","lowcode","lowcodedevelopment","microsoft","msapp","power-apps","power-fx","power-platform","powerapps","powerautomate","powerfx","powerfx-lang","powerfx-language","powerplatform"],"latest_commit_sha":null,"homepage":"https://whop.com/learn-power-apps","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerAppsDarren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-21T19:05:22.000Z","updated_at":"2025-03-10T21:04:21.000Z","dependencies_parsed_at":"2024-10-19T18:54:26.313Z","dependency_job_id":"e22c79a2-4589-428e-8498-b6f2c8834a97","html_url":"https://github.com/PowerAppsDarren/PowerFxSnippets","commit_stats":null,"previous_names":["powerappsdarren/powerfxsnippets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FPowerFxSnippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FPowerFxSnippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FPowerFxSnippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FPowerFxSnippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerAppsDarren","download_url":"https://codeload.github.com/PowerAppsDarren/PowerFxSnippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960619,"owners_count":20375106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","canvasapp","dataverse","low-code","low-code-development","low-code-no-code","lowcode","lowcodedevelopment","microsoft","msapp","power-apps","power-fx","power-platform","powerapps","powerautomate","powerfx","powerfx-lang","powerfx-language","powerplatform"],"created_at":"2025-03-17T02:17:57.706Z","updated_at":"2026-01-02T23:44:01.188Z","avatar_url":"https://github.com/PowerAppsDarren.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Power Fx Snippets 🏆\n\n\u003e The world's most comprehensive collection of Power Fx code snippets for Microsoft Power Platform\n\n[![GitHub stars](https://img.shields.io/github/stars/PowerAppsDarren/PowerFxSnippets?style=social)](https://github.com/PowerAppsDarren/PowerFxSnippets)\n[![GitHub issues](https://img.shields.io/github/issues/PowerAppsDarren/PowerFxSnippets)](https://github.com/PowerAppsDarren/PowerFxSnippets/issues)\n[![GitHub PRs](https://img.shields.io/github/issues-pr/PowerAppsDarren/PowerFxSnippets)](https://github.com/PowerAppsDarren/PowerFxSnippets/pulls)\n[![License](https://img.shields.io/badge/license-MIT-green)](./LICENSE)\n\n## 🚧 Repository Restructuring in Progress (2025-11-17)\n\n**We're making PowerFxSnippets even better!** A comprehensive restructuring is underway to improve navigation, discoverability, and developer experience.\n\n### 🆕 New Structure (In Progress)\nThe repository is being reorganized into a **feature-first architecture** with:\n- 📱 **[app-lifecycle/](./app-lifecycle/)** - App initialization, error handling, formulas *(NEW STRUCTURE)*\n- 🎨 **[ui-controls/](./ui-controls/)** - Control-specific snippets *(NEW STRUCTURE)*\n- 🎭 **[ui-patterns/](./ui-patterns/)** - Reusable UI patterns *(NEW STRUCTURE)*\n- 🌈 **[visual-assets/](./visual-assets/)** - SVGs, icons, colors, fonts *(NEW STRUCTURE)*\n- 📊 **[data-operations/](./data-operations/)** - Data sources and transformations *(NEW STRUCTURE)*\n- 🔧 **[functions/](./functions/)** - UDFs, UDTs, utilities *(NEW STRUCTURE)*\n- 🔗 **[integrations/](./integrations/)** - Connectors and flows *(NEW STRUCTURE)*\n- 🎓 **[learning/](./learning/)** - Tutorials and best practices *(NEW STRUCTURE)*\n- 🧰 **[utilities/](./utilities/)** - Templates and tools *(NEW STRUCTURE)*\n\n📋 **[View Complete Restructuring Plan](./--new-structure-claude-code.md)**\n\n### 📚 Current Structure (Original)\nThe existing organization remains functional during migration:\n\n## 🚀 Quick Start\n\n**New to Power Fx?** Start here:\n- [📚 Getting Started Guide](./01-getting-started/README.md)\n- [💡 Hello World Examples](./01-getting-started/hello-world/)\n- [🔧 Common Patterns](./01-getting-started/common-patterns/)\n\n## 📖 Table of Contents\n\n### 🎯 Core Categories\n\n| Category                                                      | Description                          | Quick Access                                                                                                                       |\n|---------------------------------------------------------------|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [**01-getting-started**](./01-getting-started/)               | Entry point for new developers       | [Hello World](./01-getting-started/hello-world/) • [Common Patterns](./01-getting-started/common-patterns/)                        |\n| [**02-app-architecture**](./02-app-architecture/)             | Application structure and lifecycle  | [App Events](./02-app-architecture/app-events/) • [Navigation](./02-app-architecture/navigation-patterns/)                         |\n| [**03-user-interface**](./03-user-interface/)                 | UI components and user experience    | [Controls](./03-user-interface/controls/) • [Themes](./03-user-interface/themes-and-styling/)                                      |\n| [**04-data-management**](./04-data-management/)               | Data operations and sources          | [Data Sources](./04-data-management/data-sources/) • [Validation](./04-data-management/data-validation/)                           |\n| [**05-business-logic**](./05-business-logic/)                 | Functions and calculations           | [Functions](./05-business-logic/functions/) • [Error Handling](./05-business-logic/error-handling/)                                |\n| [**06-integrations**](./06-integrations/)                     | External services and APIs           | [Microsoft 365](./06-integrations/microsoft-365/) • [Azure](./06-integrations/azure-services/)                                     |\n| [**07-assets-and-media**](./07-assets-and-media/)             | Visual assets and media              | [Icons](./07-assets-and-media/icons/) • [SVGs](./07-assets-and-media/svgs/)                                                       |\n| [**08-advanced-patterns**](./08-advanced-patterns/)           | Expert techniques and architecture   | [Custom Components](./08-advanced-patterns/custom-components/) • [Security](./08-advanced-patterns/security-patterns/)             |\n| [**09-learning-resources**](./09-learning-resources/)         | Tutorials and educational content    | [Tutorials](./09-learning-resources/tutorials/) • [Best Practices](./09-learning-resources/best-practices/)                        |\n\n### 🛠️ Repository Tools\n\n- [**📋 Contribution Guide**](./CONTRIBUTING.md) - How to add your own snippets\n- [**🔧 Tools \u0026 Utilities**](./tools/) - Helper scripts and utilities\n- [**📚 Documentation**](./docs/) - Detailed guides and references\n- [**⚠️ Power Fx Gotchas**](./Reference/power-fx-gotchas.md) - Syntax quirks that differ from .NET/Excel/JavaScript\n- [**🏛️ Code of Conduct**](./CODE_OF_CONDUCT.md) - Community standards\n\n## 🔥 Popular Snippets\n\n### Quick Wins (5 minutes or less)\n- [🔍 People Picker ComboBox](./06-integrations/microsoft-365/people-picker-combobox.md)\n- [🎨 Dynamic Theme Colors](./03-user-interface/themes-and-styling/dynamic-theme-colors.md)\n- [💾 Offline Data Sync](./04-data-management/offline-capabilities/offline-data-sync.md)\n- [⚡ Performance Optimization](./02-app-architecture/performance-optimization/lazy-loading.md)\n\n### Advanced Solutions\n- [🏗️ Custom Component Library](./08-advanced-patterns/custom-components/component-library.md)\n- [🔐 Row-Level Security](./08-advanced-patterns/security-patterns/row-level-security.md)\n- [📊 Real-time Dashboard](./04-data-management/data-visualization/real-time-dashboard.md)\n- [🤖 AI Integration](./06-integrations/azure-services/azure-openai-integration.md)\n\n## 🎯 How to Use This Repository\n\n### For Beginners\n1. Start with [**Getting Started**](./01-getting-started/) category\n2. Browse by **difficulty level** (beginner/intermediate/advanced)\n3. Use the **search function** with keywords like \"gallery\", \"form\", or \"SharePoint\"\n\n### For Experienced Developers\n1. Jump directly to specific **categories** that match your needs\n2. Filter by **tags** and **prerequisites**\n3. Check **related snippets** for comprehensive solutions\n\n### For Teams\n1. Use [**Learning Resources**](./09-learning-resources/) for onboarding\n2. Implement [**Best Practices**](./09-learning-resources/best-practices/) across projects\n3. Leverage [**Advanced Patterns**](./08-advanced-patterns/) for complex scenarios\n\n## 🔍 Search \u0026 Discovery\n\n### By Technology\n- **Power Apps**: [Canvas Apps](./03-user-interface/), [Data Sources](./04-data-management/)\n- **Power Automate**: [Flows](./06-integrations/power-automate/), [API Calls](./06-integrations/third-party-apis/)\n- **Dataverse**: [Data Operations](./04-data-management/), [Security](./08-advanced-patterns/security-patterns/)\n- **SharePoint**: [Integration](./06-integrations/microsoft-365/), [Document Management](./04-data-management/data-sources/)\n\n### By Use Case\n- **Business Apps**: [Forms](./03-user-interface/controls/), [Workflows](./05-business-logic/)\n- **Dashboards**: [Charts](./04-data-management/data-visualization/), [KPIs](./05-business-logic/calculations/)\n- **Mobile Apps**: [Responsive Design](./03-user-interface/controls/responsive-design/), [Offline](./04-data-management/offline-capabilities/)\n- **Admin Tools**: [User Management](./06-integrations/microsoft-365/), [Audit Logs](./08-advanced-patterns/security-patterns/)\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how to get involved:\n\n### Ways to Contribute\n- **📝 Add Snippets**: Share your Power Fx solutions\n- **🐛 Report Issues**: Help improve existing content\n- **💡 Suggest Improvements**: Propose new categories or features\n- **📚 Improve Documentation**: Enhance guides and navigation\n\n### Getting Started\n1. Read our [**Contribution Guide**](./CONTRIBUTING.md)\n2. Check existing [**Issues**](https://github.com/PowerAppsDarren/PowerFxSnippets/issues) for ideas\n3. Fork the repository and create your branch\n4. Add your snippet with proper metadata\n5. Submit a pull request\n\n### Snippet Requirements\n- ✅ **Metadata**: Complete YAML front matter with title, description, category, tags, difficulty\n- ✅ **Documentation**: Clear explanation and usage examples\n- ✅ **Code Quality**: Well-formatted, commented Power Fx code\n- ✅ **Testing**: Include test scenarios where applicable\n\n## 📊 Repository Stats\n\n- **📁 Categories**: 9 main categories with 40+ subcategories\n- **📄 Snippets**: 500+ code examples and patterns\n- **🏷️ Tags**: 200+ searchable tags for filtering\n- **👥 Contributors**: 50+ community members\n- **⭐ Stars**: Your support helps grow the community!\n\n## 🏢 About Power Fx\n\nPower Fx is the low-code language that powers Microsoft Power Platform applications. It combines the familiarity of Excel formulas with the power of a programming language, enabling both citizen developers and professional developers to create sophisticated business applications.\n\n**Key Features:**\n- 📊 **Excel-like syntax** you already know\n- 🔧 **IntelliSense** and formula suggestions\n- 🌐 **Cross-platform** compatibility\n- ⚡ **Real-time evaluation** and debugging\n- 🔗 **Rich integrations** with Microsoft 365 and Azure\n\n## 📞 Support \u0026 Community\n\n### Get Help\n- 🐛 **Issues**: [Report bugs or request features](https://github.com/PowerAppsDarren/PowerFxSnippets/issues)\n- 💬 **Discussions**: [Join community conversations](https://github.com/PowerAppsDarren/PowerFxSnippets/discussions)\n\n### Community Resources\n- 🌐 **Power Platform Community**: [powerplatform.com](https://powerplatform.microsoft.com/)\n- 📚 **Microsoft Learn**: [Power Fx documentation](https://learn.microsoft.com/en-us/power-platform/power-fx/)\n- 🎓 **Training**: [Power Apps training](https://learn.microsoft.com/en-us/training/paths/create-powerapps/)\n\n## 📄 License\n\nThis repository is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- **Power Apps Community** for inspiration and contributions\n- **Microsoft Power Platform** team for creating Power Fx\n- **All Contributors** who share their knowledge and expertise\n- **You** for being part of this amazing community!\n\n---\n\n**⭐ Found this helpful?** [Star this repository](https://github.com/PowerAppsDarren/PowerFxSnippets) to show your support!\n\n**🤝 Want to contribute?** Check out our [Contribution Guide](./CONTRIBUTING.md) to get started!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fpowerfxsnippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerappsdarren%2Fpowerfxsnippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fpowerfxsnippets/lists"}