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

Bug report: Errors function autocomplete fails with special characters

Hello PowerApps team.

When using the Errors function with a data source what has special characters (in my case an Access Web App source with a dot in the middle) then there are two bugs:

  1. In PowerApps studio, two forms of the same data source are proposed: wrapped in single quotes and not wrapped in single quotes.  The correct choice is to be wrapped in single quotes but the wrong choice should not be proposed as it is for all other functions that take a data source as a parameter.
  2. Also in PowerApps studio, when the app is closed and then opened for editing, an error is shown (see screeshot below) when in fact there is no error.  The way to make it go away is to reselect the same choice, but it is annoying to have to do this every time.

Many thanks for all the hard work.

 

AAA.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Meneghino,

 

Thanks for reporting this.

 

I tested this and got with the same symptom.

When edit the errors function, PowerApps studio would provide two values regarding the data source, the one without single quote would bring errors when selected;

After close and open the app again, the error formula would show the same error showed in your screenshot.

A workaround for this is to use a collection to replace the errors () function with the items property in your second screen.

The formula I used for the Check Icon Onselect property is the following:

If(SubmitForm(EditForm1),1,And(Navigate(Screen1,ScreenTransition.None),IsBlank(Collect(ErrorData,Errors('datasource')))))

For the items property of the error screen, just use the ErrorData.

I will collect as a feedback.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @Meneghino,

 

Thanks for reporting this.

 

I tested this and got with the same symptom.

When edit the errors function, PowerApps studio would provide two values regarding the data source, the one without single quote would bring errors when selected;

After close and open the app again, the error formula would show the same error showed in your screenshot.

A workaround for this is to use a collection to replace the errors () function with the items property in your second screen.

The formula I used for the Check Icon Onselect property is the following:

If(SubmitForm(EditForm1),1,And(Navigate(Screen1,ScreenTransition.None),IsBlank(Collect(ErrorData,Errors('datasource')))))

For the items property of the error screen, just use the ErrorData.

I will collect as a feedback.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,716)