2017.08.23 | maintaining-dynamics-365/

Customize Dynamics 365 web resources and processes

Author:Takafumi Noguchi

linkedIn

In the previous article, we talked about “entities” and “option sets” rather than system customization. What other customizations can be done?

In this article, I will provide an overview of web resources, processes, dashboards, and reports.

Web Resources

Web resources can be used to create HTML files, Javascript, CSS, XML and Silverlight applications, as well as image files such as icons for Dynamics 365. The content you create with web resources can be used in forms, sitemaps, etc. for each entity.

In fact, let’s open the Create New screen.

In Dynamics 365, when you create a custom web resource or field, the name will always be prefixed with “new_”. In Dynamics 365, when you create a custom web resource or field, you must prefix the name with “new_”. As shown in the following screenshot, the types of content that can be registered as web resources are fixed. (*)

(*) Type of content
Web pages (HTML): .htm, .html
Style sheet (CSS): .css
Script (JScript): .js
Data (XML): .xml
Image (PNG): .png
Image (JPG): .jpg
Image (GIF): .gif
Silverlight (XAP): .xap
Style sheets (XSL): .xsl, .xslt
Image (ICO): .ico

As a limitation, there are no other contents that can be created with Web resources other than the above, and ASP.NET (.aspx) pages cannot be registered. In addition, the maximum size of files that can be uploaded is set to 5MB by default. For more details, please refer to the following reference information.

Size limit

MaxUploadFileSize property determines the maximum file size that can be uploaded. This property is set in the Dynamics 365 application under System Settings, Email tab. This setting limits the size of files that can be attached to email messages, notes, and web resources. The default setting is 5 MB.
Quotes from: Microsoft Dynamics 365 Web Resources

For example, if you want to use JavaScript registered in a web resource in a form, you can set the form properties to execute JavaScript on the entire form.

Add the JavaScript created in the Web resource to the form library in the Events tab.

Once the JavaScript has been added to the form library, configure the functions and events in the event handler.

We will be discussing this setting in another article.

Process

Dynamics 365 processes can be used to model business methods.

The methods that can be set in the process are as follows

  • Workflow: Model and automate your business processes. Processes can be configured to run in the background or in real time when a field is created, modified, or deleted.
  • Actions: You can perform operations that are not standard in Dynamics 365 or combine multiple operations.
  • Business Process Flow: Creates a visualization of a business process flow. A business process flow that is created for a sales project by default can be custom created for another entity.
  • Dialog: Create a step-by-step data entry form that prompts for user input.

We will discuss how to set up each of these in the future.

Reference: Process category in Dynamics 365

dashboard

The first screen that opens when you open Dynamics 365 is the Dashboard. By using dashboards, you can visualize sales data and the effects of marketing initiatives. There are several dashboards that are provided by default, and you can edit them or create new ones.

Report

As with dashboards, you can also create reports that are used to analyze your data; Dynamics 365 allows you to leverage dashboards, reports, and Power BI for Office 365 to analyze your data.

Reference: Dynamics 365 Reporting and Analysis

There are many other customizations that can be achieved in the system, but we will be discussing them in a future article.

Dynamics 365 Blog / maintaining-dynamics-365 /customize-web-resource-process

Those who read this article have read other articles like this.

Popular articles