I am looking to do this on create / modify of an item in the sharepoint list.
i want to send an email via Ms Flow with a link direct to that item in the app.
You mentioned the next release, is there any more information you can give with that? or is it still not possible?
thanks
D
@Anonymous have a look at this Blog Post by Mehdi, it's really good write up on "deep linking" i.e. getting to a specific item on a specific Screen
https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/
This is exactly it , thank you!
Do you know if it is possible to clear a paramter on button click.
E.g. i have the deep link working to go straight to the detail of an item based on parameter fed in the url, however if you then navigate fromt here the parameter still has a value.
I could get rid of some of the navigation when the paramter is set but i would rather clear it and allow free navigation from the app again.
thanks in advance
D
Although you cannot directly clear the parameter, you can instead use the Set() function to cache the value and modify it as needed. When you open the app, you could have the OnStart() function call
Set(someLocalVariableName, Param("parameterName"))
Then, when you are done and want to clear it out, you can call
Set(someLocalVariableName, Blank())
I see what you are saying , but this again doesn't seem to change the URL which keeps in the loop of the parameter driving the navigation of the app.
Receive link from flow to specific item through URL + Parameter. Once inside the app can't clear the parameter to resume normal navigation of the app.
I could launch the app again if the parameter has a value but then that is opening another window 😞
Anyone who has a solution to this please let me know
D
Correct, this behavior is by design. The parameter cannot be set within the app because it is provided by an external source. If you wish to have control, you need to use a separate variable which initially stores the passed in parameter and can be modified based on the flow of the app. Your detail screen can then operate based on this variable and not directly using the Param() function.
I did see someone mention use a variable to clear the parameter, is there any example or documentation around this?
thanks
D
Again, you are not clearing the parameter. The parameter will always be fixed as the URL does not change. Instead, you store the value from the parameter into a separate variable. You can do this using the functions I provided above.
Go to powerApp and copy the Web link
And Add : ?ID=628
Final Out put:
https://web.powerapps.com/apps/<APPID>?ID=628
And the logic on the "Form" item capture the value of the ID:
If(Value(Param("ID")) > 0, First(Filter('ConnectionName', ID=Value(Param("ID")))))
DefaultFormMode:
If(Value(Param("ID")) > 0, FormMode.Edit,FormMode.New)
Enjoy.
User | Count |
---|---|
137 | |
128 | |
75 | |
73 | |
69 |
User | Count |
---|---|
220 | |
135 | |
78 | |
58 | |
55 |