We have a database that is used by powerapps both from my an external software company and myself.
Recently I have a strange problem when I address choice fields of tables made by the software company.
I am working with solutions in a developer and a production environment.
The company was probably a bit in dubio about language choice as in one environment tables and fields have dutch names and in the other english.
When exporting the solution from one environment to the other this poses no problems.
Sometimes however my app is loaded into the editor with 100+ errors on reference to choice fields.
example
If(lRecordDierEvent.Animal.'Animal Species' = 'Animal Species Choices'.Dog
This code has always been fine but suddenly .Dog is erroneous.
If I remove .Dog and type . I get a list of value to choose from the editor. One of them is "Dog".
I pick it and now it's fine, while the end result is just as it was.
Before I change every instance of ".Dog" in my code to ".1/*Dog*/" (since 1 is the integer that is represented by "Dog") to be rid of this nonsense, is there an official way to go that avoids it?
Seems the more fundamental the flaw the less anyone knows what is going on.
Change
'Animal Species Choices'.Dog
to
1/*'Animal Species Choices'.Dog*/
then
Was this reply helpful?YesNo
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.