Posts

Showing posts from May, 2024

Plugin Registration Tool: Configuring Secure Configuration and Unsecure Configuration Settings

Image
The Plugin Registration Tool’s ability to configure Secure and Unsecure Configuration settings provides a powerful and flexible mechanism to manage plugin behavior and settings. Leveraging these configurations enhances security, maintainability, and adaptability of your Dynamics 365 CE plugins, making it easier to manage and deploy across various environments with different requirements. The Microsoft Dynamics 365 platform supports an optional plug-in constructor that can accept either one or two string parameters. By writing a constructor in this manner, we can pass any strings of information to the plug-in at runtime.  Secure Configuration vs. Unsecure Configuration Secure Configuration and Unsecure Configuration are ways to pass custom settings to plugin: Unsecure Configuration: This data is stored in plain text and can be accessed by any user who has access to the plugin registration tool. It is suitable for non-sensitive data that does not require confidentiality. Secure Conf...

Prototyping vs Proof of Concept (POC) in Software Development

Image
In Agile development, both prototyping and proof of concept (POC) are important techniques used to validate ideas, explore feasibility, and mitigate risks. They serve different purposes and are used at different stages of the development process. Prototyping Definition: Prototyping is the process of creating an early, simplified version of a product to explore its functionality, design, and user interactions. The prototype can range from low-fidelity sketches and wireframes to high-fidelity interactive models. Purpose: - To validate design and usability. - To gather feedback from stakeholders and users early in the development process. - To iterate quickly on design ideas before committing to full development. Types of Prototypes: 1. Low-Fidelity Prototypes: Basic sketches, paper models, or wireframes that focus on layout and navigation rather than detailed design. 2. High-Fidelity Prototypes: Interactive models that closely resemble the final product in terms of design and functionali...

CS1061 'IPluginExContext' could be found (are you missing a using directive or an assembly reference?ecutionContext' does not contain a definition for 'OrganizationService' and no accessible extension method 'OrganizationService' accepting a first argument of type 'IPluginExecution

Image
  CS1061 'IPluginExContext' could be found (are you missing a using directive or an assembly reference?ecutionContext' does not contain a definition for 'OrganizationService' and no accessible extension method 'OrganizationService' accepting a first argument of type 'IPluginExecution Resolution: It seems there's an issue with accessing the `OrganizationService` property in the `IPluginExecutionContext` interface. This could be due to the incorrect type being used or a missing assembly reference. To resolve this issue, make sure you are using the correct type for the `IPluginExecutionContext` interface, and ensure that the necessary assemblies are referenced in your project. Additionally, ensure that the plugin class implements the `IPlugin` interface correctly. Here's a corrected version of the method with the assumption that you are using the correct `IPluginExecutionContext` interface: ```csharp using Microsoft.Xrm.Sdk; using Microsoft.Xrm.S...