cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cedric2
New Member

Return an ID Field to Navigate in a power apps table

Hello !

 

I'm trying to list a table.

and i want each Fields of the ID column lunch a Navigate command with a context ID variable.

Cedric2_0-1647335679732.png

For exemple :

- if i Click on "49" => I want to use the command:

 

 

Navigate(machine; ScreenTransition.Fade; {MM:49})

 

 

- if i Click on "50" => I want to use the command:

 

 

Navigate(machine; ScreenTransition.Fade; {MM:50})

 

 

 

Actually, i dont find how to put the Field Value into my MM variable.

I tried with ThisValue, ID.Text ... 

A little help please ?

Many Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Cedric2
New Member

Hello,

 

I found the solution :

Navigate(demande; None;{DD:DataTable1.Selected.ESS})

Many thx anyway

View solution in original post

5 REPLIES 5
ansrikanth
Resolver III
Resolver III

Hi

 

You should be able to use something like

Navigate(machine; ScreenTransition.Fade; {MM:ThisRecord.<<IDColumn>>})

If it is a plain text field then it should work ..

 

Thank you

-Srikanth

Hello,

Should i put it in the "OnSelect" field of the column ?

=> each time I try "ThisItem" or "ThisRecord" into the "OnSelect" field, i have an error.

Cedric2_0-1647339410981.png             Cedric2_1-1647339440835.png

 

same with   Cedric2_2-1647339850798.png

 

 

Many Thx for your assistance

 

 

ansrikanth
Resolver III
Resolver III

Hi, It has to be OnSelect of your Gallery. And pressuming your Column name is ESS, then your formula should be 

 

Navigate(machine; ScreenTransition.Fade; {MM:ThisItem.ESS})

 

 

Here is an example 

ansrikanth_0-1647340263832.png

 

Thank you

-Srikanth

Cedric2
New Member

Hello,

 

I found the solution :

Navigate(demande; None;{DD:DataTable1.Selected.ESS})

Many thx anyway

ansrikanth
Resolver III
Resolver III

Great, can you please mark the answer and close the thread.. 

 

Thank you

-Srikanth

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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