Tuesday, January 3, 2023

Create a new row in empty collection in Power Apps

 

Here is a syntax for creating a new row in the existing, empty collection.

Patch (<CollectionName>, defaults(<CollectionName>), {})

Here is an example of creating a new row in the existing, empty collection.

Patch (Users, defaults(Users), {})

Now, the Users collection will have one empty row and this updated User collection can be used to bind Gallery or datatable in Power Apps. 


Happy Coding !




No comments:

Post a Comment