cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ToddM1
Level: Powered On

Suddenly entire Screen broken - Invalid use of "."

I left last night and my App was working perfectly in Preview mode.  Arrived this morning with 47 errors with most of them being invalid use of "." 

 

For example the code is:  

  • CurrentUserType="Admin"&& MaDSProj_Filter.SelectedText.Value = "Filter by Change Request"
  • PowerApps is requesting that I remove the .SelectedText.Value in order to make the formula correct.  

 

  • ColorFade(MaDS_ProjStageFilterDropDown.BorderColor, 15%)
  • PowerApps is stating that "ColorFade has some invalid arguments".  It is the same command that works on every other screen and that worked yesterday when I left the office.

 

This is not the first time that this has happened.  I am hoping not to restore from yesterday morning and recreating the code because, of course, there is no way to print or view the code easily in PowerApps along with all of the setting associated with each variable, label or gallery.

 

My build is PowerApps release 3.19081.26

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: Suddenly entire Screen broken - Invalid use of "."

Hi @ToddM1 

 

check to see if the dropdonw with that name exists

you can use the search option on the left side panel to check

if it does not or if there is one that already exists - rename it to match the name being used in formulas

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

4 REPLIES 4
RezaDorrani
Level 10

Re: Suddenly entire Screen broken - Invalid use of "."

Hi @ToddM1 

 

since all the erros are  related to that dropdown - has that dropdown been accidently deleted or has something on the datasource related to that dropdown changed?

ToddM1
Level: Powered On

Re: Suddenly entire Screen broken - Invalid use of "."

No changes to the form or to the datasource.  Just 48 red x's (Errors).  The majority of them are on DropDown items, but on properties like PressedBorderColor, HoverBorderColor, or the Visible property.

 

I think in the past, I have deleted the DropDown and just rebuilt it throughout the app.  I'm hoping to find a root cause so that I can avoid it in the future.  Especially as we start incorporating PowerApps more into our business operations.

RezaDorrani
Level 10

Re: Suddenly entire Screen broken - Invalid use of "."

Hi @ToddM1 

 

check to see if the dropdonw with that name exists

you can use the search option on the left side panel to check

if it does not or if there is one that already exists - rename it to match the name being used in formulas

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

ToddM1
Level: Powered On

Re: Suddenly entire Screen broken - Invalid use of "."

Hi @RezaDorrani ,

 

Thanks for your assistance.  I followed your advice and verified that the name existed.  Everywhere that the names were referenced, it was throwing the errors.

 

It looked like somehow there were three dropdown list that somehow went haywire.  My solution was to copy dropdown list and then substitute the new variable name into all the formulas where they were called (fortunately all on the same screen). I then deleted the original variable.

 

Back to zero errors.Smiley Happy

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 52 members 4,388 guests
Please welcome our newest community members: