I am creating an app where one of my teammates can click a project and view or add open action items. I am having trouble passing the "Project" and "Sub Project" values to the drop downs in the New Form. My data source is a SharePoint list and the drop downs read as Choices([@'SharepointList'].Projects).
How do I pass the values from the previous gallery into those drop downs?
Put this code in the Text property of a label as a Test and see if the value selected on the previous screen is showing.
If the above code works, put this code into the Default property and it should work.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
You can set a variable OnVisible of the Screen:
Then in your droddown Default put: MyItem
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
I'm aware it is not a label. I simply recommended you put it in a label to test and make sure the value is coming through.
Then you can apply the code I supplied to the dropdown.
It is showing in the label, but it will only show for the first gallery. So basically I have two sharepoint lists and the value i'm trying to pass is a lookup value in list 2 from list 1. The first gallery is connected to sharepoint list 1 and the second gallery is connected to sharepoint list 2.
Yea. So there is a bigger issue. The gallery isn't filtering for whatever reason and thus will not pass the value. The 1st Gallery is one sharepoint list and the 2nd gallery is another. I'm trying to filter the 2nd Gallery based on a selected value in the 2nd sharepoint list that is a look up column.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.
We are excited to announce a new way to share your ideas for Power Apps!