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 / Error in Gallery Contr...
Power Apps
Unanswered

Error in Gallery Control: "Self is not a valid identifier"

(0) ShareShare
ReportReport
Posted on by
Facing this error. On controls property like Fill, Pressed Fill, HoverFill. Though i have defined this properties like Color."ColorName", RGBA(x,x,x,x). But issue is same. 
Also tried option "Edit in formula bar", it directs me to the item property of gallery control.
Overall app functionality is getting affected, but in studio mode its irritating. 

Error statment is: "Argument 'Self' is Not a Valid Identifier" GalXYZ.PressedFill

That indicates error is in Pressed fill proerty of gallery control, But gallery itself doenst have this property its control can have, checked them all didnt find any issue. 

any solution or area where i can check the for the error.
Community Post_ S...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,350 Most Valuable Professional on at
    Firstly, a gallery does not have a PressedFill property, only input controls do. Also if you are using Self referring to the same control and property, you will get a circular reference.  What exactly are you trying to do ? Unfortunately your image attachment cannot be opened - try pasting it directly in the thread.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • JY-21051951-0 Profile Picture
    4 on at
    I'm having the same issue! I've tried placing a blank vertical gallery and it keeps throwing this error. PressedFill and HoverFill aren't even properties of a gallery. 
  • CarlosFigueira Profile Picture
    Microsoft Employee on at
    @Haseeb Ahmed / @JY-21051951-0 I'm not able to reproduce this issue... Can you please copy the gallery (right-click it, select 'Copy'), and paste it here? If we can reproduce that with the copy of the control I can send the issue to the team that owns that feature to investigate it.
  • JY-21051951-0 Profile Picture
    4 on at
    @CarlosFigueira Hello, this is just the Blank vertical gallery. I've tried using different data sources. This is an environmental variable linked from a SharePoint List.
     
    - Gallery1:
        Control: Gallery@2.15.0
        Variant: Vertical
        Properties:
          Items: =EV_Timesheet_Users
          LayoutMinHeight: =16
          LayoutMinWidth: =16

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 875

#2
Valantis Profile Picture

Valantis 530

#3
11manish Profile Picture

11manish 432

Last 30 days Overall leaderboard