Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Power Apps Checkmarks not saving on App after submission to SharePoint or after closing and restarting app

Posted on by

Hello- Newbie here looking for assistance with an app I'm working on for a work project. I started with a SharePoint list as my source of data. I connected this SharePoint list to my App, which made all my SharePoint checkboxes into a toggle. After doing research, I was able to remove the toggles and add ChecboxCanvas to each as a replacement. I thought it would be that simple and my data would be connected, but every time I submit the form the data shows in SharePoint, but goes away in the app. Over the last few days I have been researching Patching,  but none of them work. 

My goal is to have 1 student record, which houses all their information and daily assignments. The students will be set up in SharePoint and pushed to the App. From there, the teacher will see all their students and be able to grade their homework per day. 


My App has 1 Main Page, which houses the Gallery and the student's main information. 
I am using a tab system as my menu, which has 5 different days or 6 tabs (Student Profile and 1 for each day). 
Each day has 9 checkboxes that indicate if they have completed a section of that day's homework assignments or not. If it's marked as no, I have a flow to message the student to complete it. The teachers will only use the App, so it won't work for me if the checkmarks don't save and match in both places. 

Will a patch fix this? If so, how does that work? Also, what should each checkbox be set to, defaults, Oncheck, OnSelect, OnUncheck. Any help you can provide would be amazing, my goal it to simply have the checkboxes in my app, match the ones in my SP list. All the other data shows and updates without issues. 
 

  • jmccune1 Profile Picture
    jmccune1 on at
    Re: Power Apps Checkmarks not saving on App after submission to SharePoint or after closing and restarting app

    When I try this format, it gives me a network error, I am assuming because I dont have a title listed, but it wont let me add a title a title.  

    jmccune1_0-1708374668549.png

     

  • jmccune1 Profile Picture
    jmccune1 on at
    Re: Power Apps Checkmarks not saving on App after submission to SharePoint or after closing and restarting app

    I started with a basic Submitform(FormName) which moves the data to my SharePoint list but clears my Power Apps form. I then moved on to try several patch options. 

    I tried this, with no luck.

    SubmitForm('Day 1'); Patch('Student Profile - Processing New Hire Training', RecordsGallery1.Selected); Navigate(MainScreen1)
    I tried a patch like follows but with all my checkboxes. 

    Patch('Student Profile - Processing New Hire Training', RecordsGallery1.Selected, {D1G1:CheckboxCanvas3, D1G2:CheckboxCanvas4, D1G3:CheckboxCanvas5})
  • mmbr1606 Profile Picture
    mmbr1606 9,488 on at
    Re: Power Apps Checkmarks not saving on App after submission to SharePoint or after closing and restarting app

    hey @jmccune1 

     

    how are you saving the form? Just using Submitform(FormName)?

     

     

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,733

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,750

Leaderboard