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

Undefined or null value for companyname field on lead entity

Hi @AnqiChen @HemantG ,

 

1) I am getting undefined or null value for companyname field on lead entity when selecting from property-set.

 

2) But if I add companyname field on OOB grid columns and then select that same field form property-set then I am able to get correct value for the field.

 

3)There a strange scenario in which it sort of works, if I open the lead record from my pcf control whose navigation is set to new window after that if I navigate to lead home grid then I am able to view companyname for that particular field which I had opened previously for rest of the records it will still be undefined or null.

 

4) We tried to add companyname column programmatically using context.parameters.sampledataset.addColumn().

 

5) It's not working for companyname, but for createdon we are able to get createdon value using addColumn

 

companyname.png

 

 

debuggercompanyname.png

 

Thanks,

 

Sheldon

1 REPLY 1
Highlighted
Power Apps
Power Apps

Re: Undefined or null value for companyname field on lead entity

hi @sheldoncopper73 ,

 

Thank you for reporting this.

1) Yes, I am able to repro

2) I have investigated, the root cause is the lead's OOB view, like 'My Open Leads', its view's layoutXml does have 'companyname', but fetchXml does not. In some sense, these views are special and impact the things.

So, the scope of the issues are limited to these special Lead Views only.

 

I have internally created a bug to track this. @HemantG will triage these

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,701)