web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 2NsJtRf3tRpnhoOcEeXqkX
Power Apps - Building Power Apps
Answered

Galleries - hide a secret item

Like (0) ShareShare
ReportReport
Posted on 24 Mar 2020 14:12:58 by

Hello all! Is there a way to flag an item (which was registered by a Papps form) as secret, so it keeps stored in a sharepoint list, but a gallery can't find it? 

 

Thanks in advance!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 25 Mar 2020 at 19:47:29
    Re: Galleries - hide a secret item

    I've discovered the "||" (double pipe) and was able to merge both! But using "StartsWith" instead of "Search"

     

    Filter(projetos_lista;top_secret = "NAO";StartsWith(Title;SearchInput1_1.Text) || StartsWith(codigo;SearchInput1_1.Text) || StartsWith(SRS_VIP;SearchInput1_1.Text))
  • Community Power Platform Member Profile Picture
    on 25 Mar 2020 at 14:20:18
    Re: Galleries - hide a secret item

    I've obtained success making the SP column as a single line of text and using your second function! Very thanks for that. But, as I use a Search function too, I'm having trouble merging both.

     

    I've tried to put like this (currently using the portuguese version of the studio):

     

    Filter(projetos_lista;top_secret = "NO");; Search(projetos_lista;SearchInput1_1.Text; "Title"; "codigo"; "SRS_VIP")
     
    I have a text field that I use for search purposes. 
     
    Can I merge both like this?
     
    Filter(projetos_lista;top_secret = "NO"Search(projetos_lista;SearchInput1_1.Text; "Title"; "codigo"; "SRS_VIP"))
  • SkiDK Profile Picture
    1,016 on 25 Mar 2020 at 13:49:14
    Re: Galleries - hide a secret item

    yes

    grts

  • Community Power Platform Member Profile Picture
    on 25 Mar 2020 at 13:36:25
    Re: Galleries - hide a secret item

    Inside the "items" property, you say?

  • v-siky-msft Profile Picture
    on 25 Mar 2020 at 03:58:45
    Re: Galleries - hide a secret item

    Hi  @Anonymous ,

     

    Use Filter function to filter out the secret record, please try this code:

    Filter('SP list", ID <> 1) // asume the secret record id =1

     

    Hope this helps.

    Sik

     

  • Verified answer
    SkiDK Profile Picture
    1,016 on 24 Mar 2020 at 14:45:19
    Re: Galleries - hide a secret item

    I don't know whether you have a flag or some field in the SP list that shows if its secret or not?

    In the control you can then filter on the SP list to show all non-secret items. Small examples below.

    Filter(SP_List, not(IsSecret)); // if secret is a yes/no field in SharePoint
    Filter(SP_List, Secret = "Not secret"); // in case you're using a string
    

      

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete