cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

An entry is required or has an invalid value

Hello all,

 

I started to build new Power App. SharePoint list form works perfectly but I using also LOOKUP data from existing SharePoint list (about 400 lines). Unfortunately SharePoint list form works only as "dropdown" without option to search.

 

So I created customized form via Power Apps with combo box which is able to search. Unfortunately If I publish the form created in Power Apps I'm not able to create new item. Also I'm not able to edit existing fields as I getting still same error "An entry is required or has an invalid value".

 

I tried several hints from this forum.

1) Tittle column is not required.

2) I tried all fields setup as not required in SharePoint list. Then I setup all fields as no required in Power Apps - doesn't help.

3) I tried in app advanced settings turn off delayed loading 

 

I don't have any idea how to fix it.....if I switch back to SharePoint list everything works pretty well.

 

Any ideas?

 

1 ACCEPTED SOLUTION

Accepted Solutions

@mhala 

Yes - simply make sure you have the Title field in your field list of the EditForm.  Click on the "Edit fields" in the Right Pane of the Edit Form properties.

RandyHayes_0-1603485012161.png

 

Make sure you have the Title field listed in your list.  If it is not there, then add it with the Add field icon at the top of that list.

 

Once you have it in your form.  Click on the datacard for it in the form.  Then click on the Advanced tab in the property pane on the right and Unlock the DataCard.

RandyHayes_1-1603485130586.png

 

Then look down that list of properties in the Advanced properties.  You will see the Update property.  Set it to just a string value - doesn't make a difference what you set it to as you don't really care about it.

Then switch back to the regular properties in that property pane and turn the Visible property off.

RandyHayes_2-1603485282031.png

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

22 REPLIES 22

@mhala 

Can you describe your process of how you created the form from your SharePoint list?

 

In general, you can change the field control type of the edit form to accommodate what you are looking for pretty easily.

 

If you have changed any of the controls or Update properties of the datacards in the edit form, then there is a good chance that it is trying to push back an invalid record.  The "required" part of the message may not apply directly to a column as much as it might refer to a part of a column (as in your lookup).

 

Provide more details on the definition in SharePoint of the column you are concerned over.  Also a screenshot of your form and any relevant formulas you have adjusted.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

I can share it - it's not problem.

Good point with that LOOKUP formula - in the source fields are required. So based your tip I tried to turn off all required fields.

 

Now - update. I'm able to edit existing forms/data via Power App Form.

New item can't be created still - error message dissapeared. If I click on "save" I see 3 dots on top as run, but it doesn't save the item for some reason. 

Update1:

now it showing after click on save "skip to main content"

mhala_0-1603399657854.png

 

Update2:

New error messing - again clicked on save and now I got an error "tittle field is required" - I suppose I now how to fix it, I will post new update in few minutes.

 

Update3:

I added "tittle field" to Power Apps and turned off this field as required, then I hidden this item.

In SharePoint is tittle setup as not required also.

Again same error 😕

mhala_0-1603400075881.png

 

Update4:

Now I can't again edit existing item - same error as above - strange.

 

Update5:

In advanced app settings delayed load must be turned off. Editing of existing items works for now.

 

Update6:

I updated app (add tittle column as not required an hidden) - again for some reason editing items doesn't work. Still gotting an error "an entry is required or has an invalid value"

 

Update7:

If I remove "title" as field from Power App (tittle was hidden and not required) then with delayed load I'm able again EDIT existing item.

Still I'm not able save new items. If I want created new item and I click on "save" nothing happened.

 

Any ideas?

@mhala 

If you happened to have changed columns in your list from required to not required, I would suggest removing the datasource from your App completely and then add it back in.  PowerApps gets a little confused on those type of changes, remove and add back sometimes will clear that issue.

I also (as extra insurance) will usually select the EditForm and cut it (ctrl-X) and then undo (ctrl-Z).  This causes PowerApps to bring the form back and it then refreshes itself against the datasource that you just refresh (hard refresh).

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

" I would suggest removing the datasource from your App completely and then add it back in."

 

How I can do it please? I'm unsure how to remove datasource back and add it back in without developing the app again?

@mhala 

In your datasources (left pane of your designer), find your datasource and click on the ellipses and choose remove.  Then add the datasource again (you'll see your connectors - find the SharePoint connector) Then find your SharePoint site, then click on the List you are connecting to.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thanks. Done.

 

Now when I tried add new time, then after clicking on save button I seen some dots running.....then I see message "skip to main content"

mhala_0-1603434801284.png

 

New item wasn't saved - nothing more happened 😕 @RandyHayes  any ideas?

@mhala 

What do you have on the OnSave property of the SharePointIntegration?

I assume you are just using the Save button on the built-in list - or are you adding your own submit button?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@RandyHayes  Thank you a lot with this support.

It's default setup - I'm not "pro" user. I just wanted extend options of Sharepoint Form by Power Apps 🙂 It's not so easy as I supposed...

mhala_0-1603463987971.png

 

To replicate this error better I added "button" and copied the Form "SubmitForm(SharePointForm1)" to it. 

I tried to monitor what happens - only one "warning" 

mhala_0-1603464778949.png

 

@mhala 

Actually, what you are doing is *usually* pretty easy (don't get discouraged). 

So, let's go through the steps again...

1) You choose Customize Forms from SharePoint.

2) You change something around a little (what?)

3) You return to SharePoint and publish

4) You choose New

5) You see your customized form.

6) You enter information

7) You click save

😎 You return to your list

 

Where in the above list do things go wrong?

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (640)