web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deep Linking to Edit F...
Power Apps
Unanswered

Deep Linking to Edit Form and Repeating Gallery Items

(0) ShareShare
ReportReport
Posted on by 299

Hello Community,

Hopefully, someone can help me with a deep linking issue that I cannot seem to resolve. I have an Edit form that is connected to 2 repeating Galleries. Each Gallery has a different SharePoint list than the Edit and New forms. The creation of the New Form triggers a flow with an email that contains the link to the Edit form item, but that item is blank when the link is opened and so are the corresponding Gallery items. Screenshots and my syntax are included below. Thank you in advance for any help; I've been trying to make this work for the past three days with no luck 😞
Patti

 

App > OnStart >
Set(varRecord, LookUp(TestInventoryRound4, ID = Value(Param("ItemID"))));
If(!IsBlank(varRecord), EditForm(EditRoundInvoice));
If(!IsBlank(varRecord), EditPFGallery.Selected.ID);
If(!IsBlank(varRecord), EditGAGallery.Selected.ID);

 

StartScreen >
Switch(Param("screenname"), "editround", RoundEdit, "roundsearch", RoundInvSearch, "printround", RoundPrintPDF, "editrectangle", RectangleEdit, "rectanglesearch", RectangleInvSearch, "printrectangle", RectanglePDF, LandingScreen)


InvoiceForm (New form) >
Datasource > TestInventoryRound4
Item > varRecord
OnSuccess >
Patch(TestPFItems, ForAll(Mon002Gallery.AllItems, {PFCodeNo: lblMon165002.Text, Items002: ddItems002.Selected, Item002Price: dd002Price.Selected, ItemLBsQTY: Value(txt002LBsQTY.Text), ItemCost: Value(txt002Cost.Text), MasterID: InvoiceForm.LastSubmit.ID}));

Patch(TestPFItems, ForAll(Mon003Gallery.AllItems, {PFCodeNo: lblMon165003.Text, Items003: ddItems003.Selected, Item003Price: dd003Price.Selected, ItemLBsQTY: Value(txt003LBsQTY.Text), ItemCost: Value(txt003Cost.Text), MasterID: InvoiceForm.LastSubmit.ID}));

Patch(TestGalvanizedItems, ForAll(Mon004Gallery.AllItems, {GalCodeNo: lblMon165004.Text, AllGalItems: ddItems004.Selected, AllGalPrices: dd004Price.Selected, AllGalFittingQTY: Value(txt004LBsQTY.Text), AllGalFittingCost: Value(txt004Cost.Text), MasterID: InvoiceForm.LastSubmit.ID}));

/*Insures there is a 'last submit' record*/
Set(varRecord, InvoiceForm.LastSubmit);
EditForm(EditRoundInvoice);

If(
IsEmpty(Errors(TestInventoryRound4)),
Notify(
"Success",
NotificationType.Success
);
Navigate(RoundSuccess),
Notify(
First(Errors(TestInventoryRound4)).Message,
NotificationType.Error
)
);
ResetForm(InvoiceForm);
NewForm(InvoiceForm);
Reset(Mon002Gallery);
Reset(Mon003Gallery);
Reset(Mon004Gallery);

 

EditRoundInvoice (Edit form) >
Datasource > TestInventoryRound4
Item > varRecord
OnSuccess >
If(
IsEmpty(Errors(TestInventoryRound4)),
Notify(
"Success",
NotificationType.Success
);
Navigate(LandingScreen),
Notify(
First(Errors(TestInventoryRound4)).Message,
NotificationType.Error
)
);
ResetForm(EditRoundInvoice);
Reset(EditPFGallery);
Reset(EditGAGallery);

 

EditPFGallery >
Items > Filter(TestPFItems, MasterID = varRecord.ID)
OnSelect > false

 

EditGAGallery >
Items > Filter(TestGalvanizedItems, MasterID = varRecord.ID)
OnSelect > false

 

InvoiceForm (New form)InvoiceForm (New form)EditRoundInvoice (Edit form)EditRoundInvoice (Edit form)

Email w/Link to ItemEmail w/Link to Item

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard