Hi,
I am a beginner in PowerApps and having a task to build a dashboard that shows a number of tabs and each tab contains multiple graphs (i.e. Chart JS).
Task Requirments:
I need to build a form that shows a dashboard once the user clicks on the Person entity record from D365 CRM a form will be opened and it will show a number of tabs and graphs inside it. Please refer to the attached dashboard sample, when the user clicks on different tab UI will be updated accordingly.
Currently, I built a PCF component by using Chart JS with static data and put it at an Entity and Field level. However, in both cases, we required a field or dataset to be mapped while in my case the data will be fetched from another API based on the selected record of a Person entity but if we go to the field level component then I have to create a separate solution for each graph and cannot combine the multiple graphs in the same field control also I don't need to map a field since I am getting data from API. Moreover, if I go to the entity level (i.e. Dataset level) it will not allow me to show the graphs in form.
Questions & Concerns:
- What are the best ways to get my work done?
- Is there any other template type if we want to show the static data instead of a field or dataset bindings?
- How to combine the multiple components together and share the resources (like CSS, JSON, and so on)?
- Is there any UI restrictions for PCF components, since fields have a limited size?
- How to combine the multiple components in a single solution?
- How to call external APIs to get data without having any cross-domain failures?
I really appreciate getting the Ideas and suggestions to implement the task. You may freely contact me to get more details.