Monthly Archives: March 2013

Running workflow from a Javascript File

Using the workflow ID or Name

http://sliong.wordpress.com/2012/04/19/crm-2011-runningexecuting-workflow-using-javascript/

Receiving the workflow status execution

http://m-atif.blogspot.ie/2012/04/executing-crm-2011-workflow-via.html

Advertisements

Ribbon tutorials

Gareth Blog 

http://garethtuckercrm.com/2011/01/18/how-to-view-ribbon-definitions-in-crm-2011-3/

Standar Button Behaviour Modification(the best one for existing ribbon modifications)

http://mscrmshop.blogspot.ie/2011/08/enabledisable-out-of-box-buttons-based.html

Disable Activate/Deactivate Buttons base on Delete priviledge.

http://blog.customereffective.com/blog/2012/05/managing-activatedeactivate-permissions-of-crm-entities.html

Other Usefull Blog

http://crmdm.blogspot.ie/2012/01/how-to-override-system-ribbon-button-in.html

Loading libraries before needed for the javascript execution

<Actions>
<JavaScriptFunction FunctionName=”isNaN” Library=”$webresource:epa_json2.js” />
<JavaScriptFunction FunctionName=”isNaN” Library=”$webresource:lema_SDKRest.js” />
<JavaScriptFunction Library=”$webresource:YOUR FUNCTIONSLIBREARY” FunctionName=”YOURFUNTIONNAME”>
</JavaScriptFunction>
</Actions>

<EnableRule Id=”Mscrm.Lema.RuleDisableDependLicenceEstate”>
<CustomRule FunctionName=”isNaN” Library=”$webresource:epa_json2.js” />
<CustomRule FunctionName=”isNaN” Library=”$webresource:lema_SDKRest.js” />
<CustomRule FunctionName=”entityEstateOpen” Library=”$webresource:epa_Submissions” Default=”true”>
<CrmParameter Value=”PrimaryControl” />
</CustomRule>
</EnableRule>