cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Bug in context.mode.contextInfo property for subgrid : entityTypeName gives incorrect value

When using context.mode.contextInfo, property entityId gives the id of the parent form record, which is what is expected. But property entityTypeName gives the name of the subgrid entity and not the parent form entity.

 

Two questions:

  • when contextInfo will come as a predefined and supported property of property "mode"?
  • when a fix can be expected for this bug?

Thanks

10 REPLIES 10
Highlighted

Hi  @EricRegnier , 

 

@ts-ignore is a possibility. The alternative is casting:

(context.mode as any).contextInfo.entityId

 

 Kind regards,

Diana

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,004)