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://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.
You might not have admin role on contacts that's the reason it's not showing clear cache page.
I tried the above steps and for me also read only grid is showing.
This is how its showing in Power Pages studio.
And while previewing its shows as below.
How to fix this issue @ahmadpirani .
@Raviraj955 I followed the same steps except clearing the cache. I tried to open the url siteURL/_services/about to get the cache setting but I'm getting below screen only. Am I missing something ?
This issue can be sorted by end users/developers. It is something that Power Pages developer/deployment team needs to take care of on ongoing basis. Each time they release updates to Power Pages/Portal, the miss updating PCF runtime to match with the one in Dynamics.
Ravindra,
Thanks for responding. It is not configuration issue. It is Microsoft not updating PCF runtime on Power Pages as quickly as they are released on Dataverse. We have two P1 ticket with Microsoft open. Not just us several environments, including our clients have been facing this repeatedly each time when the runtime goes out of sync between Dataverse and Power Pages/Portal.
I had even mentioned this in person to Power Pages developer team during Power Platform Conference in Vegas.
It was fixed in September update, which we got at the end of October. Then again in mid-December it is back to the same error. We have absolutely no configuration changes. It works, breaks, works, breaks, on its own as PCF runtime keeps going out of sync in Portal. Clearly, the team does not have this as an item on their checklist for Power Pages/Portal release.
https://learn.microsoft.com/en-us/power-platform/released-versions/portals/pagesversion959x
Step 1: Go to solution -> Select Entity -> Controls tab, select "Power Apps grid control".
Step 2: Go to Portal Management App -> Lists -> Open list -> General Tab, set "Use a configured code component as 'YES' ".
Step 3: Go to portal and clear cache:
Step 4: Go to portal and open the page which contains list configured in step 2, you can see the grid is editable on portal.
Thanks,
Ravindra Rakhunde