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.
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.
Update - fix for this issue has been back-ported and is expected to be available in NAM by this weekend (11/21).
thanks.
Hemant
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!
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
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1