Referencing Dynamics Assemblies with Azure Function Apps v.2

Tuesday, February 19, 2019

Just stumbled upon a new  Azure environment, where Azure Function Apps have been upgraded to version 2. Right away, noticed that my Azure Function code referencing Dynamics assemblies does not compile, complaining aboutThe type or namespace name 'Xrm' does not exist in the namespace ‘Microsoft' (are you missing an assembly reference?) After digging around, I found out that the project.json is not longer valid with v.2.Instead, the function.proj file must be created and reference Dynamics assemblies in the following manner:       461              

Execute a Recurring Job in Microsoft Dynamics 365 with Azure Scheduler

Thursday, February 8, 2018

The requirement for recurring job execution is quite common in Microsoft Dynamics implementations. Here are some of the business requirements I have encountered: Send monthly newsletter to target customers Synchronize MSCRM Users details with Active Directory once a day Once a month, disqualify all leads that have no open activities Once every hour, export Appointments from mail server and import into Dynamics 365 Microsoft Dynamics 365 has no reliable built in scheduling mechanism that can be leveraged for custom solutions. The Asynchronous Batch Process Pattern I have written about in the past can be used with daily...
no comments

CRM 2011 How to: set IFrame control content dynamically

Monday, February 7, 2011

CRM 2011 How to: Set IFrame control content dynamically CRM 2011 features the Sub Grid  which allows displaying related records grid in the form of the parent entity using only customization tools. For example, displaying all open Opportunities in the form of the parent customer. This is a great feature which was missing in version 4.0 and required some scripting. Yet, some entities are not supported by this feature. For example, the Audit entity (which is not available in Advanced Find as well. Why???). To solve this problem, you can use the following...