NoLock – what is that? NoLock is a QueryExpression property used to specify how a RetrieveMultiple request will behave. Take a look at MS documentation since I’m not used to rewrite someone else’s posts, CRM upgrade features and MS limited documentation. Long story short: NoLock property sets to TRUE looks at database record lock and waits […]
Read more NoLock – to be set or notWhat can we help you with ?
Core Team
Leszek
Michał
Tomek
Latest Posts
-
Oct, 19
RollupField is not recalculating
RollupField is not recalculating RollupField – yes, nice CRM >= 2015 feature. Theoretically a cure for all previous “manual” calculations. Of course it has some limitations but this post is not about that. MSDN documentation contains these informations anyway. Unfortunatelly I came across a major issue related with rollup field when it’s type is Money. When? […]
Read more RollupField is not recalculating -
Apr, 15
CRM database without Active Directory
CRM database without Active Directory You may ask yourself now if for any reason you will have to use CRM database without access to Active Directory. And because I have written this post it means yes – it can happen, even very often 🙂 When? Some Clients for security reasons don’t give access to AD or […]
Read more CRM database without Active DirectoryApr, 8toString null or undefined – JavaScript common error
toString null or undefined – Description I can bet that each of you has at some point encountered with this issue. Especially when working on custom entities or customized built-in entities form. What is the cause? Hmm, there is a couple of possible reasons. Reasons First of all – Microsoft fault 🙂 Some internal form scripts […]
Read more toString null or undefined – JavaScript common error -
Apr, 7
Linq LoadProperty method limits records for retrieving relations N:N – 5000
Linq LoadProperty Issue – Description Recently I had to fix some legacy code (one of the worst code I have ever seen) and improve requests performance. When reviewing the code everything looks fine. There was a OrganizationServiceContext generated by crmsvcutil. Because one of the property was N:N relation a LINQ LoadProperty method was used. Nevertheless business logic […]
Read more Linq LoadProperty method limits records for retrieving relations N:N – 5000Feb, 11ErrorSerializingRegFile – Plugin or Workflow Deployment Error
ErrorSerializingRegFile – when I first met with this one If you have found this post I assume that you have already looked for *.registerfile errors, plugin and workflow mismatches between register file and already registered items, deployment administrator security rights. ErrorSerializingRegFile – what that can mean? Everything during plugin deployment looks right, but is it? So […]
Read more ErrorSerializingRegFile – Plugin or Workflow Deployment Error -
Dec, 30
Count total number of records – how to??
Count total number of records – what is the issue How simple can that be to count total number of records – just use linq query using EntitySet object like the one below var contactCounter = new ServiceContext(_service).ContactSet.Select(item => item).Count(); and that’s it. But no – you will get an exception: Invalid ‘count’ condition. An entity member is […]
Read more Count total number of records – how to??Nov, 9Save 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 […]
Read more Save and publish one click -
Nov, 9
Entity name by object type code JavaScript
Entity name by object type code – what is the issue Recently I found myself in a situation where there was no Xrm.Page.data.entity object so getEnityName() could not be used. Yes, there are form where it’s not available 🙂 I thought, phi, piece of cake. I remembered that there is FormEditorWebService.asmx which has a GetEnityId() so […]
Read more Entity name by object type code JavaScriptNov, 9How 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 […]
Read more How to publish enity form in javascript