Bot Framework: Hello World

Microsoft has introduced Bot Framework which allows developers to build intelligent conversationalists across a multitude of channels (i.e. Skype, Facebook Messenger, etc.) It also can be hooked up to Microsoft Cognitive Services which makes it smarter and more sophisticated. I have been trying out this technology for a while and here are my learnings: Getting…

Dynamics 365 API: Create Related Entities in One Operation Error 404 Bad Request

Recently we had a project that utilized the Dynamics 365 API extensively. The best practice of course in this types of scenario is to have as few API requests as possible. In creating Dynamics 365 records using the API, you can create the record and the related entities in one operation. See: https://msdn.microsoft.com/en-us/library/gg328090.aspx Trying this however,…

AdxStudio: Make fields required or not required using Javscript

As of writing, business rules are not yet supported in AdxStudio / Microsoft Portals. With this, if we need the functionalities of business rules such as making fields required and not required, we need to use javascript / jQuery. Below are my codes for toggling this behavior. You can use this on EntityForms, WebFormSteps, and…

AdxStudio: Show Web Form on Liquid Template

On my current project, I had to create a liquid template that will then render a webform within it. To accomplish it, I used the liquid template below. In this case, I used the web form name.  

Creating and Accessing an SQL Azure Database

SQL Azure is Microsoft’s offering for a cloud database service. It supports T-SQL and it also allows synchronization between on-premise SQL databases. Since it is a cloud service, don’t have to worry about your own server, which may be of great advantage to small organizations. Other pros include: The ability to scale up and down…

Swagger: Visualizing your ASP.NET Core WEB API

There is a visualization tool that you can include in your ASP.NET Core Web API solution that can really help with development. It’s called Swagger. Here are the steps on how you can install and use it in your solution. Steps: Step 1: Download from Nuget Go to Tools -> Nuget Package Manager -> Manage Nuget…

Web Resource Best Practice – Organize Web Resources in Dynamics CRM

Web Resources Best Practice – Organize Web Resources in Dynamics CRM It is a best practice to have your files organized, be it in a physical directory in your local machine or uploaded in Dynamics CRM as a web resource. Note that this is optional and does not directly impact the performance of your Dynamics…

Setting Up Your Angular 2 Workspace + CSS Preprocessor + Bootstrap

So you want to start your Angular 2 project, well you’re in luck! Follow these steps and you’ll be ready to create your first Ng-2 application. For this setup, we will be using Visual Studio Code as the development environment. If you’re not familiar with it, Visual Studio Code is a light-weight IDE from Microsoft….

Codeless Integration in Dynamics CRM Using Microsoft Flow

Integration has been one of the strong cards of Dynamics CRM. It’s easier than ever to have it talk to other systems with the addition of the new WEB API and an increasing number of tools for integration. Now, Microsoft is making things even much more easier and accessible for developers and non-developers alike with…