Loading…
Loading…
Microsoft · Dataverse
Dynamics 365 / Power Platform output: Dataverse entity definitions, C# plugins (plugin.cs + audit + state-machine), PCF custom controls in React/TypeScript, Power Automate flows, security roles, and solution packaging.
Every Dynamics 365 app generated by Archiet ships with these baseline pieces. No template-cutting, no placeholder TODOs.
One representative file from a generated Dynamics 365 app. Your generated output will include many more files like this one, customized to the entities and flows in your blueprint.
public class ItemCreatePlugin : IPlugin
{
public void Execute(IServiceProvider serviceProvider)
{
var context = (IPluginExecutionContext)serviceProvider
.GetService(typeof(IPluginExecutionContext));
var factory = (IOrganizationServiceFactory)serviceProvider
.GetService(typeof(IOrganizationServiceFactory));
var svc = factory.CreateOrganizationService(context.UserId);
if (!context.InputParameters.Contains("Target")) return;
var target = (Entity)context.InputParameters["Target"];
target["statuscode"] = new OptionSetValue(1); // Active
target["createdon"] = DateTime.UtcNow;
// Audit
svc.Create(new Entity("archiet_auditlog")
{
["action"] = "item.created",
["entityid"] = target.Id,
});
}
}Pick Dynamics 365 when your customers live in Microsoft Dataverse, or you're extending an existing D365 CRM/ERP. Generates plugins, PCF, and Power Automate artifacts D365 admins expect.