Posts

Dynamically Populating Ribbon Flyout Menu in Unified Interface

Image
My previous post  Dynamically Populating Ribbon Flyout Menu   describes the way to add flyout menu buttons dynamically, but that was limited to web client and was not working in unified Interface. As per my R&D and support ticket with Microsoft, we are still not able to add dynamic Flyout menu buttons directly in Unified Interface (UCI). The issue is due to the dynamic buttons don't detect the command that we were adding through our JS code, so we need to attach that command to a hidden button so that internally the command is visible. Following are the two steps we need to achieve the dynamic flyout in both Web client and unified interface. These steps are actually a continuation of my previous post . Step#1 : Adding a button, where you need to call the command that we have used for dynamic buttons. Add a flyout button and make it hidden. Add a menu section and then add a button, and call the command here. Step#2 : We need to update the JS code, i.e to append...

Dynamically Populating Ribbon Flyout Menu

Image
I was having a requirement to generate a dynamic ribbon menu under a button i.e. Flyout button menu sections, Here I want to share the steps for achieving this dynamic menu section. I have used Ribbon workbench and some JS scripts. We need to achieve the highlighted menu dynamically. Here in workbench, we need to add a flyout button In the command action, call JS function "populateEnrollmentFlyout" that is responsible for adding the menu sections definition in XML.  Add another command "programClicked"   that will be triggered when the user clicks on the menu section button. Below are the two JS functions used in the above commands. function populateEnrollmentFlyout(commandProperties) { var programsRibbonXml = ""; var command="msd.lead.Command.ProgramClicked"; var programs = retrieveMultiple('msd_programs', "?$select=msd_programid,msd_name"); programsRibbonXml +="<M...

Enable Tracing for Dynamics CRM on premises

By Enabling tracing, there created some files that monitor the actions that are performed by Microsoft CRM. These files are helpful when you need to troubleshoot error messages as we can find more information about the issues/errors. We can enable tracing for dynamics CRM on premises by adding some registry keys on CRM server. However, m ake sure to follow followi ng steps carefully, as there might occur serious problems whe n you modify regis try incorrectly. 1.      Go to CRM server Open registry (run à regedit) 2.      HKEY_LOCAL_MACHINE à Software à Microsoft à MSCRM à add new keys a.      Name: TraceEnabled Type: DWORD Value: 1 b.      Name: TraceDirectory Type: String Value: C:\CRMTrace c.      Name: TraceRefresh Type: DWORD Value: 99 3.      Create the folder "CRMTrace" in C directory 4.      Reset ...

Distribute Campaign Activity via “Email via Mail Merge”

Image
We can distribute our campaign activity by “Email, Email via Mail Merge, Letter, Letter via mail merge, Fax, Fax via mail merge, phone call etc.”. When our channel is “[Email, Letter, Fax] via Mail Merge” then we cannot distribute the campaign activity in dynamics CRM web client, we need to distribute it from outlook client for dynamics CRM. Create Mail Merge templates https://technet.microsoft.com/library/mt843831.aspx Installing Outlook Client https://technet.microsoft.com/en-us/library/hh699760.aspx#BKMK_Task1_Install_CRMForOutlook Overview of Distributing Campaign Activity via “Email via Mail Merge” in CRM Outlook client. Create a campaign activity with channel “Email via Mail Merge”.  If you try to distribute this campaign activity in Dynamics CRM web client then below alert will be shown. So, here we need to distribute this Campaign activity in Outlook client for CRM. Go to Marketing | Marketing | Campaigns....

Campaign Response

Image
In Microsoft Dynamics CRM, campaign responses are records of the communication you receive from potential customers in response to a specific marketing campaign. There are four ways to create campaign responses: Record campaign responses manually. You can create responses manually by first creating an activity and then converting it, or by creating a new campaign response within a campaign record Convert an existing activity to a campaign response. When a potential customer responds to an activity created for them as part of a marketing campaign, you can convert the corresponding activity, such as a phone call, e-mail, or fax etc., to a campaign response.  Import responses from a file, such as a Microsoft Office Excel workbook. By importing campaign responses, you can capture a record of the responses received as part of campaign efforts performed outside Microsoft Dynamics CRM. When you import the file, you can specify that it contains campaign responses. Au...