Hi..
Can I access the dashboard's components like subgrid and PCF through code?
If so, how? because Xrm.Page API doesn't seem to work.
Thanks in advance.
Solved! Go to Solution.
Hi @Nusrath ,
Do you want to access components/controls within a Dashboard using Client API?
If you want to access components/controls within a Dashboard using Client API, I afraid that there is no way to achieve your needs. Accessing Dashboard's child components/controls through Client API is not supported in PowerApps currently.
Supported Client API Reference
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas
Best regards,
Xrm.Page is deprecated and worked on forms rather than dashboards.
You can use a DataSet PCF component as a drop in replacement for any List you place on a dashboard. Just double click on the appropriate list, click Controls and add the dataset PCF control you want to use in place of the standard readonly grid.
Choose a different control
Hi @Nusrath ,
Do you want to access components/controls within a Dashboard using Client API?
If you want to access components/controls within a Dashboard using Client API, I afraid that there is no way to achieve your needs. Accessing Dashboard's child components/controls through Client API is not supported in PowerApps currently.
Supported Client API Reference
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas
Best regards,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.