cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ctpmthh
Frequent Visitor

Column in DropColumns included but still error popup

Hi,

I had an issue with the technical columns of the SP online list... 

 

The solution was started using this DropColumns function...

ClearCollect(collectionWithoutDropedColumns,DropColumns(collecionUpdated,"Modified","Author","ComplianceAssetId","{HasAttachments}","{FilenameWithExtension}","{FullPath}","{Identifier}","{IsFolder}","{Link}","{ModerationComment}","{ModerationStatus}","{Name}","{Path}","{Thumbnail}","{TriggerWindowEndToken}","{TriggerWindowStartToken}","{VersionNumber}","Editor"));

 

And now I have an issue below ... but I already have the column "Editor" in DropColumns... 

 

ctpmthh_0-1652885525258.png

Some suggestions ?

Thanks ! 🙂

 

4 REPLIES 4
Drrickryp
Super User
Super User

@ctpmthh 

Instead of specifying metadata columns to be dropped, why not use ShowColumns() instead and only put in the columns you wish to show from your list. 

ctpmthh
Frequent Visitor

Hi@Drrickryp , thanks for the reaction 🙂

 

I know about ShowColumns() but I have more than 180 columns and maintenance will be messier. ( and you cant put there variable... to do something like

Set(varColumns,""column1","column2"")

ShowColumns(varColumns)...  

To be honest,

I'm disappointed this DropColumns doesn't work... really why is there this function then if it doesn't work!

Or did I do something bad ?...

ShowColumns() is the last choice... there.

Drrickryp
Super User
Super User

@ctpmthh 

It's hard to image that a single table could have 180 columns and not need to be normalized... Just sayin.

This is for another topic... now it's the source SharePoint online list...  It will be moved to a normal DB or Dataverse in the future... but for now, it's SP online list... 

Still, it's sad that DropColumns doesn't work 😞 ... I know almost every platform has his "Feature" ;).. maybe I'm on one right now...

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,099)