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.

[TIP] Workaround for Multi-Select Parameters in SSRS for Dynamics 365

 Workaround for Multi-Select Parameters in SSRS for Dynamics 365

Education accelerator

Education accelerator

How to Change Logo of Power Apps Portal (or Power Pages)

 How to Change Logo of Power Apps Portal (or Power Pages)

How to convert UTC time to Local time in Dynamics 365 using JavaScript

 How to convert UTC time to Local time in Dynamics 365 using JavaScript