Ben Walker
  • Blog
  • Blog

Plugin Pipeline Simulation in FakeXrmEasy v2/3

5/3/2023

0 Comments

 
Pipeline simulation has been a feature of FakeXrmEasy for several years. There have been some significant improvements in recent updates to versions 2 & 3 which make the feature even more useful. In this article I'll go through the new features and discuss the use of Pipeline Simulation in general.

Read More
0 Comments

Adding Sitemap icons for Out Of the Box tables which have no SVG icons

3/10/2021

0 Comments

 
There are a number of Out Of the Box (OOB) tables in Dynamics 365 which have no SVG icons. Some examples include Order Products, Invoice Products and Services. This doesn't really present a problem until you decide to add one of these icons to your Sitemap.

Read More
0 Comments

Mocking unimplemented organisation requests in FakeXrmEasy

10/7/2021

1 Comment

 
FakeXrmEasy is an invaluable tool for development of Dynamics CRM/365/Dataverse software and using it will make your life as a developer much easier and will undoubtedly help you write more robust, maintainable code. FakeXrmEasy implements an in-memory version of the XRM database and provides mocked version of most of the main methods provided by the IOrganisation service. You may, however, occasionally come across a method which has not been implemented in the library. When you test code which calls one of these methods, your test will fail with a message like this: The organization request type 'Microsoft.Crm.Sdk.Messages.NameOfTheUnimplementedRequest' is not yet supported... but we DO love pull requests so please feel free to submit one! :). This functionality is not available yet. Please consider contributing to the following Git project https://github.com/jordimontana82/fake-xrm-easy by cloning the repository and issuing a pull request."

Read More
1 Comment

Real-time PDF generation from Word Templates in Dynamics 365

14/6/2021

2 Comments

 
Update 12 October 2021: Microsoft have stated that neither the organisation request described below, nor the publicly documented 'exportpdf' API are intended for public use, and that this public document (docs.microsoft.com/en-us/dynamics365/sales-enterprise/developer/exportpdf-api) is soon to be removed.
In October 2021, customers using the Organisation request from within a Plugin or Workflow started to see this error message:
“The private ExportPdfDocument request cannot be called from this plug-in because it has a different solution publisher."
This change was then reverted by Microsoft the following weekend in order to give customers time to find an alternative solution to this very common requirement.
If you think that |Microsoft should provide a publicly supported way of generating PDF's from Word Templates without having to first create a Word Document and save it in CRM, consider upvoting this idea:
Microsoft Idea  · Make 'ExportPdfDocument' organisation request and 'exportPdf ' API action public (dynamics.com)


Read More
2 Comments

Updating D365 Solution version numbers using LINQPad

1/5/2020

0 Comments

 
In this article I will demonstrate how you can use a LINQPad script to very quickly update Dynamics Solution Numbers in a consistent way across all of your solutions.

Read More
0 Comments

Generating an MFA Secret Key for Dynamics 365 testing

9/3/2020

1 Comment

 
If you are using EasyRepro to perform automated tests against your Dynamics 365 instance and the account you are using is protected with Multi-Factor Authentication (MFA) you will need to generate an MFA Secret Key in order for your tests to be able to log in.

Read More
1 Comment

LINQPad connections to Dynamics 365 online - Part 3 - Using MyExtensions to encapsulate your connection code

13/12/2019

0 Comments

 
In the first part of this multi-part series of articles about creating connections in LINQPad to Dynamics 365 online, I went through the basic steps needed to create an OrganizationService connection in a LINQPad script.

Read More
0 Comments

LINQPad connections to Dynamics 365 online - Part 2 - MFA

12/12/2019

0 Comments

 
Handling MFA connections to Dynamics 365
In the first part of this multi-part series of articles about creating connections in LINQPad to Dynamics 365 online, I went through the basic steps needed to create an OrganizationService connection in your LINQPad script.

Read More
0 Comments

LINQPad connections to Dynamics 365 online - Part 1 - The Basics

11/12/2019

0 Comments

 
LINQPad is an invaluable tool for .Net developers in general and as a Dynamics developer being able to test and execute code using the Dynamics365 API using LINQPad can be a real timesaver. In this multi-part series of articles, I will show you how to configure LINQPad so that creating connections to Dynamics365 can be done quickly and easily. Using the MyExtensions file, you’ll be able to create a shared method for every member of your team to be able to connect to any of your Dynamics environments by just typing a single line of code.

Read More
0 Comments

Using the Plugin Registration tool with MFA-enabled accounts in Dynamics 365

19/10/2019

2 Comments

 
I was finding it impossible to connect to Dynamics 365 using the Plugin Registration Tool with an account which has Multi-Factor Authentication enabled.

Read More
2 Comments
<<Previous

    Archives

    July 2021
    June 2021
    May 2020
    March 2020
    December 2019
    October 2019
    June 2018
    February 2018
    October 2017
    September 2017
    August 2017
    May 2017
    April 2017

    Categories

    All
    Dynamics 365
    Dynamics CRM
    FakeXrmEasy
    LINQPad
    Testing

    RSS Feed

    Author

    Some stuff about me!

Proudly powered by Weebly