Hi Everyone,
Any help is much appreciated. Thanks.
I have followed steps from below blogs and nothing has worked so far to get Power Apps Gird control to render as editable in Power Pages.
https://powerpages.microsoft.com/en-us/blog/announcing-general-availability-ga-of-dataset-based-code-components-for-power-pages/
https://learn.microsoft.com/en-us/power-pages/configure/tutorial-pcf-code
I have enabled Power Apps Grid at entity level and enabled it for Web (and for phone and tablet to be on the safer side).
The Power Apps Grid does not show up in the custom controls list while configuring the view; only Power Apps Read-Only Grid shows up.
Both, Power Apps Grid and Power Apps Read-Only Grid, do show up in the list of custom controls while configuring a subgrid on a form.
I have created a List record in Portal Management for homepage grid and set its 'Use a configured code component' to 'Yes'
I have basic form with a subgrid configured with Power Apps Grid Control, added Basic Form Metadata, selected that subgrid and set its 'Control Style' to 'Code Component'.
When I place the a grid configured with Power Apps Rad-Only Grid on a web page, it does render as read-only as expected. Of course, because grids cannot be directly configure as Power Apps Grid with editable as true because that component never shows up while configuring.
When I place a basic form with subgrid configured as Power Apps Grid with editable as yes, it throws below error.
Couldn't load one or more code components on this form.
- Couldn't load code component for Table Name (subgrid_tablename) because of an unknown problem.