cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sopatte
Level 8

Bug: RenameColumns then AddColumns with same name

I think I've found another bug.

 

To get a minimum test case. I have a sharepoint list called Test with a Title (of course) and an text field "SN".

 

ClearCollect(
    Test2,
    RenameColumns(
        Test,
        "SN",
        "OrigSN"
    )
);
ClearCollect(
    Test3,
    AddColumns(
        Test2,
        "SN",
        If(IsBlank(OrigSN),"",OrigSN)
    )
)


This should work, but adding an "SN" column to Test2 fails. If I call it "SN2" it works fine. This doesn't seem to be an issue when the orginal source is a local collection, but it is an issue when it's a sharepoint list.

1 ACCEPTED SOLUTION

Accepted Solutions
sopatte
Level 8

Re: Bug: RenameColumns then AddColumns with same name

I'm not blocked, thanks. I was trying to work around the "patch doesn't work for blank fields" issue but UpdateIf was a better workaround anyway.

View solution in original post

2 REPLIES 2
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Bug: RenameColumns then AddColumns with same name

Thank you for reporting this issue. I've filed a bug with the appropriate team for fixing.

Meanwhile, are you blocked by this issue? If so, can you provide more details from your scenario so that we can provide a workaround while the bug is not fixed?

sopatte
Level 8

Re: Bug: RenameColumns then AddColumns with same name

I'm not blocked, thanks. I was trying to work around the "patch doesn't work for blank fields" issue but UpdateIf was a better workaround anyway.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,936)