Archives for August 2012

30 Aug
2012

Recently we needed to access an entity records data within a Delete plugin step in order to delete other related data. The steps involved are slightly different from a create or update but also the step will need to be registered as “pre-operation”. So normally we would access the entity by using the following code….

15 Aug
2012

The following javascript code can be added to lookups in order to get more data from related records. So lets create a function that takes the lookup value and then queries the CRM. In this example below we have a lookup to a project record from an entity called Timeslips. function GetProjectInfo() { //Getting the…

2 Aug
2012

First we need to create a simple web resource either in the system customization or in a separate solution. So click on web resources and click new. Name the web resource appropriately and then select ‘Script (Jscript)’ from the type drop down. Now you can add/edit the script in three ways. Use the edit button…