Showing posts with label Dynamics 365. Show all posts
Showing posts with label Dynamics 365. Show all posts

Two Approaches to Make a Lookup Column Read-Only While Retaining Programmatic Updates In Power Pages (Powerapps Portal)

 In certain scenarios, you may want to present a lookup field on a form as if it were read-only, while still allowing scripts to programmatically set or update its value behind the scenes. Here are two methods to achieve this without disabling the field entirely, thus preserving your ability to set its value via code:

How to Remove Hyperlinks from the First Column of an Entity List in Power Pages

 Background

In Power Pages (formerly known as Power Apps portals), Entity Lists often present clickable hyperlinks on the first column. While this is convenient for navigation to detailed records, sometimes you might want to display this information as plain text instead. For example, you may have a “Case Number” or “Grievance Number” column that you want visible, but not clickable.

Passing Parameters from Dynamics 365 Main Form to an HTML Web Resource

 This guide explains how to pass parameters from a Dynamics 365 main form to an HTML web resource by enabling a built-in feature and retrieving the parameters dynamically in your HTML.

Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed

 When I installed Microsoft Dynamics 365 Report Authoring Extension, got error: Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed. 
I followed below solution and resolved the issue.

Automating Web Role Assignments in Dynamics 365 with a Custom Plugin

Purpose of the Plugin

The plugin aims to streamline the user management process by automatically assigning a default web role to every new contact created in Dynamics 365. This is particularly useful in environments where new contacts need immediate and predefined access to certain parts of the system, ensuring they have the necessary permissions from the start.

Setting Up Complex Conditions for Tablix Filters in SSRS

Scenario

Imagine you need a report to display records based on a casemanager field that might contain null values or specific identifiers. The report should show records where the casemanager field is either unset (null) or matches any of the identifiers selected by the user from a multi-value parameter.

How to enable / disable Audit feature In Dynamics 365

 The Dataverse auditing feature is designed to meet the external and internal auditing, compliance, security, and governance policies that are common to many enterprises. Dataverse auditing logs changes that are made to customer records in an environment with a Dataverse database. Dataverse auditing also logs user access through an app or through the SDK in an environment.

Record Creation for N:N Relationships in Dynamics 365 with JavaScript and Custom Plugins

 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.

How to Apply Views or Filters to Buttons on a Subgrid in Dynamics 365

 In Dynamics 365, subgrids are an essential feature that provide users with the ability to interact with related data directly from a form. In some scenarios, you may need to enhance the default functionality of subgrid buttons, such as the "Add Existing" or custom action buttons, by applying specific views or filters to control the data shown to users. This guide will walk you through the process of dynamically applying views or filters to buttons on a subgrid, providing an improved user experience.

Checking User Roles in Dynamics 365: Two Approaches

In Dynamics 365, there are multiple ways to determine if a user has a specific role. This is particularly useful for controlling access to certain features or areas of the system. In this article, we'll explore two primary methods to check user roles:
  1. Using Client-Side API (userSettings.roles)
  2. Using a Web API FetchXML Query

How to Format Dates in SSRS Using Custom Expressions

 In SQL Server Reporting Services (SSRS), customizing the date format is essential for improving the readability of reports. SSRS provides the Format() function, which allows for flexible formatting of date fields to meet different reporting requirements.

Filtering the Customer Column in Dynamics 365 to Display Only Accounts or Contacts

 In Microsoft Dynamics 365, the customerid lookup field can reference multiple entity types, typically Accounts and Contacts. To simplify the user interface or meet specific business needs, you may want to restrict this lookup to show only one type. Below is a straightforward approach using JavaScript to configure the customerid lookup to display either only Accounts or only Contacts.

Leveraging JavaScript for onSave and addOnPostSave Events in Dynamics 365 CRM

 When customizing forms in Microsoft Dynamics 365 CRM, JavaScript provides powerful capabilities to control data processing and user interactions. Key among these capabilities are the client-side events onSave and addOnPostSave. Each plays a vital role in managing the lifecycle of form data submissions. This article delves into how these JavaScript events can be used to fine-tune the behavior of Dynamics forms.

Customizing Form Titles Dynamically on New Records in Dynamics 365

 

The objective is to alter the form title dynamically to reflect changes in a field's selected option, such as a product category, when a new product record is being created. This customization provides users with immediate visual feedback that they are creating the correct type of record.

How to Disable Multi-Factor Authentication (MFA) and Avoid Annoying Additional Authentications

Multi-Factor Authentication (MFA) can sometimes become an extra hurdle for users who prefer simplified access to their accounts. Here's how you can disable MFA in Microsoft Entra ID and Microsoft 365 Admin Center, allowing users to avoid any additional authentications beyond their password.

Accessing Classic Advanced Settings in Dynamics 365

 If you need to access the Classic Advanced Settings in Dynamics 365, you can do so easily by using a direct URL. This is useful when you want to manage settings in the classic interface.

Understanding Tax Calculation in Dynamics 365 Sales: The Essentials

 In Dynamics 365 Sales, managing tax calculations for Quotes and Orders can sometimes be less intuitive than expected. It's essential to understand how taxes are applied at both the Quote/Order Product level and the overall Quote/Order level, especially when discounts are involved. Below, we'll break down a few key points that can help clarify the system's behavior and implications for your customizations.

Setting Up a Formula-Type Calculated Column for Local Midnight Time (12:00:00 AM)

 In global data management, accurately capturing the start of the local day is crucial but challenging with standard functions like UTCNow() or Now(). These functions return the current UTC timestamp, which doesn’t always align with the local date. For instance, if UTCNow() shows "10-10 2:50 AM," this might actually be "10-9 7:50 PM" in Pacific Time, meaning the local date is still "10-9."

ActivityParty in Email Message

 An activity party represents a person or group associated with an activity. An activity can have multiple activity parties.

Resolve In-App Notification Visibility Issues: Setting Security Roles for Notifications


Understanding the Issue

System administrators may initially find that they are the only users who can view in-app notifications. When other users attempt to access the notification center, they might encounter issues such as the notifications not being visible or the notification center continuously loading without displaying any content.