Archive | Programming RSS feed for this section

Design Rules for Microsoft Dynamics CRM Online and Onpremise

And here are some ‘golden’ design rules for Microsoft Dynamics CRM 2013 and 2015   Design rules for security: For Users Assign as few as possible security roles (privileges) to a User Assign the user only to teams if really needed For Teams Assign…
Read full story Comments { 0 }
code discussion

simple Templating in javascript

I often see code, where strings in javascript are concatenated via the + operator. So something like var myString = 'World'; var myOtherString = 'Hello ' + myString; This becomes extremely inconvenient when you have to format the text for many languages (because…
Read full story Comments { 0 }

Some coding guidelines for Microsoft Dynamics CRM 2013

MS CRM coding guidelinesIn general: as you know, client development in Microsoft Dynamics CRM is web development, so everything you know about good web design (technical) matters treat JavaScript as a first class programming language, apply patterns of real life…
Read full story Comments { 0 }

find all javascript web resources at a form

MS CRM 2013Hi folks, Yesterday I had the following interesting question: “How get I all the referenced JS files per entity and form and this at the glance”? (The scripts finder into the XRM-Toolbox was not strong enough) So I went to the database and wrote…
Read full story Comments { 0 }
code discussion

Choose your javascript namespaces wisely

Just a quicky: it is a good practise to use namespaces in formscripting / javascript in order not to clutter up some standardobjects. Fortunately, even in standard there is now use of this thought. Unfortunately, sometimes the namespace starts with the name of the…
Read full story Comments { 0 }
code discussion

What are your thoughts about good style formscripting?

I frequently get the question, what my top rules are while creating software for microsoft crm, especially formscripting. So, this is my top list of thoughts, i have in mind. What are yours? client development in mscrm is web development, so everything you know about…
Read full story Comments { 0 }

IE8 vs IE9 JavaScript regular expressions changed a little bit their behaviour

Well, may be I am using regular expressions wrong in the browser, but I had a strange problem on a customersite today, that the JavaScriptcode ran into endless loops. Having analysed the problem it turned out, that the JavaScriptengine changed from IE8 to IE9.…
Read full story Comments { 0 }

Generic SQL error while using CRM REST-Endpoint

Got some strange issues on a customer site. Some updates or deletes got a “Generic SQL Error” via the REST-Endpoint. The eventlog stated something like “invalid character in XML 0X00″ (which XML, the request is formed a a json post??).…
Read full story Comments { 1 }
Info 4.0

Detection for ‘offline’ in CRM4 under IPV6 may cause problems

In our former CRM 4.0 times, we detected offlineusage of our components by checking the requesting IP address. This was the way described in the Sdk. So, our code had at some point something like if("127.0.0.1".equals(this.host)) { .... } Well, time moved on and…
Read full story Comments { 0 }

Cheat Sheet for CRM 2011 JavaScript programming

This is a valuable shortcut for me and my colleagues: a blogentry for sheet, which combines most of the Dynamics CRM 2011 form features in one page. Thanks to Daniel Cai for this compilation. The sheet is already a little older, but still valid. Find the pdf directly…
Read full story Comments { 0 }