Power Fx function
Defaults — Power Fx function reference
Get a blank record for a source.
Syntax
powerfx
Defaults( DataSource )
Examples
powerfx
Defaults(Tasks)
→ Empty record
powerfx
UpdateContext({locBlank: Defaults(Tasks)})powerfx
Patch(Tasks, Defaults(Tasks), {Title: "Untitled", Status: "Open"})Common mistakes & gotchas
- Defaults() reflects the data source's own configured defaults (SharePoint column defaults, Dataverse business rules), not just an empty record.
- Calling Defaults() does not create a row by itself — it only produces the seed record you then hand to Patch or Collect.
Related Power Fx functions
From Creating & changing records