Programming languages in Dynamics 365 Custom Development

Key takeaways

  • For: Developers choosing tools for Dynamics 365 customization.
  • Key point: Map server-side code, client-side interfaces and workflow automation to the languages and tools discussed.
  • Scope / notes: Use the article as an overview; verify supported APIs and tooling for your target component.
Dynamics 365 CRM

in Dynamics 365 Custom Development, different programming languages are used based on the type of customization. Below is a breakdown of commonly used languages.

Server-Side Development (Backend)

Customization TypePrimary Language(s)Description
PluginsC# (.NET)Runs on Dataverse events (Create, Update, Delete). Used for automation and business logic execution.
Custom API (OData, REST API)C# (.NET), JavaScript, PythonExposes custom endpoints for integrations with external applications.
Azure Functions / Logic AppsC# (.NET), JavaScript (Node.js), Python, PowerShellUsed for complex server-side processing and external integrations (ERP, AI, Automation).
Virtual Entities (External Data Access)C# (.NET), SQL QueriesRetrieves real-time external data without storing it in Dataverse.

Client-Side Development (Frontend)

Customization TypePrimary Language(s)Description
JavaScript CustomizationJavaScript (ES6+), TypeScriptUsed for form validations, UI logic, API calls within Model-Driven Apps.
Web Resources (HTML, CSS, JS, XML)HTML, CSS, JavaScript, TypeScriptCustom UI elements and scripts embedded in Dynamics 365.
PCF (PowerApps Component Framework)TypeScript, JavaScript (React, Fluent UI)Custom interactive UI components that replace standard controls.
Embedded Canvas AppsPower FX, JavaScriptUsed for no-code UI extensions, integrating external data into model-driven apps.

Workflow & Automation

Customization TypePrimary Language(s)Description
Power Automate (Flow)No-code/Low-code, JavaScript (for expressions)Automates business workflows (approvals, email notifications, data sync).
Business RulesNo-code (Declarative UI-based logic)Enables basic validation and field automation inside Model-Driven Apps.

Summary

Most Commonly Used Languages in Dynamics 365

  1. C# (.NET) :Server-side logic (Plugins, Custom APIs, Azure Functions).
  2. JavaScript / TypeScript :Client-side UI customization (Forms, Web Resources, PCF).
  3. Power FX : No-code logic for Canvas Apps and Power Automate expressions.
  4. Python / PowerShell : Occasionally used in Azure Functions and external automation.

Choosing the Right Language

  • If server-side automation → C# (.NET)
  • If client-side customization → JavaScript / TypeScript
  • If custom UI → PCF (TypeScript, React)
  • If no-code workflows → Power Automate (Power FX)

コメント

タイトルとURLをコピーしました