Hello everyone,
I have been trying to get this functionality to work but I am having issues:
Data Source: SharePoint List. I currently have multiple screens in my app. All the below screens are built as a separate Canvas App and not through SharePoint Power Apps option.
Filter Screen: Has drop downs, gallery with some details. When a user clicks on an item in the gallery, it takes them to the next page which is 'Display screen' - which provides additional details of the item based on the selected item in the gallery. This Display page has an Edit Icon and will take them to the 'Edit Screen' which will look just like the Display Screen but has Edit capabilities and Save. The users will be able to go tp the incident that they want using this process. This has been working great so far.
Scenario: I have created a Flow using Power Automate/Microsoft Flow to send an automated email with a URL (PowerApplink+ID). When the user clicks on the link, they should be taken directly to the 'Display Screen' with the details of the new item created, just like how the user is able to go to the 'Display Screen' by selecting an item in the gallery.
I have tried creating duplicating the display screen and changing the item, but doesn't seem to work. Any ideas?
Solved! Go to Solution.
Hi @BB9 ,
Just got your last message - that is precisely what I do and it is not difficult.
The key is the common selection method of the required record on the screen containing this form. As you are sending the ID in the URL, this is done as per the specs below. Strangely, I actually have the same screen name as you and a different Reference.
So firstly at App OnStart
If(
!IsBlank(Param("ItemID")),
Set(
vID,
Value(
Param("ItemID")
)
);
Navigate(DisplayScreen,ScreenTransition.Cover), //This has the target record on it
Navigate(YourGalleryScreen,ScreenTransition.Cover); //This has a gallery of records on it
)
)
This will put the ID number you want into the numeric variable vID and navigate straight to the DisplayScreen (or to the gallery screen if there in no ItemID parameter in the URL that opened the app).
Now the Item of the form displaying the record can be
LookUp(MyListName,ID=vID)
and lastly, on the OnSelect of your gallery that normally selects the item
Set(vID,ThisItem.ID);
Navigate(DisplayScreen,Fade)
So it will also display the required record by the same means.
Happy to elaborate further if required.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @BB9 ,
Please watch this video from Shane Young @Shanescows on Deep Linking.
It is not a difficult process. If you get stuck, I am happy to help.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you @WarrenBelz. I have used Deep Linking prior to posting the original post, so I tried a different way, but still was not able to fgigure out what was going on.
I have watched Shane approach and implemented the exact same way and was able to make progress. However, the only think that I am still having an issue is pasing the parameter variable from the URL. I have created a flow using Power Automate and sent the URL and the URL looks correct, it has my parameter name and number. However, when the user clicks the link, they are getting redirected to my home screen and not to my detail screen. However, when I give an ID in the On Start parameter, it seems to be working. I have added a label to check if it was getting the ID and gallery based on that. I am still stuck on how to get the ID passed from the URL to the App.
https://apps.powerapps.com/play/-------------?tenantId=-------------------&ItemID=29
ItemID is my variable that I used to pass the ID value.
One thing to mention here - I am generating the URL in Microsoft Flow when a new item is created, so I am using the ID dynamic value available in there so it will give me the ID directly and I am passing it. The URL seems to be correct, but my Param variable is not able to capture it from the URL.
Hi @BB9 ,
I use the ID in an email link on a couple of my apps - if is assists, I below is the exact code (less the URL nos) I use when sending the ID as a Text parameter. The hyperlink part of the mail - the syntax on the double-single quotes I believe are reversed when coming from a flow content.
"A <a href='https://web.powerapps.com/apps/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?RecordID=", & IDNoET.Text & "'><b>Timesheet</b></a> has been submitted by "
now on the incoming App OnStart
If(
!IsBlank(Param("RecordID")),
Set(
vID,
Value(
Param("RecordID")
)
);
Navigate(DisplayScreen,ScreenTransition.Cover), //This has the target record on it
Navigate(DaySummary,ScreenTransition.Cover); //This has a gallery of records on it
)
)
The Item property of the form on DisplayScreen
LookUp(MyListName,ID=vID)
vID is also set from the gallery if navigating from there.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @BB9 ,
Do you mean that you want to call a flow to send email with app's deep link to open a specific item in an edit form?
Do you mean that the ID in the deep link is dynamic value?
Could you tell me how do you get this dynamic value?
I assume that it is set to "ask in powerapps".
If so, I've made a similar test for your reference:
1)in flow:
trigger: powerapps
action: send an email body:
https://apps.preview.powerapps.com/play/2....e1?tenant......?ItemId=@{triggerBody()['Sendanemail(V2)_Body']}
//applink ?ItemId= ask in powerapps
2) in powerapps
(I use a gallery's OnSelect to call this flow, and use this gallery's selected as the dynamic ID value)
set app's OnStart:
If(Not(IsBlank(Param("ItemId"))),Set(var,Param("ItemId"));Navigate(Screen2, Cover))
//edit form is in screen2
set gallery's arrow button's OnSelect:
'410'.Run(Gallery1.Selected.ID)
//410 is my flow name
set the edit form's Item:
If(IsBlank(var),Gallery1.Selected,LookUp(deeplink,ID=Value(var)))
//if you open this edit form by using the deep link, the edit form will display the item that the deep link is related to.
If you open this edit form by gallery, the edit form will display the gallery's selected item.
Then if you click the arrow button in the gallery, you will send an email with this app's deep link. If you click the deep link, you will open this app and navigate to the edit form, the edit form will display one specific item.
Here's a blog about deep link for your reference:
https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/
Best regards,
Hi @BB9 ,
Happy to continue our conversation when you respond to my post.
@v-yutliu-msft thank you for your elaboration on the matter.
Sorry about the confusion, I should have been more clear about the issue.
The ideal scenario would work like this. When a new item is added, I created a flow to send an automated email to the user - and it will have a new ID as it is a new item. I am sending that ID as the parameter for the URL. This is working. I was able to get the URL to show ....tenantId=....&ID=10 (or whatever the new ID is). The issue is my Power App is not picking this ID parameter from the URL.
Thank you @WarrenBelz and @v-yutliu-msft for your responses. I am going to try again based on the steps. I made my Power App way more complex with a lot of variables and screens.
As of now, I have filter screen which has a gallery with drop downs, when a user selects an item in the gallery, it will take them to display screen with all the info about the selected item in the previous screen. If they click Edit Icon, it will take them to a different screen where they can edit the same item.
I want to use the same screens to implement Deep Linking. When a new item is added, it will trigger an email with the new ID. The user clicks the link, they should be taken directly to the same display screen (just like above - where user is selecting an ID), here we are already sending the ID as the URL, so we want the user to be taken to the same display screen. Hope I am not creating confusion with this.
If it still doesn't work, I will try recreating the app by starting with Deep Linking first and then reuse those screens for the drop downs, search etc.
Hi @BB9 ,
Please refer to the second part of my code, which also works on the incoming ID as a parameter.
If you give me the actual requirements for what happens when your app is opening by this URL (rather than being opening normally), I can apply this to your situation.
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08 23 @WarrenBelz 31 @DBO_DV 10 @Amik 19 AmínAA 6 @mmbr1606 12 @rzuber 4 @happyume 7 @Giraldoj 3@ANB 6 (tie) @SpongYe 6 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08 10@WarrenBelz 25 @DBO_DV 6@mmbr1606 14 @AmínAA 4 @Amik 12 @royg 3 @ANB 10 @AllanDeCastro 2 @SunilPashikanti 5 @Michaelfp 2 @FLMike 5 @eduardo_izzo 2 Meekou 2 @rzuber 2 @Velegandla 2 @PowerPlatform-P 2 @Micaiah 2 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8 SunilPashikanti8
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages