
Announcements
Whenever you try to pass a collection of strings to a function, it just passes an empty table.
If you try to define the parameter as `Table("Text")`, it gives you an error:
```
cannot use non-record value in this context power apps custom function
```
I've tried defining the parameter `Table({Value: "text"})`, and then pass in the collection of strings:
```
functions.myFunction(["one", "two", "three"])
```
and this seems to work, but the values for the table are all empty. For instance, if the function is defined as
```
Concat(Params, Value, " and ")
```
the output would be:
```
and and and
```
It would be really useful to be able to pass in actual strings instead of having to rely on a pointless record. This would save a lot of time and produce much cleaner code and be a step towards more composable functions for arrays.
Thank you
Using Table({Value: "text"}) and passing functions.myFunction(["one", "two", "three"]) and the function doing a Concat(Params, Value, " and ") works for me and gives "one and two and three". I tried both calling it within the component and from outside the component and both work as expected.
It appears that from your output it's getting the right number of records in the table at least. Not sure why the Value column would be empty though. What version are you running on?