Quantcast
Channel: Mad Computerist's Insanities
Browsing latest articles
Browse All 35 View Live

Image may be NSFW.
Clik here to view.

ForceSubmit vs setSubmitMode in CRM 2011 Javascript

Previously, we used crmForm.all.[fieldname].ForceSubmit = true; in CRM 4.0 to force the CRM system to submit the form data on disabled fields. But in CRM 2011, the method is changed to...

View Article


Image may be NSFW.
Clik here to view.

Populate Regarding Attribute in New Email Form

When we created a new email for a record by Clicking “New Activity” button in the “Activities” associated view, it will prompt us to select the activity type. And when the user select E-mail and click...

View Article


Image may be NSFW.
Clik here to view.

Retrieve Label/Values of Option Set/Two Options Attributes using SQL Script

When you want to retrieve the list of  Label and Values of Option Set and Two Options attributes for documentation, development or whatever purpose, you can query by using the following SQL Script. You...

View Article

Image may be NSFW.
Clik here to view.

Referencing Multiple Javascript Libraries in Homepage Ribbon Buttons

When we develop JavaScript functions for the Actions and CustomRules of the Ribbon buttons in CRM 2011, we may need to reference the common JavaScript library or other javascript libraries. For the...

View Article

Image may be NSFW.
Clik here to view.

Hiding Left Navigation Menu Items in an Entity Form using Javascript in MS...

In the form designer, you can remove the items from the left navigation. If you remove all the items in the navigation area, the group header will be hidden as well except for some navigation areas...

View Article


Image may be NSFW.
Clik here to view.

Microsoft Dynamics CRM 2011 Notebook

In this post, I am going to note down all the useful add-ons, information, tips and tools regarding with MS CRM 2011.Add-onsAdvanced Validation (Regular Expressions)Appender for log4net (CodePlex)Auto...

View Article

Image may be NSFW.
Clik here to view.

Creating Forward Email through SDK

Here's the sample code to create Forward Email through SDK private static Guid CreateForwardEmail(Guid existingEmailID) { Entity existingEmail = _service.Retrieve("email", existingEmailID, new...

View Article

Image may be NSFW.
Clik here to view.

Exception Handling Tips for JavaScript in MS CRM 2011 Ribbon

When there is an error in JavaScript code of the event handlers on CRM forms, there is an alert for the error message. But when there is an error in JavaScript code used in EnableRule or Actions of CRM...

View Article


Image may be NSFW.
Clik here to view.

Adding Additional Condition to Lookup View in CRM 2011 Based on the Current...

As we all know, we can add the custom filtered view in the lookup by using addCustomView in the JavaScript. We can also see a lot of sample scripts online to use that method. All of the scripts that...

View Article


Image may be NSFW.
Clik here to view.

JavaScript Bookmark to Show Logical Names of the Attributes in CRM 2011

Sonoma Partners posted 3 parts of JavaScript Bookmark Series and from all of them, the script from the Part 3 has been the most useful bookmark for my development. The bookmark basically run JavaScript...

View Article

Image may be NSFW.
Clik here to view.

List Down All JavaScript files and the Attached Forms with SQL Query

We can join DependencyNodeBase and DependencyBase tables to get the list of all JavaScript files and the Attached Forms in SQL Query. SELECT DISTINCT WebResource.Name, Entity.Name, SystemFormBase.Name...

View Article

Image may be NSFW.
Clik here to view.

Creating Lookup Attributes in CRM 2011/2013

Starting from MS CRM 2011, we are able to create lookup attributes from the list of Fields in the entity instead of creating from N:1 Relationships. We can still create the lookup attribute as in the...

View Article

Image may be NSFW.
Clik here to view.

Difference of setting OwnerId and AssignRequest in Create Plugin

Today, I encountered a strange issue. The problem was that the record is just showing security access error page once the user saves the record. The record is still available in the list view but upon...

View Article


Image may be NSFW.
Clik here to view.

Dynamics CRM Custom Email for CRM 2011 (Email Templates for Custom Entities)

Even though other functionality of the CRM are improved over the last version updates, email templates remains the same for CRM 4.0, 2011 and 2013 which only allows you to create an entity-specific...

View Article

Image may be NSFW.
Clik here to view.

Difference between QueryByAttribute vs QueryExpression vs FetchExpression

In this post, I am going to explain the difference between QueryByAttribute vs QueryExpression vs FetchExpression and the suggestion of when to use which one.I just added QueryByAttribute in this post...

View Article


Image may be NSFW.
Clik here to view.

Scheduling Recurring Dynamics CRM 2011/2013 workflows with FetchXML for more...

For most of the CRM implementations, running batch job (to update status, trigger notification, etc.) is unavoidable. But when it comes to deploying those batch jobs console applications on the server,...

View Article

Image may be NSFW.
Clik here to view.

Different Behaviours of IOrganizationService.Create Method Triggered...

When I have to create a duplicate records with common attribute values, I usually just write a Create line of code in the loop without re-initialising the object. Entity testRecord = new...

View Article


Image may be NSFW.
Clik here to view.

Attachment File Data Truncated with QueryExpression.Distinct

Today, I am experiencing one strange issue regarding with the attachment file from CRM being corrupted upon downloading through the external web site.That external web site is consuming the interface...

View Article

Image may be NSFW.
Clik here to view.

Async Workflows and System Jobs Stop Working and Stuck with Status Reason...

Today, I encountered one issue at the client site where none of the asynchronous workflows are working any more. Any new workflow triggered on-demand or automatically by the event just go straight into...

View Article

Image may be NSFW.
Clik here to view.

Microsoft Dynamics CRM 2013 Notebook

In this post, I am going to note down all the useful add-ons, information, tips and tools regarding with MS CRM 2013.Add-onsAdvanced Find on record forms (CodePlex)CRM Chart Map (CodePlex)Custom Ribbon...

View Article

Image may be NSFW.
Clik here to view.

Fix for CRM 2013 SP1 UR3 The product key is not compatible with the installed...

Today, when I setup the secondary front end server of the existing CRM 2013 system with SP1 UR3, I encounter the following error message.The product key is not compatible with the installed version of...

View Article


Image may be NSFW.
Clik here to view.

Save & Publish Button for Forms and WebResources for CRM 2015

Development for my previous projects, I've been using Save and Publish button by Jonas Rapp for customization of the forms. When I started the new project in CRM 2015, I cannot import the same solution...

View Article


Image may be NSFW.
Clik here to view.

Issue After Renaming SQL Server for CRM 2015 (Standalone Instance)

This morning, I was trying to rename the Computer Name of the VM that I copied from my colleague since the computer name was given with his initials. (so that I was trying to rename it to more generic...

View Article

Image may be NSFW.
Clik here to view.

CRM Import Data Wizard of Team Failed with "Could not retrieve salesperson...

Today, a colleague of mine tried to import the team data exported from Development environment into the UAT environment using CRM out of the box Import Data Wizard.The import was failed with the...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Management Studio (SSMS) 18.0 Shows Splash Screen then Closes

IssueOpening SQL Server Management Studio (SSMS) 18.0 shows splash screen but the actual application is not loaded and the application closes without any error log.SolutionCopy the...

View Article

Browsing latest articles
Browse All 35 View Live