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.
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
@iAm_ManCat |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
User | Count |
---|---|
254 | |
252 | |
82 | |
45 | |
27 |
User | Count |
---|---|
350 | |
267 | |
127 | |
61 | |
58 |