I have initialized my collection and set some data types in the initialization. I can patch to the collection successfully, but when I try to patch the collection to the SharePoint list I am getting a strange error. Per the documentation you can patch a collection item to Blank() as shown below.
See Images below. #1 patch to collection, #2 Collection & #3 Patch to SharePoint list error.
I don't understand why it's seeing Effort and Week ending as a table and am not sure how to correct this.
Solved! Go to Solution.
I don't know. I would like to understand why it's seeing it as a table. It isn't a table and shouldn't be seen that way. Data types are defined in collections all the time.
Example is the ShowSave: true. This identifies this as a true/false and it's not seen as a table, although I am not patching it as blank() in the next step.
If you look at the documentation for Blank, the example shows setting a text value to Blank(). So that shouldn't be the issue.
In your patch you reference colEffort.Effort, as colEffort is a collection it will be seen as a table, where as you should be accessing a record. For example if you did something like First(colEffort).Effort I guess it would accept it.
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