Hi Folks,
One more crazy question:
Please check the attached image.
I have one list with the form names and a reference to other lists (List Name).
List Structure (DropDown)
Form Name | Description | Web Link | List Name
Each FORM NAME is a Powerapps form I built (see the yellow square on the image).
I populated a Dropdown with that List and now I need to populate the Gallery depending on the form I select on the Dropdown.
So, a column called LIST NAME (text column) is the LIST with all data inserted RED SQUARE.
So that's my problem, I need to dynamically change the Gallery Datasource when I select a different item from the dropdown.
I would say, I need to transform the TEXT column info, into a Gallery DataSource (LIST NAME) depending on the selection.
The GREEN buttons will open the form with the selected record, but this part is ok, working.
Is that clear?
Thanks.
Solved! Go to Solution.
Hi @Anonymous ,
You could not directly convert a text into a list name.
However, you could use If() functon to dynamically change the gallery items property.
1\ I have two lists "LIST83" and "LIST84".
2\ Add a dropdown control 'Dropdown1' and set its Items property to:
Table({Value:"LIST83"},{Value:"LIST84"})
3\ Add a gallery control and set its Items property to:
If(Dropdown1.Selected.Value="LIST83",LIST83,Dropdown1.Selected.Value="LIST84",LIST84)
4\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Hi @Anonymous ,
You could not directly convert a text into a list name.
However, you could use If() functon to dynamically change the gallery items property.
1\ I have two lists "LIST83" and "LIST84".
2\ Add a dropdown control 'Dropdown1' and set its Items property to:
Table({Value:"LIST83"},{Value:"LIST84"})
3\ Add a gallery control and set its Items property to:
If(Dropdown1.Selected.Value="LIST83",LIST83,Dropdown1.Selected.Value="LIST84",LIST84)
4\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Many thanks Wearsky
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
200 | |
96 | |
56 | |
51 | |
42 |
User | Count |
---|---|
263 | |
157 | |
83 | |
80 | |
57 |