Hello,
I have a deep linking email link I can send in my app.
Trying to fix my app due to new the OnStart and StartScreen guidance.
OnStart: Set(varProgID, Value(Param("ProgID")))
StartScreen: If(IsBlank(LookUp(CDLForm, ID = Value(Param("ProgID")))), BrowseScreen1, EditScreen1)
App Starts to correct screen and when link is clicked also goes to correct screen.
However, no data is loading. Getting a message. "Getting your data".
Any advice? Thank you.
Solved! Go to Solution.
This finally works for me. Yay.
Onstart: Set(varProgID, Value(Param("ProgID")));
Set(varRecord, LookUp(CDLForm, ID= varProgID))
StartScreen: If(!IsBlank(Param("ProgID")),EditScreen1,BrowseScreen1)
This would be an issue with your form and the Item property of it.
I would suggest the following change:
OnStart: Set(glbCurrentRecord, LookUp(CDLForm, ID=IfError(Value(Param("ProgID")), Blank())))
In your StartScreen: If(IsBlank(glbCurrentRecord.ID), BrowseScreen1, EditScreen1)
Then, make sure your Edit Form has glbCurrentRecord as the Item property.
If you are setting a variable from your Browse screen gallery selection, you can change the variable name I chose above to be that one instead.
I hope this is helpful for you.
Gave a try, but received a "Global Variables" not allowed on StartScreen.
Almost there.
Onstart: Set(varProgID, Value(Param("ProgID")));
Set(varRecord, LookUp(CDLForm, ID= varProgID))
StartScreen:
If(!IsBlank("ProgID"), EditScreen1,BrowseScreen1)
Deep Link Email Link works now with these formulaa.
Except app is opening to the EditScreen1 and not BrowseScreen1 on launch.
Closer.
This finally works for me. Yay.
Onstart: Set(varProgID, Value(Param("ProgID")));
Set(varRecord, LookUp(CDLForm, ID= varProgID))
StartScreen: If(!IsBlank(Param("ProgID")),EditScreen1,BrowseScreen1)
Try this if your data cards are view mode. I used this when my 'data cards' 'display mode' is view mode and it worked for me to load the data
1. StartScreen: If(Value(Param("ProgID"))<>0, BrowseScreen1, EditScreen1)
2. In the Data Card Value for each field, use Lookup function in "DefaultSelectedItems" as below:
LookUp('CDLForm', ID = Value(Param("ProgID"))).Column_Name.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
182 | |
94 | |
62 | |
60 | |
58 |
User | Count |
---|---|
247 | |
165 | |
91 | |
76 | |
73 |