This comprehensive guide provides a detailed approach to automate the creation of many-to-many (N:N) relationship records in Dynamics 365 using a custom plugin and a JavaScript action. The solution streamlines the association of multiple records through a straightforward interface, making it indispensable in scenarios requiring batch processing or integration tasks.
Safely Handling AliasedValue in Dynamics 365 Plugins
Developing plugins for Dynamics 365 often involves extracting and manipulating data from linked entities using FetchXML. One common challenge in this scenario is handling the AliasedValue
objects that Dynamics 365 returns when querying attributes from these linked entities.
Enhancing Dynamics 365 Plugin Reliability with Specific Exception Logging
When developing plugins for Dynamics 365, handling exceptions robustly and providing clear, actionable error messages can significantly improve the maintenance and usability of your solutions. This article discusses a practical tip for logging specific exceptions to streamline troubleshooting and enhance system reliability.
Optimizing Large-Scale Data Updates in Dynamics 365 with Asynchronous Plugins and Flexible FetchXML
Optimizing Large-Scale Data Updates in Dynamics 365 with Asynchronous Plugins and Flexible FetchXML
Introduction
In Dynamics 365, it's not uncommon to encounter scenarios where vast quantities of records require updates or complex manipulations. Naively processing large volumes in a single operation can strain performance and lead to timeouts. This article presents a strategy to tackle such challenges, emphasizing asynchronous processing, plugin chaining, and flexible FetchXML-driven initiation.
Understanding Relationship Types in Dynamics 365: N:N vs. 1:N & N:1
Understanding Relationship Types in Dynamics 365: N:N vs. 1:N & N:1
When modeling data relationships in Dynamics 365, understanding the distinction between N:N (Many-to-Many) and 1:N & N:1 (One-to-Many & Many-to-One) relationships is crucial. These relationship types serve different purposes and have unique characteristics.
Dynamics 365 Data Retrieval: Comprehensive Guide
Dynamics 365 Data Retrieval: Comprehensive Guide
Retrieving data effectively in Dynamics 365 (D365) is crucial for custom solutions' performance and scalability. This article explores different methods for data retrieval - QueryExpression, FetchXML, RetrieveMultiple, and direct record retrieval, providing complete sample codes for each scenario and a comparative analysis to help choose the right approach for specific needs.
Integrating Client-Side Scripts with Server-Side Plugins in Dynamics 365
Integrating Client-Side Scripts with Server-Side Plugins in Dynamics 365
Introduction
Integrating front-end actions with back-end server plugins in Dynamics 365 allows for robust process automation and enhanced user interaction. This article presents a generalized approach, showcasing a client-side script that triggers a custom action, subsequently invoking a server-side plugin for comprehensive business logic execution.
Pagination Methods in Dynamics 365 Integration: An In-Depth Guide
Pagination Methods in Dynamics 365 Integration: An In-Depth Guide
Introduction
When working with Dynamics 365, especially when integrating it with other systems, you'll often have to retrieve large sets of data. However, due to performance considerations, APIs usually impose a limit on the number of records you can fetch in a single request. This necessitates the use of pagination to get the entire dataset. This guide aims to provide a comprehensive understanding of different pagination methods, their advantages and drawbacks, and how to apply them in Dynamics 365 integration scenarios.
[TIPS] 3 Ways to Filter Subgrid
[TIPS] 3 Ways to Filter Subgrid
- View: Edit Filter Criteria
- JavaScript
- Plugin
- No customization
- Out of the Box feature
- Easier to implement
- For medium complex requirements
- For higher complex requirements
Sample Code:
Use the Microsoft Dataverse Web API
Use the Microsoft Dataverse Web API
Note
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
Call third party webapi from plugin using secure/ unsecure configuration (Sample C# code)
Call third party webapi from plugin using secure/ unsecure configuration (Sample C# code)
Create a note in Dynamics 365 using C# Plugin
Create a note in Dynamics 365
//add a noteWhat's the $ in front of a string in C#?
What's the $ in front of a string in C#?
$
is short-hand for String.Format
and is used with string interpolations, which is a new feature of C# 6. As used in your case, it does nothing, just as string.Format()
would do nothing.
What's the @ in front of a string in C#?
What's the @ in front of a string in C#?
It marks the string as a verbatim string literal - anything in the string that would normally be interpreted as an escape sequence is ignored.
Utilising Pre/Post Entity Images in a Dynamics CRM Plugin
Utilising Pre/Post Entity Images in a Dynamics CRM Plugin
Lets take a closer look at how Pre and Post Images can be implemented as part of a CRM Plugin…
Tutorial: Write and register a plug-in
Tutorial: Write and register a plug-in
This tutorial is the first in a series that will show you how to work with plug-ins.
Sample Workflow Acitivity C# code
Sample Workflow Acitivity C# code
The following sample workflow activity returns the next birthday. Use this in a workflow that sends a birthday greeting to a customer.
Tutorial: Create workflow extension
Tutorial: Create workflow extension
Goal
The example below will create a simple custom workflow activity that may be used in a workflow, dialog, or action process. More information: Configure workflow stages and steps
This custom workflow activity will match the following requirements:
- Accept an decimal input parameter
- Output a value equal to the input parameter plus 10.