I got a request to basically create PCF for Two OptionSet (boolean) with the main purpose is to keep Yes, No, and Null/Empty values. If you get the requirement, making it is not hard. But, usually in the project, we also need to support multi-languages. There's an article from Carl de Souza that explaining about … Continue reading Xrm.Utility.getEntityMetadata to get the localized label
Category: typescript
Model-Driven-Apps: setup deployment Angular files to Dev using spkl
Last week, we already learn how to build Angular WebResources to be shown in the side pane. In that blog post, I deploy all the files manually which of course took time to do. Today, we will learn how to optimize it in order to boost productivity. We will learn how to use spkl and … Continue reading Model-Driven-Apps: setup deployment Angular files to Dev using spkl
Model-Driven-Apps: How to use the side pane to show custom HTML
Today we will learn how to create a custom web resource (HTML) using Angular, and show it in the side pane using Xrm.App.sidePanes.createPane method. The end result will be like the below picture: Without further ado, let's go make the Angular apps! Angular Project Before we begin, I want to give a shoutout to these … Continue reading Model-Driven-Apps: How to use the side pane to show custom HTML
Learn how to deploy web resources with Azure DevOps Pipeline
Before we begin, this topic is similar to what Benedikt Bergmann explains in his blog post. But like always, if I do not yet try it by myself = I do not yet fully understand 😀. The twist will be I will create the web resource project using Dataverse DevTools by Danish Naglekar (TypeScript for … Continue reading Learn how to deploy web resources with Azure DevOps Pipeline
Let’s try Dataverse DevTools to easily create/update WebResource customizations!
Lately, I'm still preparing my presentation for Reactor Indonesia with the topic "Membangun Solusi Low-Code Dengan Power Platform" and when I'm stumbled to create the WebResource, I remembered about Dataverse DevTools by Danish Naglekar that already being installed in my VS Code for so long since he published the tool but I had never tried … Continue reading Let’s try Dataverse DevTools to easily create/update WebResource customizations!
Azure-MSAL: Implement loginRedirect In Angular+Call CRM Action
In this blog post, we learn how to display CRM data into SPA (Vue.js). For that purpose, we are using @azure/msal-browser and calling the loginPopup method whereby as you can see in the demonstration section, it will pop up a form to do the login process. Today, we will learn how to use the loginRedirect method and handle it in Angular. … Continue reading Azure-MSAL: Implement loginRedirect In Angular+Call CRM Action
Exploration: Showing Dynamics CRM Data In Vue.JS (SPA)
Today, I learned how to use MSAL.js 2.0 to do authentication (login) and authorization (checking if the person can access the target resource) to display Dynamics CRM Accounts data in Vue.js. The idea is we want to create a SPA (Single Page Application) that using Vue.js. The user must be login first and then can fetch the Accounts … Continue reading Exploration: Showing Dynamics CRM Data In Vue.JS (SPA)
Dynamics CRM Model-Driven Apps: Implement Niam.Xrm.Client and Niam.Xrm.Client.Test
Now we go to the last part of the tutorial for Front-end Customization. We will implement Niam.Xrm.Client and Niam.Xrm.Client.Tests on the project we set up earlier. Niam.Xrm.Client is a framework wrapper for Xrm object that focuses on make customization easier, while Niam.Xrm.Client.Tests will mainly focus on Xrm.webApi mock objects and testing related helpers. Both packages are in beta versions but … Continue reading Dynamics CRM Model-Driven Apps: Implement Niam.Xrm.Client and Niam.Xrm.Client.Test
Dynamics CRM Model-Driven Apps: Setup Testing Environment with chai, Mocha, xrm-mock, and SinonJS
As Developer, we suppose adapt ourselves to a better working framework or mindset. Following Test-Driven Development (TDD) mindset, for example, enable us to work more effectively in the long run, compare to not using it. Hence making unit tests is has become a crucial part (at least for me), and this post will explain how … Continue reading Dynamics CRM Model-Driven Apps: Setup Testing Environment with chai, Mocha, xrm-mock, and SinonJS
Dynamics CRM Model-Driven Apps: Developing Frontend Code with Typescript, @types/xrm and webpack
First question: Why TypeScript? We know what is JavaScript programming does. Programming language that sometimes leads us to confusion because its too dynamics. While TypeScript as JavaScript superset trying to fix the whole weakness that it can lead us into. TypeScript offers more strict language (data type) and supports IntelliSense which is easier for a … Continue reading Dynamics CRM Model-Driven Apps: Developing Frontend Code with Typescript, @types/xrm and webpack