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 / Unable to save data to...
Power Apps
Answered

Unable to save data to sharepoint and cannot navigate to next page.

(0) ShareShare
ReportReport
Posted on by 32

Hi guys, I am having trouble of saving the data to my Sharepoint. Here is the code that I did. Can you guys navigate me which part that I had to change?

 

 Patch('Exhibition Competition',Defaults('Exhibition Competition'),
            {Title:'Exhibition Competition',
            Tech_Title: TextInput4.Text,
            TRL: Dropdown1.Selected.Value,
            Leader:TextInput4_1.Text,
            Institute: TextInput4_5.Text,
            Team:TextInput4_2.Text,
            Type_of_IP:TextInput4_3.Text,
            IP_status:TextInput4_6.Text,
            IP_status:TextInput4_7.Text,
            Comm_status:TextInput4_4.Text,
            Target_year:TextInput4_8.Text,
            Partner: TextInput4_9.Text,
            which_comp:Dropdown2.Selected.Value,
            Category: TextInput4_11.Text,
            other_comp:TextInput4_10.Text
        }
    );

 Navigate('Technology Summary');
 
Since the forms have multiple pages, is it okay if the data at the page will saved to sharepoint everytime the respondent go to the other slide? 
Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @Durrani ,

    It is not possible to work out the error without knowing the field type of each field you are patching to. It appears presently that they are all Text (Single or Multiple Line) columns - is this correct ?

  • Durrani Profile Picture
    32 on at

    Hi @WarrenBelz ,

     

    Yes almost all the text columns are text that will be filled by the respondent except two, which I use dropdown where they can choose the given answers

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @Durrani ,

    What type of fields are these in SharePoint ? If they are Choice columns

    Patch(
     'Exhibition Competition',
     Defaults('Exhibition Competition'),
     {
     Title: 'Exhibition Competition',
     Tech_Title: TextInput4.Text,
     TRL: Dropdown1.Selected,
     Leader: TextInput4_1.Text,
     Institute: TextInput4_5.Text,
     Team: TextInput4_2.Text,
     Type_of_IP: TextInput4_3.Text,
     IP_status: TextInput4_6.Text,
     IP_status: TextInput4_7.Text,
     Comm_status: TextInput4_4.Text,
     Target_year: TextInput4_8.Text,
     Partner: TextInput4_9.Text,
     which_comp: Dropdown2.Selected,
     Category: TextInput4_11.Text,
     other_comp:TextInput4_10.Text
     }
    );

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Durrani Profile Picture
    32 on at

    the line where i want to use multiple choice column is at here. I also attached a photo for your refference

    which_comp: Dropdown2.Selected,
    TRL: Dropdown1.Selected,

     

    IMG_1275.png
  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @Durrani ,

    Can you please tell me exactly what field types these are in SharePoint and whether your Combo Boxes are single or multiple selection.

  • Durrani Profile Picture
    32 on at

    Sorry for the lack of clarity, the two line that I mentioned before I want to use single selection while the rest I intend to do multiple lines of text.

  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @Durrani ,

    If the two choice columns are single selection and the combo boxes are also single selection, then the code I provided should work.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard