cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Error on opening app in Edit mode: Unable to process binding "style... | Contract failure: Unspecified

Today on trying to open any of my PowerApps using the Experimental feature: "Formula-level error management" in Edit mode give me the following error on startup and then nothing is loaded on the screen.

"An error occured while opening the file"

PowerAppError.png

Reverting back to a previous version or exporting & Importing the PowerApp does not solve the problem.

Apps without the experimental feature turned off are working just fine. Luckily I can still 'Play' the affected PowerApps..

Any ideas? Please help...

Update
With the use of : 

Contracts.checkNumberOrNull = function(){}

I can turn the Experimental feature off, save and publish the app. This breaks the Play mode and does not resolve the issue..



1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Member

Re: Error on opening app in Edit mode: Unable to process binding "style... | Contract failure: Unspecified

Hi Mona,

Thanks for your reply, unfortunatly I am unable to tell you. My predecessor who has left the company initially created these apps ans apparantly turned the features on.

Through the weekend I have tried and finally found the cause of the error. The error had nothing to do with a feature and everything with an formule beeing used to determine a Font size. We are using an Config Screen where the default font size is written in a label. Every other label is then pointed to this config label.
Apparantly, some labels had a formula like:
lblFontSize.Size-5
And this broke the entire app, as in the Fontsize UI dropdown, you would see the value  '17-5'  instead of the actual outcome.
Capture.PNG
In my opinion this should not result in beeing unable to Edit the app, but at least we found a solution. We are also unable to reproduce the issue in new apps


View solution in original post

3 REPLIES 3
Highlighted
New Member

Re: Error after the use of 'IsBlankOrError : Unable to process binding "style...

https://powerusers.microsoft.com/t5/General-Discussion/Can-no-longer-edit-one-of-my-PowerApps/td-p/2...
Tried this.. it makes it possible to Edit the app and turn the Experimental feature off.

However after then saving, publishing and opening the app in Edit Mode the normal way.. the error returns

Highlighted
Community Support
Community Support

Re: Error on opening app in Edit mode: Unable to process binding "style... | Contract failure: Unspecified

Hi @Pjweij ,

 

By default, when you create an app, the  "Formula-level error management" should be off. I just tested by turing it on and save it, then I am able to reopen it in edit mode successfully. Having all Experimental features sections switches turned off is the baseline and safest way to run your app and this should not break the Play mode.

 

May I know the reason why you need this turn this feature on for this app?

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Error on opening app in Edit mode: Unable to process binding "style... | Contract failure: Unspecified

Hi Mona,

Thanks for your reply, unfortunatly I am unable to tell you. My predecessor who has left the company initially created these apps ans apparantly turned the features on.

Through the weekend I have tried and finally found the cause of the error. The error had nothing to do with a feature and everything with an formule beeing used to determine a Font size. We are using an Config Screen where the default font size is written in a label. Every other label is then pointed to this config label.
Apparantly, some labels had a formula like:
lblFontSize.Size-5
And this broke the entire app, as in the Fontsize UI dropdown, you would see the value  '17-5'  instead of the actual outcome.
Capture.PNG
In my opinion this should not result in beeing unable to Edit the app, but at least we found a solution. We are also unable to reproduce the issue in new apps


View solution in original post

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors