I would like to be able to delete a collection explicitly in a Power App script. This would permit me to be able to "reset" a collection easily during development, and to remove a collection after it had served its purpose.
A call such as DeleteCollection(collectionName) or DropCollection(collectionName) would be useful. This call would apply to in-application collections only. Calling this function on a SharePoint List, or other persistent store should result in an error.
The return type of the function should be a Boolean value with true indicating that the collection had been deleted. Further references to a Deleted collection would cause error conditions to be raised.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.