Tip #215: Computer says ‘no’

Well, this is embarrassing. Remember that flogging I unleashed on unscrupulous developers being disrespectful to LINQ, performance and humanity in general? I was basking in my own cleverness of possessing the knowledge of LINQ operators including magic Any: Yesterday I had a chance to use what I preached and this is what I got in […]

Tip #212: Getting a yes or no answer in LINQ

Say, you need to find out if your organization has any opportunities with the estimated value of more than a million dollars (that’s right, that’s how developers usually roll). No need to retrieve anything, just simple yes or no. There are many ways to accomplish the task, most of them, sadly, are as efficient as […]

Tip #207: Remove password expiration for O365/CRM Online

Like a boss meme

Password expiration in CRM Online is indeed a nuisance and can be changed but the maximum password expiration period configurable using Office 365 administration portal is 2 years. If you intend to use O365/CRM Online for longer than 2 years, you may want to consider using Powershell tools to do it like a boss. The […]

Tip #199: Form customizing ninja

True ninja knows Himitsu iri or the art of “Silent movement”. Ability to move quickly and without screeching mouse noise is crucial when it comes to quickly whipping a prototype or putting out fire in production. Minimizing mouse movements is important skill that keeps your boss, your customers and your wrist happy. These are just […]

Tip #194: When automatic update is not your friend

tl;dr Nuget is a great tool and a real timesaver but beware of automatic updates that can unexpectedly bring incompatible or broken builds of third-party libraries and that will, in turn, break your plugins or workflows. The real story or “I saw the whole thing” Friday, August 1st, 6:00PM All users logoff and CRM is […]

Tip #192: Defensive script writing

Event Handler Dependencies

(Today’s tip is actually two-in-one but we’ll get to that.) Over the years as a CRM jackofalltrades I learned that to create truly reusable, bug-free and resilient systems is very important to write your scripts as if the next team member, who comes after you, dedicated their entire career to destroying your life’s work. Consider […]

Tip #185: Dude, where is my alert?

Workflow to send SMS about alert

If you’ve been paying attention to the most recent advances in server-side CRM entertainment, you are by now should be familiar with alerts. They are system messages that tells you when something is wrong (error), suspicious (warning), or neither (information). Open any server profile or mailbox record, click Alerts link on the left to find […]