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

Announcements

News and Announcements icon
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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard