Hello,
I recently went back to Dataverse Accelerator in order to code a simple automated plugin (when a record is created in one table, create a new record in another table).
Here is a simplified code juste for creating a record with the value 1 in the numeric column:
Collect(
[@Tables],
{
NameOfTheColumn:1
}
)
When I try to save the plugin, I got two messages:
-one saying the plugin was successfully saved (it's not)
-one telling "An unexpected error occured while creating FxExpression" and some stuff about unexpected characters and formula containing error
I tried to simplified the code and update Dataverse Accelerator but it crashes all the time.
Few months ago, more complexe codes were running smoothly...
Any clues? Microsoft pages, Copilot and google forfeits to help
Patch is for canva apps, not Power Fx plugins (or just to update existing records, not for creating new ones).
The documentation suggests to use Patch and Collect:
@EtienneV Try to use Patch to create or update records