Dynamics 365 - 创建服务器端脚本
Dynamics 365 - Create Server Side Script
我知道如何加载 JScript 以与 "Form Properties" 中的字段或表单交互。但是,如何加载脚本或代码来处理服务器端?
Writing server side code with Microsoft Dynamics 365
We have two choices for adding server side code into the application,
plugins or custom workflow activities (CWA). These are developed using
assemblies from the 365 SDK. Almost every event – create, update,
assign, and many more – that occurs in 365 starts an event pipeline.
These events can be subscribed to by plugins or workflows. The
workflows can be used to execute CWAs. The plugin or CWA can then be
used edit or change the execution of the event, or perform an entirely
new action.
根据代码的复杂程度,可以将其重写为 CRM 业务规则
You can create business rules and recommendations to apply form logic
without writing JavaScript code or creating plug-ins. Business rules
provide a simple interface to implement and maintain fast-changing and
commonly used rules. They can be applied to Main and Quick Create
forms, and they work in PowerApps apps, Dynamics 365 web apps,
Dynamics 365 for tablets, and Dynamics 365 for Outlook (online or
offline mode).
By combining conditions and actions, you can do any of the following
with business rules:
Set field values
Clear field values
Set field requirement levels
Show or hide fields
Enable or disable fields
Validate data and show error messages
Create business recommendations based on business intelligence.
我知道如何加载 JScript 以与 "Form Properties" 中的字段或表单交互。但是,如何加载脚本或代码来处理服务器端?
Writing server side code with Microsoft Dynamics 365
We have two choices for adding server side code into the application, plugins or custom workflow activities (CWA). These are developed using assemblies from the 365 SDK. Almost every event – create, update, assign, and many more – that occurs in 365 starts an event pipeline. These events can be subscribed to by plugins or workflows. The workflows can be used to execute CWAs. The plugin or CWA can then be used edit or change the execution of the event, or perform an entirely new action.
根据代码的复杂程度,可以将其重写为 CRM 业务规则
You can create business rules and recommendations to apply form logic without writing JavaScript code or creating plug-ins. Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules. They can be applied to Main and Quick Create forms, and they work in PowerApps apps, Dynamics 365 web apps, Dynamics 365 for tablets, and Dynamics 365 for Outlook (online or offline mode).
By combining conditions and actions, you can do any of the following with business rules:
Set field values
Clear field values
Set field requirement levels
Show or hide fields
Enable or disable fields
Validate data and show error messages
Create business recommendations based on business intelligence.