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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,084)