Quantcast
Channel: Dreaming in CRM & Power Platform
Browsing all 113 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Form Script Bundling and Minification

Ever since form script loading was made async, I have tried different ways to ensure that form scripts will be loaded in the sequence I want, and not how CRM wants it to be, a.k.a random. CRM2015...

View Article


Image may be NSFW.
Clik here to view.

Leverage Actions to bundle and minify form scripts

EDIT (26/05/15): I forgot to disable the plugin on RetrieveMultiple of webresource, described in the previous post. I also forgot to minify the script that runs on Form Experiment entity. Strangely...

View Article


Image may be NSFW.
Clik here to view.

New XrmToolBox Plugin: Export to Excel

Export to Excel is a great feature in Dynamics CRM, but it has always come with two limitations Number of records that can be exported Format of the Excel file Even though CRM says that it is exporting...

View Article

Image may be NSFW.
Clik here to view.

Performing Outer Join in Advanced Find

It is currently not possible to perform left outer join using Advanced Find, even though that capability exists in CRM2015. For e.g. if you want to get a list of contacts, that don’t have an invoice,...

View Article

Image may be NSFW.
Clik here to view.

Invalid Argument – Data Import

This is basically an extension of Andre’s post -> https://andz88.wordpress.com/2015/05/25/australian-data-centre-bug-workaround-invalid-argument-in-workflowbusiness-process-flow-editor/ This issue...

View Article


Image may be NSFW.
Clik here to view.

Quicktip: Always retrieve primary key with distinct=’true’ fetchxml

FetchXml is great when you quickly want to extract some data. Today, I found a weird behaviour, that is either a bug, or a documented “feature” that I am not aware of. If you run this code below var...

View Article

Image may be NSFW.
Clik here to view.

Gotcha: fn_UTCToLocalTime and fn_LocalTimeToUTC

There are not many scenarios where you would directly operate against an entity base table in CRM. There two scenarios that I can think of are: Reporting Data Migration/Integration Filtered view is the...

View Article

Image may be NSFW.
Clik here to view.

CRM2015 Update 1 – Grid methods

CRM2015 Update 1 has finally introduced the capability to manipulate/access grids in a supported way. The API methods are documented in https://msdn.microsoft.com/en-us/library/dn932126.aspx. However...

View Article


Image may be NSFW.
Clik here to view.

Bookmarklet: Open view in new window

Drag the below bookmarklet to the favorites bar in your browser, to quickly open the current view being displayed, in a new window. You can then probably bookmark the view Url, to assist with your...

View Article


Image may be NSFW.
Clik here to view.

CRM UI Testing using Dalek

When it comes to UI testing there are plenty of options available. Some of the popular ones that I have encountered are PhantomJS CasperJS Nightwatch Selenium Visual Studio Coded UI Each of these...

View Article

Image may be NSFW.
Clik here to view.

Bookmarklet: Advanced Find Outer Join a.k.a Not-In Condition

I had discussed a technique earlier (http://dreamingincrm.com/2015/05/31/performing-outer-join-in-advanced-find/) on how to use a plugin to intercept the RetrieveMultiple message and modify the...

View Article

Image may be NSFW.
Clik here to view.

SQL Script: Entity row count

Run the script below on the MSCRM database to quickly get a count of records, for real and customisable entities (not logical). declare @query nvarchar(max) set @query='' select @query=@query+'select...

View Article

Image may be NSFW.
Clik here to view.

Publish a Duplicate Detection Rule: Behind the scenes

When you import a solution you get a nice progress bar that you can use to approximately estimate the finish time. But when you publish a duplicate detection rule, you get nothing. All you can...

View Article


Image may be NSFW.
Clik here to view.

XrmToolBox Tool: Entity Image Updater

Around middle of last week, I published v1.0 of a new XrmToolBox tool called Entity Image updater. I created this tool so that it is easier to update the images on the crm record, if that entity has an...

View Article

Image may be NSFW.
Clik here to view.

Null Conditional Operator in C# 6

During my code session in the weekend, I discovered the Null Conditional operator in C# 6. In terms of CRM custom development, this operator reduces the risk of null reference exception. Let me give...

View Article


Image may be NSFW.
Clik here to view.

DateTime AddMonths

I recently encountered a weird workflow behaviour that was caused due to my misunderstanding of how DateTime.AddMonths works. The issue happened with a recurring workflow. Since there is no recurring...

View Article

Image may be NSFW.
Clik here to view.

Using Typescript and Gulp for CRM Client side scripting

Business Rules and real time workflows have reduced the necessity to write Javascript in Microsoft CRM for really simple use cases. Once the requirements are a bit more complex and client side...

View Article


Image may be NSFW.
Clik here to view.

Using sessionStorage to interact with IFrame in CRM Forms

CRM2015 Update 1 loads form scripts in seperate IFrame called ClientApiWrapper. I have seen a couple of posts in CRM forums asking how to interact with the IFrame from the form scripts and vice versa....

View Article

Image may be NSFW.
Clik here to view.

Gotcha: Plugin Running Async

Generally when you want run a set of tasks that are not realtime, you would do this via Workflow. On the contrary when you want something to happen straightaway, you would do this using a Plugin....

View Article

Image may be NSFW.
Clik here to view.

Using window.postMessage to interact with IFrame in CRM Form

This is similar to my earlier post (http://dreamingincrm.com/2015/10/27/using-sessionstorage-to-interact-with-iframe-in-crm-forms/) that discussed using sessionStorage events to interact with IFrame...

View Article
Browsing all 113 articles
Browse latest View live