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!
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.
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)
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.
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.