Dynamics 365 OOB Command Actions: A Detailed Exploration

 

Dynamics 365 OOB Command Actions: A Detailed Exploration

Introduction

Out-of-the-Box (OOB) Command Actions in Microsoft Dynamics 365 offer a range of functionalities designed to facilitate various business processes. In this article, we delve into some of the key OOB Command Actions, providing detailed descriptions, typical usages, and practical examples for each.


Comprehensive List of OOB Command Actions

1. AddToQueue

Description:
Moves an entity record into a queue.

Usage:
Often used in customer service scenarios for triaging and categorizing incoming cases.

Examples:

  • Moving high-priority customer service cases into a special queue for rapid resolution.

2. AddUserToRecordTeam

Description:
Adds a user to the access team of a specific record.

Usage:
Primarily used for facilitating collaboration on specific records.

Examples:

  • Adding a sales executive to an opportunity record for closer collaboration.

3. ApplyRoutingRule

Description:
Applies a routing rule to an entity record.

Usage:
Typically used in customer service settings to assign cases to specific queues based on attributes like priority, type, or service level.

Examples:

  • Routing cases related to a specific product line to the product team's queue.

4. CalculateActualValue

Description:
Calculates the actual value of an entity record, typically used for financial records like Opportunities.

Usage:
Used to re-calculate the actual financial value of an entity based on various criteria.

Examples:

  • Re-calculating an opportunity's value after adding additional line items or applying discounts.

5. CloseOpportunity

Description:
Changes the status of an Opportunity to "Won" or "Lost."

Usage:
Used in sales pipelines to formally close out opportunities.

Examples:

  • Marking an opportunity as "Won" after receiving a signed contract from the customer.

6. Fulfill

Description:
Completes a Sales Order, transitioning it to a "Fulfilled" status.

Usage:
Used in order processing and management.

Examples:

  • Changing the status of a sales order to "Fulfilled" after confirming shipment of the products.

7. GetQuoteProductFromOpportunity

Description:
Generates Quote Products based on an existing Opportunity.

Usage:
Used in the sales process to convert opportunities into quotes.

Examples:

  • Auto-generating a quote with all the products and services listed in an opportunity.

8. GetSalesOrderProductFromOpportunity

Description:
Generates Sales Order Products from an Opportunity.

Usage:
Often used to automate the transition from a closed-won opportunity to the creation of a sales order.

Examples:

  • Creating a sales order with all the line items listed in a closed-won opportunity.

9. LockInvoicePricing

Description:
Locks the pricing on an Invoice, making it uneditable.

Usage:
Used for financial compliance and to prevent unauthorized changes.

Examples:

  • Locking the pricing on an invoice once it has been approved and sent to the customer.

10. LockSalesOrderPricing

Description:
Locks the pricing on a Sales Order.

Usage:
Used to ensure pricing consistency and compliance after receiving customer approval.

Examples:

  • Locking pricing on a sales order after contractual agreement.

11. QualifyLead

Description:
Converts a Lead into an Opportunity, Contact, and/or Account.

Usage:
Used in sales and marketing to move a lead to the next stage of the customer journey.

Examples:

  • Converting a lead to an opportunity after they have shown a strong interest in a product or service during a discovery call.

12. RemoveUserFromRecordTeam

Description:
Removes a user from the access team of a specific record.

Usage:
Used to restrict access to records when necessary.

Examples:

  • Removing a user from an opportunity record when they move to a different department or leave the company.

13. ResolveIncident

Description:
Closes an Incident (or Case) record as "Resolved."

Usage:
Used in customer service workflows to close cases that have been satisfactorily resolved.

Examples:

  • Marking a customer support case as "Resolved" after successfully troubleshooting an issue.

14. ResolveQuote

Description:
Changes the status of a Quote to "Accepted" or "Declined."

Usage:
Used to formalize the outcome of a quoting process.

Examples:

  • Changing a quote status to "Accepted" after receiving customer approval.

15. Revise

Description:
Reverts a closed Quote back to an "Active" or editable state.

Usage:
Used to make changes to quotes that have already been closed.

Examples:

  • Re-opening a quote to add additional line items before re-submitting to the customer for approval.

16. SetWordTemplate

Description:
Applies a pre-defined Word template to an entity record to generate a document.

Usage:
Used to automate document creation in various business processes.

Examples:

  • Generating a contract document by applying a Word template to an Account entity.

Conclusion

Understanding and effectively using OOB Command Actions in Dynamics 365 can significantly streamline your business processes. These actions are integral components that can be invoked through workflows, custom code, or Power Automate flows, enabling greater automation and efficiency.

Understanding the Differences Between Subgrid and Quick View in Dynamics 365

 

Understanding the Differences Between Subgrid and Quick View in Dynamics 365

Introduction

Dynamics 365 provides multiple ways to display related records on an entity form, notably through the use of Subgrid and Quick View forms. While they both offer a way to visualize related data, they come with different features and limitations. Below is a comparison table and a revised scenario to better illustrate their differences.

[TIP] Conditionally Displaying Actions in Power Apps Portal Lists

 

Conditionally Displaying Actions in Power Apps Portal Lists

Introduction

In Power Apps Portals, displaying list actions like "Edit," "Delete," or custom actions conditionally can be a crucial requirement. The need for conditional display often arises based on specific attributes or states of the data being displayed. In this article, we will explore how you can conditionally show or hide actions on lists in Power Apps Portals.

[TIP] Automating Data Transfer from Subgrid Rows to a Power Apps Portal Form

Automating Data Transfer from Subgrid Rows to a Power Apps Portal Form

Introduction

In this article, we'll explore a scenario where we need to extract data from a subgrid within a Power Apps Portal and populate it into a field on a form. To accomplish this, we'll create a JavaScript function triggered by a custom button within the subgrid. This functionality can be particularly useful when you want to streamline data entry or improve user experience on your portal.

[TIP] Clearing Field Values in Power Apps Portal Using JavaScript

 

Clearing Field Values in Power Apps Portal Using JavaScript

Introduction

In Power Apps Portal, it's common to require field changes based on user interactions. For read-only fields, traditional change events might not be effective. However, we can leverage JavaScript to capture button clicks and execute actions accordingly. In this article, we'll show you how to create a JavaScript template to clear field values when specific buttons are clicked.

Understanding Marketing: Events, Lists, and Campaigns

Understanding Marketing: Events, Lists, and Campaigns

Marketing is a multifaceted discipline that encompasses a variety of strategies and tactics to engage with customers and drive business growth. Among these strategies are event marketing, marketing lists, and campaigns. Each serves a unique purpose and, when used in conjunction, can create a comprehensive and effective marketing strategy.

[TIP] Adjusting the Pop-up Window Size in Power Apps Portal / Power Pages


Adjusting the Pop-up Window Size in Power Apps Portal / Power Pages

Introduction

Power Apps Portal, often integrated into Power Pages, is a low-code platform for building responsive websites that can interact with Dynamics 365 backends. Pop-up windows, also known as modals, are a crucial part of user interaction in these portals. However, the default sizes of these windows might not be suitable for all types of content. This article aims to provide in-depth guidance on customizing the size of pop-up windows in Power Apps Portal using two methods: CSS (Cascading Style Sheets) and JavaScript, leveraging jQuery.

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.

Hiding a Button Based on Row Count in Subgrid for Power Apps Portal

Hiding a Button Based on Row Count in Subgrid for Power Apps Portal

Introduction

The ability to display or hide buttons based on the number of rows in a subgrid can be quite a useful feature in Power Apps Portal. This article will elaborate on two scenarios:

  • When the button redirects to a webpage
  • When the button targets a basic form

We will also introduce a reusable function checkSubgridAndHideButton that can be used for any subgrid and button.

[TIP] Filtering Subgrid Data in Dynamics 365 Portal Using JavaScript

 

Filtering Subgrid Data in Dynamics 365 Portal Using JavaScript

Introduction

In this blog, we'll explore a hands-on approach to filtering subgrid data in the Dynamics 365 Portal using JavaScript. While server-side plugins and client-side plugins offer solutions to similar challenges, sometimes a JavaScript-only solution is necessary due to limitations or specific project needs.

[Sample Code] Google Places API integrate with Microsoft Dynamics 365

 [Sample Code] Google Places API integrate with Microsoft Dynamics 365 

Understanding Promise Constructors in JavaScript

Understanding Promise Constructors in JavaScript

Introduction

JavaScript's asynchronous programming is often associated with callbacks and the "callback hell." However, with the introduction of Promises, managing asynchronous operations became more straightforward and more readable. A Promise in JavaScript represents a value that may not be available yet but will be resolved at some point in the future. In this post, we'll dive into the concept of Promises, understanding their states, usage, and how to handle different outcomes.

Dataverse REST Builder


Dataverse REST Builder


Create and Execute requests against the Dataverse Web API endpoint.
Dataverse REST Builder allows to create and execute requests against the Dataverse Web API endpoint. After obtaining the token from the authentication process (a Dataverse instance is required and a URL must be provided) the tool is loaded and a new collection of requests can be created.

Sorting an Array of JavaScript Objects by Date

 Sorting an Array of JavaScript Objects by Date

In JavaScript, arrays are one of the most common data structures you will work with, and from time to time, you might find the need to sort them. The Array.prototype.sort() method is the built-in JavaScript function that helps us sort the elements of an array. By default, this function sorts arrays lexicographically (alphabetically) based on the string conversion of each element.

However, what if we want to sort an array of objects based on a date field? Let's take an array of alert objects for example, where each alert object has a createdon field representing the date it was created. We can utilize the sort() method and provide a custom comparator function to sort these objects.

Understanding JavaScript Objects: Adding and Accessing Dynamic Properties

 

Understanding JavaScript Objects: Adding and Accessing Dynamic Properties

JavaScript is a dynamic language, and one of its most versatile features is the ability to deal with objects. In this post, we will delve into the specifics of how we can dynamically add and access properties in a JavaScript object.

Customize Main Form Button in Model-driven App Using Ribbon Workbench

 

Customize Main Form Button in Model-driven App Using Ribbon Workbench

Sample JavaScript Code:

Custom Subgrid Button in Model-driven App Using Power Platform OOB + JavaScript + Power Automate

 Custom Subgrid Button in Model-driven App Using Power Platform OOB + JavaScript + Power Automate

JavaScript Sample Code:

Display rule - ValueRule introduction

 Display rule in Ribbon Workbench - show or hide a ribbon button based on the value of a field on the record. 

Administration mode for a Microsoft Dynamics 365 (D365) environment

 Administration mode for a Microsoft Dynamics 365 (D365) environment

[TIP] How to rename the column name in subgrid of Power Pages/Power Apps Portal

 [TIP] How to rename the column name in subgrid of Power Pages/Power Apps Portal

In Power Pages/Power Apps Portal, sometimes we may need to change the column names in the subgrid.