Search

AndrewCampey.com

Dynamics 365 and Angular Developer based in Australia

C# – Memory stream is not expandable

This COMPLETELY blew my mind! I had the following code:- On mainPart.Document.Save I received the error "memory stream is not expandable". I was really confused until I found this post https://www.codeproject.com/Questions/325125/memory-stream-can-not-be-expendable If you include your buffer into the constructor then... Continue Reading →

What was gone is back again. VS Code Icons reverted

In what is a welcome relief to most developers the VS Code team have decided to revert to the Blue and Green Icons of the past. Away from the Orange icons that caused such annoyance. Many of us run VS... Continue Reading →

Why multiple offices can be a great thing

I work for an organisation with staff that stretch the globe. My boss has a strong appreciation for great staff and when told that some are going overseas he often asked them to continue working for the company. Most of... Continue Reading →

Dynamics 365 – Xrm.Page.ui.setFormNotification

To add notifications on Forms you can use the very handy Xrm.Page.ui.setFormNotification. This will allow you to show the following alerts. To add them use the following:- Xrm.Page.ui.setFormNotification("Important Test", "ERROR") Xrm.Page.ui.setFormNotification("Warning Test", "WARNING") Xrm.Page.ui.setFormNotification("Info Test", "INFO") NOTE:- Alot of blog posts... Continue Reading →

Dynamics CRM – Window OnLoad Unable to get property ‘value’ of undefined or null reference

We recently had a problem where we were receiving the following error in a single environment only. Due to it only occurring in one environment I presumed it was a deployment issue. However I was incorrect. We were receiving the... Continue Reading →

Dynamics CRM – 0x8004F016 – A managed solution cannot overwrite the LocalizedLabel component with Id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX which has an unmanaged base instance. The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged LocalizedLabel component on the target system, and now a managed solution from the same publisher is trying to install that same LocalizedLabel component as managed. This will cause an invalid layering of solutions on the target system and is not allowed.

We had a client who had a very old version of our CRM customizations managed solution. When we attempted to update we received the following error. ErrorCode: 0x8004F016 ErrorText: A managed solution cannot overwrite the LocalizedLabel component with Id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX which... Continue Reading →

Dynamics CRM – Update Opportunity on ‘Close as Won’ or ‘Close as Lost’

I had a requirement that I thought would be quite basic, on Close Won/Lost then update a field on Opportunity. My first thought was that this could be on using the following Plugin setup: Message - Update Primary Entity -... Continue Reading →

Dynamics 365 – Extending the 10000 Record Limit when exporting to Excel

There is a restriction on exporting records to Excel in Dynamics 365. You can only export up to 10,000 records. If you are on premise you can modify the registry to fix this, if you are using CRM Online (or... Continue Reading →

Dynamics 365 – Site Map Custom Titles

I am currently working on update of a Site Map and have Reports listed twice in an Area. When they display Dynamics is showing a (1) at the end of the second item. To add custom titles to Areas, Groups,... Continue Reading →

Create a website or blog at WordPress.com

Up ↑