User Review
( votes)Ever since Microsoft made Power Apps component framework available in 2019, it has become easier for professional developers to create code components for model-driven and canvas apps. With features like reusability of codes, easy configurations, solution awareness, and no need for iframes or additional scripts to control the iframe, it has empowered developers and app makers alike in building compelling visual components in Power Apps and Dynamics 365. This year in 2021, Microsoft Dynamics 365 CRM has been releasing new features and updates in Power Apps Component Framework throughout the year. And to get you acquainted with these updates, Inogic has come up with its usual helpful blogs.
Inogic, one of the leading ISV, Gold Microsoft Partners, with its stellar team, has been extensively working on creating guides and blogs on Microsoft Dynamics 365 CRM, Power Platform, Power Automate, Power BI, Dataverse (CDS), etc., be it on use cases to use certain functionalities or tips and tricks to get the best of new rolled up updates. In this article, we have curated a list of our popular blogs that will help you in understanding how you as a developer can get the best of Power Apps component framework features.
1. Create Simple Lookup using PCF Control
With new updates, Power Apps Component Framework allows to develop PCF Control for lookup field which was previously not possible. This is now achievable using the lookup type property. In this blog, we have given a step by step guide to create a PCF control for lookup field and then add the same on ‘Primary Contact’ lookup field of Account entity.
2. Read and Set Date Format of Logged-in User in PCF Control
Code components created with the help of Power Apps Component framework helps in enhancing the user experience for users working with data on forms, dashboards, views, and canvas app screens. One of our clients had a requirement that whenever any user selects a date from the calendar control, the date format should be of a logged-in user. In this blog, we have explained how we fulfilled this requirement of our client.
3. Programmatically call UpdateView in PCF using requestRender
In PCF, we work on datasets as well as on field type components. While working on datasets, we usually use context.dataset.refresh to refresh the dataset control which then calls the updateView method. And we know that updateView method is one of the standard methods of PCF. updateView method is only triggered when the PCF controls are refreshed or rendered and then shows us the updated data on our control. But how do we refresh a field component as we do not have an appropriate method for field component? In this blog, we have shown how to overcome this limitation using the method named as requestRender.
Check out our guide on PCF Dataset Control in Dynamics 365 CRM which gives easy to understand tips and tricks to sort, filter and configure PCF Dataset Control. To get hold of some of our more popular guides like Custom APIs, Canvas Apps, Territory Management for Sales, keep following Inogic Blog.
Want to improve the productivity of Dynamics 365 CRM? We have a suite of 15 Microsoft AppSource preferred solutions for Dynamics 365 CRM which can improve your user efficiency, productivity and also give intricate insights. Check them out in our Dynamics 365 CRM / Dataverse (Power Apps) productivity apps video.
The post Best Power Apps Component Framework tips and tricks appeared first on CRM Software Blog | Dynamics 365.