Browse by Tags

Related Posts
  • Blog Post: MS CRM 2013: OOB BingMaps control shows ‘click here to view map’ – what to do?

    This article can help you to activate this feature for On Premise deployment only! This would not work for Online! If you see something similar when you open your CRM Organization that means that for some reason MS decided to limit your possibility to see location of contact, account or other record...
  • Blog Post: MS CRM 2011/2013: Open new email form with To and Regarding fields prefilled

    About a year ago I wrote small article how to open new activity form with Regarding field prefilled. This week I had a similar task but this time I had to write a JavaScript that will open email form with To field prefilled. So here is the script that you can use: function OpenEmail(recordid, recordtypecode...
  • Blog Post: Microsoft CRM 2013: Adding standard Bing Map control to forms of custom entities

    In CRM 2013 Microsoft released really great feature – OOB integration with BingMaps. Unfortunately list of entities that support BingMaps control is limited to Account, Contact, Lead, Quote, Order, Invoice, Competitor and System User. I did small investigation how this control is organized and I can...
  • Blog Post: MS CRM 2011: Add new Deployment Administrator through SQL

    Here is just short script that has to be executed against MSCRM_Config db to add new deployment administrator: Declare @DomainName Varchar ( Max ) Set @DomainName = 'Put new deployment admin logi here' --i.e. 'Contoso\Administrator' Declare @Id uniqueidentifier Select @Id = Id From mscrm_config...
  • Blog Post: MS CRM 2011: Open new activity form with ‘Regarding’ field prefilled

    I had a task today to open new task form with Regarding field prefilled. Based on SDK description I tried to use following code to accomplish my task: var params = { regardingobjectid: referenced record id, regardingobjectidtype: referenced record type name, regardingobjectidname: referenced record display...
  • Blog Post: MS CRM 2011: Extended handling of Save events in Microsoft Dynamics CRM 2011

    About 1.5 ago I wrote post which describes how to work with additional parameters during save of form. I decided to go through all available standard forms and create extended list of available parameters. Here is the list of supported save modes which can be found at following article - http://technet...
  • Blog Post: MS CRM 2011: Bulk refresh of user details from AD

    When you create user in CRM all the available information is populated from AD into CRM user form. But in case information was changed in AD (email box, phone e.t.c.) - information will remain unchanged till the moment you will open form of user and change it. In case a lot of information was changed...
  • Blog Post: CRM 2011: Playing with notes control

    If you want for some reason to allow/disallow user to insert or edit notes in Microsoft Dynamics CRM 2011 following code can help you: function FormatNotesControl ( AllowInsert , AllowEdit ) { var notescontrol = document . getElementById ( 'notescontrol' ) ; if ( notescontrol = = null ) return...
  • Blog Post: Creating a Network Path Text Control for Microsoft Dynamics CRM 2011

    Following approach is a little bit unsupported so be careful using it. Create JavaScript webresource, put in it following code, call OnLoad method to be called during loading of form of your entity: function OnLoad ( ) { Transform ( " new_name " ) ; } function Transform ( fieldid ) { var c...
  • Blog Post: Extended handling of save event in forms with close dialog (like opportunitites)

    All developers who developed JavaScripts for CRM read this article . But there is no info about getting data from fields of "Close dialogue" (like opportunity close). I've made a little research on this theme and here is the result: First of all - when you close opportunity event.Mode equals...
  • Blog Post: Set default view for Service Calendar in Microsoft Dynamics CRM 4.0

    My customer asked me to set default view for Service Calendar to 'Facility/Equipment'. I haven't found any available supported solution for this task, so I decided to use unsupported approach - inserting JavaScript in page of Service Calendar. 1. You should open folder of Microsoft Dynamics...
  • Blog Post: Making Description Field Required in Close Opportunity Dialog

    This is unsupported customization, so be careful. Open folder with your CRM website. Open SFA\opps subcatalog. Open dlg_closeopp.aspx file using notepad and find there following function: function applychanges ( ) { var retval = "" ; if ( actualend . DataValue == null ) { alert ( LOCID_CLOSE_DATE_NOT_SUPPLIED...
  • Blog Post: Handling Rollup message with plugins in Microsoft Dynamics CRM 4.0

    There are no Rollup message in the list of supported message in SDK . Following trick will help developers to handle this message. Open Microsoft SQL Server Management Studio, select your organization database in dropdown control, and execute following script: Update SdkMessageFilter Set IsCustomProcessingStepAllowed...