cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fuku-Shima
Frequent Visitor

Component properties cannot be referenced

Component properties cannot be referenced

To place the component in the center of the screen, we set the properties of the component instance as follows

X = (Parent.Width - Self.Width)/2
Width = App.DesignWidth

 

However, in a recently published app, the Self.Width given to X gives an error and (Parent.Width - Self.Width)/2 is not what I expected.
The Width setting reflects the value of App.DesignWidth without any problem.

 

This symptom occurs when you actually use the application, and it is displayed correctly on the editing screen.
Also, the component placed on the HOME screen that opens first seems to be able to reference the Self.

 

Note that this component is not a library component, but a component created in the application.

The version of Power Apps in which this symptom has been confirmed is 3.21085.14.
We have confirmed that this symptom does not occur in apps with Power Apps version 3.21081.49.

 

Is this a bug in the Power Apps version?
Or is it a result of a recent specification change?

 

Any advice or information you can share would be appreciated.
Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Fuku-Shima
Frequent Visitor

This symptom is no longer reproduced since version 3.21091.XX.
It seems to have been a bug in Power Apps.

View solution in original post

1 REPLY 1
Fuku-Shima
Frequent Visitor

This symptom is no longer reproduced since version 3.21091.XX.
It seems to have been a bug in Power Apps.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,106)