HI there
I have a SharePoint list and a app designed around it.
I am able to create a dropdown in the app and use the Choices(<mySPlist>,<column name>) to get the choices for my dropdown list.
However, I have created a collection specifically for the app using the SPlist. For now the collection is called "testlist"
When I try to use the collection in the choices command / function (in the items() field of the dropdown) it errors. The items field is thus -
Choices(testlist.'Performed by')
I have even tried the column name in list settings (which is Performedby)
Choices(testlist.Performedby)
The error message states "The function choices has some invalid arguments".
I found some community solutions where "Distinct" was used.
It looks like this in the items box
Distinct(testlist.'Performed by')
The error now says
"Expected a different collection record structure. The property on this control expects an aggregate type with a collection of a specific structure. The structures do not match"
I can continue by using the SPlist directly, but would rather use my collection
Any ideas?
Heshan