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 / Course catalog registr...
Power Apps
Unanswered

Course catalog registration

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am building an app where users can browse, view and register for classes.  I want to have a different attendance list for each class.  

 

So I have my catalog with all my classes in a gallery, then you select a class, and from there I want the user to fill out a form that is linked a specific list ( sharepoint preferably, but if there is another solution, I'll take it)  based off the class that was selected. 

 

If all the classes follow a template for their own empty sharepoint class roster list, is there a way to use one form on the app, that directs the information to different lists based off the selected class?

 

I tried to just put the link of the class roster on the list of classes but then users would either be able to edit/remove other attendees or they would be limited by their permissions.

 

The easy answer is to just put all registrants into one sharepoint list and filter that based on class but I feel like there is a way to better automate that so the different instructors wouldn't have to deal with irrelevant information. But at this point I am not even sure if it is possible in powerapps. 

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    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,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This was the exact solution I was looking for!! 

     

    "

    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)

    "

    Here was my formula that put into the DataSource of an EditFormsplit list formula.png

    The only problem is my "Fields" list says there are not fields. I double checked that my lists were formatted exactly the same way with exactly the same column titles. But still notta

    Here is my 

    .no fields.png

     

    Any suggestions?

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard