Latest posts

  • Dynamics 365 – How to Open Forms and Views with a URL | Xrm.Navigation.navigateTo

    Dynamics 365 enables the use of URLs to open specific actions or data. Constructing the URL involves parameters like app, pagetype, etn, id, and extraqs. It’s important to use appropriate methods when opening forms programmatically. Customizing the application navigation using the site map requires careful handling to avoid unexpected outcomes. Read more

  • Dynamics 365 – How to call a function on form save

    This post explains the save event in Dynamics 365 CRM, its importance, and how to add custom logic using the formContext.data.entity.addOnSave() method. It discusses a use case for validating fields before saving a record and provides a code example. Customizing the onSave function offers developers the opportunity to enforce business rules and enhance Dynamics 365. Read more

  • How and When to Force React Re-Render

    React provides a powerful mechanism called “rerendering” to update user interfaces based on component state, props, or context. There are scenarios where you need to force rerenders, such as external event changes, performance optimization, and third-party integration. Practical use cases include dynamic UI updates, conditional rendering, and animation effects, which can be achieved through code… Read more

  • Asynchronous Programming in JavaScript – Callbacks, Promises, & Async/Await Examples

    Asynchronous programming in JavaScript is crucial for tasks with variable completion times. While callbacks were traditionally used, Promises and async/await now offer more elegant solutions. Promises provide better readability and error handling, while async/await makes code appear synchronous for improved maintainability. Understanding these techniques is essential for efficient JavaScript coding. Read more

  • Parsing JSON in C#

    JSON is commonly used in C# for data interchange. The Newtonsoft.Json library offers a simple API for parsing JSON data into C# objects. Alternatively, System.Text.Json in .NET Core 3.0 provides built-in support. Choose the method that suits your project’s needs for robust JSON parsing in C#. Read more

  • Formatting DateTime in C#

    This post delves into C# programming’s DateTime formatting tools, including ToString() method, String.Format(), culture-specific formatting, and composite formatting. Whether preferring simplicity, flexibility, or multi-culture support, C# offers diverse options for formatting dates and times. The exploration encourages experimentation to find the optimal approach for specific requirements. Read more