cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dabs
Regular Visitor

Get another record value based on a unique ID

So i have a deep link, which is pointing to a record, based on a unique identifier, integer value. Inside the record the manger has the possibility to deny the application or approve. Interger values will change to 0 or 2 depending to the choice. 

 

Now i want to make deep links uneditable after the value is not 1. I need to get values from that specific line inside the record which is matching the unique id.

 

I did some reasearch and did not find a solution yet. Please help!

3 REPLIES 3
RandyHayes
Super User
Super User

@dabs 

I am not sure I entirely understand what problem you are having.  Can you elaborate a little more on what you are trying and what is not working?

 

I will say that it seems your concern might be that you don't want users to alter a URL in order to circumvent your logic.  Not sure if that is the case, but this would be done by doing a lookup to the record that the deep link refers to and determining if the value passed is correct or not.  IN other words, the user can change the URL all they want, but you are double checking once you are in the app to determine what the actual "current value" is.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thank you. i resolved myself. I was having a unique id which is pointing to a record. This record can contains different values from 1-5. I was needed to check based on the unique id in a single row if there is any value from 1-5

 

it was a simple lookup  i did : LookUp(UA, AntragID = varUAID, UA_STATUS = 1)

RandyHayes
Super User
Super User

@dabs 

Yes...that will do it!

 

Also, just a little FYI on deep linking and changing URL's (that seemed to be your focus in the original post).  It is a good practice to use a GUID for your deep link record ID (you would need to store one in your record to Look it up).

The reason is, if you pass something that someone can make sense of, then they can easily change the ID in the URL and look at some other record that perhaps they should not have access to.  They can change the GUID from here to Sunday and probably never "hit" another valid record.

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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