Good news! The app seems to be working correctly with the change of the Header Text property to "Project: " & varRecord.'Request Summary Title'. It wasn't synching right after I first made the change, but later that night I tested the app and I tested it again this morning and it is working. The reason I had mentioned Microscope Mount yesterday afternoon was in case there was some kind of "LastSubmit" connection since usually if there is a mismatch, it is the first record in the SharePoint list showing up, not the latest record I worked on.
Because you asked, the OnSelect properties of my tabs are all like this sample from the Request tab. There is no reference to varRecord. As you can probably tell, the second part of the formula simply controls which icon is displayed based on the form mode.
Set(varFormTab, "Request"); If(frmRequestVE.Mode=FormMode.View,IconReqVEEdit,IconReqVESave)
The Visible property of the Request form is: varFormTab="Request". I follow the same model for the other forms.
I think I am good to go on the mismatched ID issue for now, I'll let you know if it rears its ugly head again. Next, I will work on trying out your Deep Link advice for the new and edit scenarios I'm working on.
Thank you very much!
That's great to hear. Yep, sometimes PowerApps does some things that you can spend hours trying to troubleshoot only to save&close then re-open and BOOM! all fixed! It can be quite frustrating.
I now use a dev technique where I've tried everything I know and it should be working - I just save & close and re-open. Works a treat most times, haha.
Let us know if you get stuck again and happy PowerApp'ing 🙂
Thank you so much for your advice. I was able to get the deep links working today. Here is a recap of what worked for any other folks who come across this post while trying to sort out deep links. You mentioned things that aren't in the tutorials I referenced below so they were key to my success. I can't thank you enough!
LINK TO NEW REQUEST FORM
Video recommendation: April Dunnam’s Deep Linking tutorial
Step 1: I went to the Details screen of my app and clicked on the url. I added &hidenavbar=true&DeepLink=NewRequestForm to the end of it.
Step 2: I went to the OnStart property of my app and entered:
Things to be aware of:
Step 3: I went to my SharePoint site and created a new page. I entered a note into the default Text webpart and then added a “Call to Action” webpart. I inserted the deep link to the new form into the webpart and chose a stock image for the background.
LINK TO A SPECIFIC RECORD
Video recommendation: Shane Young's Deep Linking tutorial
Step 1: I modified the url to include &hidenavbar=true&varRecord= at the end of it.
Step 2: I added an email formula to the OnSuccess property of my form.
Not(varProjectStatus = varNewProjectStatus),
"Tool Support Design Request: " & txtRequestTitle.Text & " project status has changed",
"The status of your tool design support request has changed to " & varNewProjectStatus & ". Here is a <a href='https://apps.powerapps.com/play/myGUIDandtenantIDdeletedforprivacy&hidenavbar=true&ProjectID=
"& varRecord.ID & "'>link to the project</a>. Please check the Designer and Comments tabs for more details.",
Step 3: Enter the following formula into the OnStart property of the App:
If(varProjectID <> 0,
Set(varRecord,LookUp('Tool Design Support Requests',ID = varProjectID));
Things to be aware of:
Well done on getting it working, this was a real challenge! Also, thank you for posting your solution back here, as you say, it will provide others with guidance if/when they go looking to use Deep Linking.
All the best.
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021
Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!