Hi @Anonymous ,
Could you please share a bit more about your scenario?
Do you want to connect a single one Edit form to different SP Lists? Do these SharePoint lists have same data structure?
If these SP Lists that you mentioned have same data structure (including Data type and Column Name), I think single one Edit form could achieve your needs.
On your side, please consider take a try with the following workaround:
Set the DataSource property of Edit form to following:
If(
Gallery1.Selected.ClassName = "Class1",
'SP List 1',
Gallery1.Selected.ClassName = "Class2",
'SP List 2',
Gallery1.Selected.ClassName = "Class3",
'SP List 3',
...
)
Set the OnSelect property of Gallery to following (click Gallery Item to navigate to Edit screen to fill out form):
Navigate(EditScreen);NewForm(EditForm1)
If these SP Lists that you mentioned do not have same data structure, I afraid that single one Edit form could not achieve your needs. As an alternative solution, you need to create one Edit form in separated screen within your app for each SP List. Then set the OnSelect property of Gallery to following:
If(
Gallery1.Selected.ClassName = "Class1",
Navigate(EditScreen1);NewForm(EditForm1),
Gallery1.Selected.ClassName = "Class2",
Navigate(EditScreen2);NewForm(EditForm2),
Gallery1.Selected.ClassName = "Class3",
Navigate(EditScreen3);NewForm(EditForm3),
...
...
)
Please consider take a try with above solution, check if the issue is solved.
Best regards,