Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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.

 

  • Hemant Gaur Profile Picture
    on at
    Re: Facing issue/bug while using AddColumns()

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

     

    thanks.

    Hemant 

  • Sheldon Copper Profile Picture
    200 on at
    Re: Facing issue/bug while using AddColumns()

    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
    Re: Facing issue/bug while using AddColumns()

    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 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard