New in CRM Online Spring ‘14 / Service Pack 1 / Leo: SLAs


CRM 2013 Service Pack 1: Entitlements, SLAs and That Loveeeely Timer Control


dynamicscrmgirl's avatardynamicscrmgirl

CRM 2013 Service Pack 1 has introduced Enterprise Case Management functionalities, which includes new service entities such as “Entitlement” and “SLA”, and that lovely time control on case forms.

How do I put everything together?

View original post 661 more words

CRM 2011 Context Depth Issue


Danny Varghese's avatarDanny Varghese's Blog

With CRM 2011 events now being transactional, i.e. when an error occurs, the requested change is rolled back, this has posed its own unique set of problems.  Here’s one I faced recently…

Background Information:

Let’s say a user enters information on a form on any entity and clicks save.  Like any other .NET web application, the data entered by the user is then submitted to the database.  Validation occurs, and if valid, the data is submitted and then finally committed to the database.  The resulting values (including any calculations done by CRM plug-ins) are returned back to the form for the user to see.

In CRM 4.0, all the values entered on a form are submitted to the database as a collection of properties (field names and values).  If any validation errors occurs, the collection of properties containing the values the user entered is NOT submitted, but rather the collection…

View original post 382 more words

Fixed – Unhandled Exception: Microsoft.Crm.CrmException: Cannot create a lookup without the required parameters in CRM 2013


Hi,

Got this error in one of the steps in the Action. It was updating one of the lookup field using Update step.

The issue was that the lookup field was not in the form. Adding that particular field in the form back resolved the issue.

Hope this helps..

 

 

JavaScript Reference for Microsoft Dynamics CRM 2011 / 2013


Nice compilation ..

http://www.stunnware.com/crm2/topic.aspx?id=js13

Check if a user is a SharePoint Administrator in JavaScript – SharePoint 2013.


Hi,

Had a requirement to check if user is a SharePoint Admin or not and accordingly hide few elements in the page. We used the below code in our custom master page

Sample Code


var currentUser;

function IsUserAdmin() {
clientContext = SP.ClientContext.get_current();
spWeb = clientContext.get_web();
currentUser = spWeb.get_currentUser();
clientContext.load(currentUser);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
}

function onQuerySucceeded(sender, args) {

var isUserAdmin = currentUser.get_isSiteAdmin();
if (isUserAdmin) {

alert('Current User is Administrator');

} else {

alert('Current User is not an Administrator');
}
}

function onQueryFailed(sender, args) {

alert('Request failed. ' + args.get_message() +
'\n' + args.get_stackTrace());
}

ExecuteOrDelayUntilScriptLoaded(GetCount, "sp.js");

Hope it helps ..