cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Josephine1
Level: Powered On

Navigation

Hi 

 

I'm using a Gallery Control to filter and display the content from a SharePoint List, based on the selected heading in the app. What I'm trying to do is to set up an anchored tag "Reference" in the SharePoint list content, so that when the user clicked on it, the app will then either refresh and filter the SharePoint list based on the anchored text, or navigate to a separate screen set up in the app. 

 

Any one has any idea how I can do that / suggest a workaround it?

 

Thank you very much.

 

 

1 REPLY 1
Super User
Super User

Re: Navigation

Hi @Josephine1 

 

I would have a text column (ie ReferenceTag) in your SharePoint List, wherein the reference tags are set, then in your gallery I would have a button or highlighted label with that text value.

 

You could then have your OnSelect set a variable for filtering the list:
Set(ChosenRefTag, ThisItem.ReferenceTag)

 

and your Gallery's Items property would then have something like this:

//If a tag is chosen, ie its not blank

If(!IsBlank(ChosenRefTag),
   Filter(DataSource,

                               ReferenceTag = ChosenRefTag
   ),
   //Otherwise just have the normal Gallery items conditions

   DataSource
)

 

Then don't forget to have some way to clear the tag by setting the ChosenRefTag to Blank()

 

Please could you give something like this a try and let me know if it helped 🙂

 

Cheers,

ManCat




Don't forget to 'Mark as Solution' if a post answered your question and always 'Thumbs Up' the posts you like or helped you!

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 122 members 5,167 guests
Recent signins:
Please welcome our newest community members: