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 / PowerApps form not sav...
Power Apps
Unanswered

PowerApps form not saving to SP list

(0) ShareShare
ReportReport
Posted on by 27

Hi

 

All of the sudden form is not saving to SP list anymore. Nothing has changed, yesterday ok, today not.

Restored some previous versions, same.

 

Any clue where to start?

 

Br

Categories:
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    can you show us the code you use when you click the button

     

    thanks

  • Mihaela08zl Profile Picture
    99 on at

    @peter978  Could you please provide me the formula ? 

  • peter978 Profile Picture
    27 on at

    hi

     

    code below. But Tried several previuos versions where code was 100% working...same

     

    Set(
        DateSelectedVar;
        DateValue(Text(DateValue2.SelectedDate; "dd/mm/yyyy"))
    )

    ;;

    ClearCollect(
        Appointments;
        Strunjan_1
    )

    ;;

    If(
        IsEmpty(
            Filter(
                Appointments;
                DateSelectedVar >= DateValue('Datum in ura prihoda') And DateSelectedVar <= DateAdd(DateValue('Datum in ura odhoda'); -1)
            )
        );
        Notify("Termin je prost"; NotificationType.Success);
        Notify("Termin NI prost"; NotificationType.Error)
    )

    ;;

    If(
        IsBlank(DataCardValue2.Text) ||
        IsBlank(DataCardValue3.Text) ||
        IsBlank(DataCardValue4.Text) ||
        IsBlank(DataCardValue5.Text);
        Notify(
            "Prosimo, izpolnite naslednja obvezna polja: " &
            Concatenate(
                If(IsBlank(DataCardValue2.Text); "Ime in Priimek, "; "");
                If(IsBlank(DataCardValue3.Text); "Število oseb, "; "");
                If(IsBlank(DataCardValue4.Text); "Telefonska številka, "; "");
                If(IsBlank(DataCardValue9.Text); "Naslov, "; "");
                If(IsBlank(DataCardValue8.Text); "Davčna številka, "; "");
                If(IsBlank(DataCardValue10.Selected); "Zaposlen v enoti, "; "");
                If(IsBlank(DataCardValue5.Text); "E-mail"; "")
            );
            NotificationType.Error
        )
        ;
        /* Add the code to prevent saving if the date is unavailable */
        If(
            IsEmpty(
                Filter(
                    Appointments;
                    DateSelectedVar >= DateValue('Datum in ura prihoda') And DateSelectedVar <= DateAdd(DateValue('Datum in ura odhoda'); -1)
                )
            );
            SubmitForm(Form1);;
            ResetForm(Form1);;
            Navigate(Screen1)
        )
    )
  • peter978 Profile Picture
    27 on at

    ok...just tried new save button with only 

    SubmitForm(Form1) and worked...how is it possible that code which was not changed in weeks not working anymore?
     
    br
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    is it possible that the permissions of your datasource have changed?

     

  • peter978 Profile Picture
    27 on at

    no, I am only one who works with SP and PowerApps. But I checked anyway...same permissions.

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard