There are many methods in PowerApps Component Framework (PCF) that allows you to create more productive and less dependent components. In PCF, you may have created many components to pick something like Color, Date etc. from a third party UI framework.
However, what if I tell you that you can now pick files in your PCF component without using any third party component.
Yes, you heard it right! PCF has come up with an in-built method for picking up files. The method is named as pickFile() and on trigger of this method; it opens a dialog box to select the files that you want to upload.
The options have the following properties.
Return Value: Promise<FileObject>
It returns an array of file objects, which includes the data of the file.
To use this method, you will need to add this in the <feature-usage> tag as <uses-feature> in the ControlManifest.Input.xml file.
Now, let us understand the working of this method with…
More About This Author
Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.
Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.
- Dyn365CE2022.08.16Modify and delete multi-table lookups within Dynamics 365 CRM
- Dyn365CE2022.08.12Performance Insights (Preview) in Model-Driven Apps
- Dyn365CE2022.08.10Multi-Select Option field in Dynamics 365 V9.2 using Power Automate
- Dyn365CE2022.08.08Use of Enable Managed Environments(Preview) feature in Power Platform