Save and publish one click

Save and publish one click

Save and publish one click – what is it for If you are customizing loads of entities forms here is a solution that can speed it up a bit – save and publish one click. When I customize form, the most often repeated operations are: save publish close customization form reload entity record form Solution […]

How to publish enity form in javascript

How to publish enity form in javascript

What for? Some time ago I had to create and customize ~20 entities. After editing form, saving, publishing and reloading over and over again I thought about creating custom button for publishing. Yeah – why not. But this functionality already exists Yes, that’s true. If anyone hasn’t check how does the built-in publish button works […]

Automatic ILMerge on MSBuild

Automatic ILMerge on MSBuild

Every CRM developer at some point of his/hers carrier gets to this point: to merge or not to merge. Sometimes it just immpossible to avoid it. Why? Sometimes because it’s just easier, sometimes it’s just because of cloud environment. Sometime because client wants to. How to do it? Everyone has heared about ILmerge. Sure you […]

Local to global option set conversion

Local to global option set conversion

When there is a need of converting local to global optionSet we can use https://xrmoptionsetconverter.codeplex.com/. Everything works fine until this customization needs to be exported to another environment on which local optionSet is already declared and filled with data. Why? While importing customization error occures: OptionSetId cannot be changed. EnumAttributeInfo.AttributeDescription.OptionSetId(xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) != xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; How does the tool really […]

Reset CRMAppPool with all services

Reset CRMAppPool with all services

Sometimes there is need to perform “deep” reset of entire IIS envirionment. To do so You can use powershell script: $CRMSnapin = 'Microsoft.CRM.PowerShell'; if ( (Get-PSSnapin -Name $CRMSnapin -ErrorAction SilentlyContinue) -eq $null ) { Add-PSSnapin $CRMSnapin } #iisreset # Recycle only CRM Application Pool to free dlls. C:\Windows\System32\inetsrv\appcmd recycle apppool /apppool.name:CRMAppPool C:\Windows\System32\inetsrv\appcmd recycle apppool /apppool.name:CrmDeploymentServiceAppPool […]