admin管理员组文章数量:1122846
I have a PowerApps application that has several screens. One of the screens has a gallery called Gallery5 which lets the user select between the following options:
Scheduled meeting Registered Send offer Offer sent
The element that the user selected on this screen should change the value of a Dropdown element on another screen. I tried implementing a solution, but it doesn't work.
My suggested solution is to set the DropdownValue on the screen with the Gallery5 element to what the user selected and then set the default value of the Dropdown2 element to DropdownValue. This is the code that I currently have:
Setting DropdownValue
Setting the default value for the Dropdown2 element
I was expecting that the Dropdown2 element should have its value set to DropdownValue (what the user selected on the first screen). Instead the dropdown appears to be blank.
The line Set(DropdownValue; Gallery5.Selected.Value) should declare and initialize a variable that stores the selected element in Gallery5, and I expect this to be accessible in the screen with the Dropdown2 element (I have a slight suspicion that the variable isn't accessible on both screens)
I have a PowerApps application that has several screens. One of the screens has a gallery called Gallery5 which lets the user select between the following options:
Scheduled meeting Registered Send offer Offer sent
The element that the user selected on this screen should change the value of a Dropdown element on another screen. I tried implementing a solution, but it doesn't work.
My suggested solution is to set the DropdownValue on the screen with the Gallery5 element to what the user selected and then set the default value of the Dropdown2 element to DropdownValue. This is the code that I currently have:
Setting DropdownValue
Setting the default value for the Dropdown2 element
I was expecting that the Dropdown2 element should have its value set to DropdownValue (what the user selected on the first screen). Instead the dropdown appears to be blank.
The line Set(DropdownValue; Gallery5.Selected.Value) should declare and initialize a variable that stores the selected element in Gallery5, and I expect this to be accessible in the screen with the Dropdown2 element (I have a slight suspicion that the variable isn't accessible on both screens)
Share Improve this question asked yesterday AdmirAdmir 12 bronze badges1 Answer
Reset to default 0I suspect you have another line of code setting the DropdownValue
, perhaps on the Oversikt
screen. Try updating your OnSelect
so that the Navigate
line is at the end and not at the start.
本文标签:
版权声明:本文标题:powerapps - Power Apps Setting a variable on one screen doesn't change the value of a dropdown on another screen - Stack 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736281068a1926198.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论