Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Recommended way of accessing standard components, for instance, subgrids from PCF component.

Hello everyone,


I am currently working on adding records for the subgrid. everything went well but for some time I was stuck on a problem that I can't refresh the standard component (Subgrid in this case) as there is no way for me to access those standard components from the PCF component.

After some research on PCF documentation and additional google searches, I found a solution to this but I don't think it is a recommended approach.




// @TS-ignore




As you can see, I need to add @TS-ignore just to fix TS2304: Cannot find name 'Xrm' error, which I think is not a recommended approach.

Is there any recommended solution for this?



Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,475)