Hi @amko77 ,
Based on the screenshot that you provided, I think you have something wrong with the formula you typed. You have missed some ')' symbol within your fomrula.
Please modify your formula as below:
ClearCollect( AvailableOptions; Choices(TestnaLista.Poslovnica) ); /* <-- You have missed ')' symbol here . The ';' maybe ';;' on your side */
Poslovnica.Value <> Blank();
) /* <-- You have missed ')' symbol here */
Please take a try with above formula, then check if your issue is solved.
Then set the Items property of the ComboBox within the ChoiceList Data card within your Edit form to following:
Thank you very much.
This formula work for me:
ClearCollect( AvailableOptions; Choices(TestnaLista.Poslovnica) );; ForAll( TestnaLista.Poslovnica; If( Poslovnica.Value <> Blank(); Collect(AvailableOptions; Poslovnica.Value) ) )
I can't create the new collection either using this code or collect("nameofthenewcollection"...) it tells me that the collection must already exist, how do i create one to use temporary?
Where did you insert this? in the Onvisible of the screen? I can't create the new collection AvaibleOptions, where and how did you create it?
Could solve that already, but it isn't working for me. The new value does not add to the choices. Could you please explain how to do it? I already set the onvisible property of the screen and the Items value of the convobox.
Check out the on demand sessions that are available now!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021