web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Facing issue/bug while...
Power Apps
Unanswered

Facing issue/bug while using AddColumns()

(0) ShareShare
ReportReport
Posted on by 200

Hi @HemantG  @AnqiChen ,

We are facing a bug in PCF control while using the addColumn() method. Scenario – Our PCF control is configured on the opportunity entity and first, we are using the addlinkedentity() to add the quote entity in the dataset.

Once we get the addLinkedEntity() we are using the addColumn() to add the quote entity record fields in the dataset columns.

This code was working until a few days ago.

But since yesterday we are receiving the below error in the updateView after we use the addColumn and then refresh the grid using the code.

We debugged and found out that the fetchxml which is created after we add the column is not creating correctly.

Strange thing is that the same code is working in some environment and not in others.

We are also adding the sample code for you to check. This issue is not specific to only one entity we have tried the same for multiple entities. We have tried why possible validations from our end.

AddColumnIssue.png

Let us know if anything could be done differently from our side or if you are not able to replicate the issue.

Awaiting your reply.

Thanks in advance.

 

I have the same question (0)
  • Hemant Gaur Profile Picture
    on at

    We are able to repro this and it is actively being looked into. I will update the thread as I have more information.  Please let me know if there are other folks facing similar issues ?

     

    hemant 

  • Sheldon Copper Profile Picture
    200 on at

    Hi @HemantG ,

     

    Any estimate timeline till when this could be solved.

     

    We have used addColumns in many of our projects which are currently live on clients CRM.

     

    Look forward to your reply.

     

    Thanks!

  • Hemant Gaur Profile Picture
    on at

    Update - fix for this issue has been back-ported and is expected to be available in NAM  by this weekend (11/21).

     

    thanks.

    Hemant 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard