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 Smiley Happy

 

Cheers,

ManCat




Don't forget to 'Mark as Solution' and 'Thumbs Up' those who deserve it!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 152 members 4,251 guests
Recent signins:
Please welcome our newest community members: