cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmirGh
Helper I
Helper I

Deep Linking not working with filter

In my application, I have set up a deep linking which is working and is fine. The deep linking takes the user to a Gallery, selected record.

But, I recently tried to add a filter to Gallery to "Show only Open items". When I activate this filter, the the deep linking only takes the user to Gallery screen and does not select the record.

detail as below:

Normal scenario without filter on Gallery which deep linking is working:

Items: in Gallery:

Filter(CTRList,CTRProjectNumber=CBProjectList.Selected.Result)

CBProjectList is a combo box  to select a project

AmirGh_0-1621908369790.png

When I have the above filter, everything works as expected.

 

But, when I add another criteria to filter, then the deep linking will not select the record in Gallery:

 

AmirGh_1-1621908437083.png


If(OpenOnlyCB_1.Value=false,Filter(CTRList,CTRProjectNumber=CBProjectList.Selected.Result),Filter(CTRList,And(CTRProjectNumber=CBProjectList.Selected.Result,And(Status.Value<>"Approved",Status.Value<>"Superseded",Status.Value<>"Rejected"))))

 

 

 

12 REPLIES 12
AmirGh
Helper I
Helper I

OnSelect: Set(VarSelectedCTR, ThisItem)

@AmirGh ,

Have a go at my syntax from the gallery onwards - OnSelect

Set(gblID,ThisItem.ID)

then the form Item

LookUp(
   ListName,
   ID=gblID
)

Incidentally, there is no valid reason that I can see why filtering a gallery further (as you are) should change the value of the selected item to display in a form, so I generally simply head another direction that I know works.

 

Please click Accept as solution 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 giving it Thumbs Up.

 

Hi @AmirGh ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution 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 giving it Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,085)