Dataverse: Export Import Solution from your command prompt using PowerApps CLI

Powerapps CLI have lots of function to support our daily activities. The most useful to me of course the command "pac plugin init" that automatically creates Plugin Project. Today, we will learn about Authentication and Solution commands to do export-import across the environment. Installing You can find the download link of the PowerApps CLI on this page. Once you have … Continue reading Dataverse: Export Import Solution from your command prompt using PowerApps CLI

Dataverse: Improve Performance using Partition Key

Do you know we can pass the partitionID parameter when doing CRUD to improve performance? The information I got from this documentation link. Today we will prove how what is the difference between using the partitionID and not using it. To collect the data, I'll run below code: using System; using System.Web.Configuration; using Entities; using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; … Continue reading Dataverse: Improve Performance using Partition Key

Dynamics CRM: Proving Auto Number Data Type Is Legit!

I just saw┬áNishant Rana's post about the auto-number data type that you can check here. And to be honest, I just knew about it and felt intrigued to test it. My expectation was pretty low about this data type (to handle lots of requests and result to duplicate numbers in the end). TL;DR (Too Long; … Continue reading Dynamics CRM: Proving Auto Number Data Type Is Legit!

Dataverse: Testing Database Transactions On Custom API

After I examined the potentials of Custom API to redefine how we design the system, I was curious if Custom API will also apply database transactions following the plugin event execution pipeline (Pre Operation - Post Operation will be in the transaction. Meaning if during the process got some errors, it will able to rollback). For example, if we … Continue reading Dataverse: Testing Database Transactions On Custom API

Dynamics CRM Plugin Development: Exploring File and Image DataType

Last week, we learned about File DataType and created Custom API to get the FileName and the Base64String Content. Which I thought is already good enough based on the last knowledge that I knew. But then I saw a post from Daryl Labar about his XrmToolbox EarlyBound Generator improvement around four months ago that said it will generate File attribute … Continue reading Dynamics CRM Plugin Development: Exploring File and Image DataType

Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

Have you got an error request time out in the plugin? If the plugin only contains simple business logic, It will not be hard to catch the problem. But what if you got lots of business logic that updating more than one entity? Today we will create simple extension functions that you can implement to … Continue reading Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

Dataverse DevOps: Create Tool for Auto Deployment for WebResource + PluginAssembly

One of the topics I wanted to learn and cover is how to do DevOps in a Dataverse environment. DevOps for me is an operation/process that helps to ensure smooth delivery from developer to operation (end-user). The idea is to remove all the unnecessary/recursive process and automate it so all the stakeholders can focus on … Continue reading Dataverse DevOps: Create Tool for Auto Deployment for WebResource + PluginAssembly

Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Finally, I found how to call Custom Action from Xrm.WebApi.execute function. The funny thing is, the method has already been in place for a long time. I just realized how to call it after I have the curiosity to get the EnvironmentVariable effectively in Javascript (for calling Custom Web API in Plugin Development, you can refer to this blog … Continue reading Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Dynamics CRM Tips: Get Latest Target Entity Value in Plugin Side

Please Register to this event for learn more! If you are Dynamics CRM Developer, you will agree with me. When creating Dynamics CRM Plugin, you will be thinking there so much repetitive code that you need to apply when you want to do customization. Automatically what will you do is open the existing plugin code, … Continue reading Dynamics CRM Tips: Get Latest Target Entity Value in Plugin Side

Exploration: Dynamics CRM Client Scripting – Xrm.Utility.lookupObjects

Do you know that in Xrm.Utility object now got a nice function called lookupObjects? When we called this function, it will help us open a nice dialog that lets us choose (single or multiple) records and return to us an array of the selected data. We can pass lots of combinations of parameters to make the dialog more … Continue reading Exploration: Dynamics CRM Client Scripting – Xrm.Utility.lookupObjects