dynamics-crm

Posts in this category.

PCF: FileUpload to Base64String

Sep 5, 2019

PowerApps Control Framework (PCF) is a framework that helps programmers make custom controls and use them in a Dynamics CRM environment. Even though the framework is still in the preview stage and might be changed in the future, I couldn't help myself to try this. The control...

Dynamics CRM 365: Set Parent-Child Mapping From Correct Relationship

May 17, 2019

Let's say you have Entity Master and Entity Child. Then you want to have a scenario like from the master you want to have two subgrids. If you click the button add on subgrid 1, you want to fill in Child.Master1 and then click the button add on subgrid 2, you want to fill in...

Dynamics CRM 365: WebResource Dependencies

Mar 18, 2019

The common routine that we will do in custom RibbonButton is adding the library that we want to use. Let's say we have a function onCallButton on JavaScript A. But inside the function onCallButton, we have called another JavaScript B. Hence we need to register JavaScript B to be...

TypeScript in Dynamics CRM CE

Mar 6, 2019

JavaScript sometimes makes me stressed as a developer because of its dynamic nature. You can assign whatever value on the JavaScript object, change it into another type and it will not throw an error. Therefore TypeScript will help you so much because of its strictness. In this...

Dynamics CRM: QueryExpression and how to boost the performance!

Dec 11, 2018

In my company where I work, we have a custom program that will process big load data. Per running, it can process around 50.000 records. The average finished can be more than 3 hours ++. After I check, one of the things that make this slowness is because of the retrieving...

Dynamics CRM: Don't use setRequiredLevel("always") manually!

Oct 15, 2018

On our customization, it is very common if we disable some of the attributes. But when a specific attribute changes, we want to set automatically the value of the disabled attribute and save that value in our database. The problem is CRM will skip all the disabled attributes and...

Dynamics CRM Sent Email using Plugin

Sep 12, 2018

I had one requirement to send an email daily for every case that was created and still in the stage of investigation/re-investigation state. Before this customization is used in workflow but somehow the performance is not too good and I change it into the plugin. Create Email...

Caching All You Can Cache!

Aug 9, 2018

Caching is one of the things you can do to improve your application performance. In JavaScript programming, we have sessionStorage and localStorage API to do the caching. sessionStorage is the browser's storage that will be kept only for that session only. So when you close the...

Merging Javascript for Dynamics CRM Development

Jul 25, 2018

SOC (Separation of Concerns) is one of the best Design Patterns that I love so much. Using this design pattern, I found it easier for me to identify bugs in my code. When developing Javascript code on Dynamic CRM, I will separate my concerns into three parts: Events: Bridge from...