Resolving Metadata Setting Attribute Value Failures in Power Pages

 Introduction

When integrating Power Pages with Dynamics 365, you might encounter an issue where changes to field attributes through Power Pages metadata settings do not reflect due to Dynamics 365 fields being set to read-only. This article provides a straightforward explanation and solution to this common problem.

How to Get the User's Current Location in Dynamics 365 Using JavaScript

 In Dynamics 365, you can use JavaScript to retrieve the user's current geographical location and store it in custom fields on the form. This guide explains how to implement a function that utilizes the browser's geolocation API.

Using JavaScript to Navigate to Google Maps in Dynamics 365

 This guide demonstrates how to use JavaScript in Dynamics 365 to enable navigation buttons that open Google Maps with predefined locations.

How to Limit the Maximum Number of Records in a D365 View (Top N) Using a Plugin

 Requirement

We need to limit how many records a Dynamics 365 (D365) view returns. Since there’s no out-of-box (OOB) way to do this, we introduced a custom column dsl_topn. This column holds the “Top N” value we want. A plugin then intercepts the FetchXML query and injects the <fetch top="N"/> attribute, removing any conflicting paging attributes in the process.

Merging Word Documents in Dynamics 365 Using Only Built-In Features

 Below is a straightforward approach to merge two Word documents in Dynamics 365—without resorting to third-party paid connectors or extensions. By leveraging a custom Action, a Power Automate flow, and a plugin with OpenXML (embedded via ILRepack), you can seamlessly combine Word files and store the merged result, all in one out-of-the-box solution.