Dynamics CRM Entity Relationships

In our movie example, let’s create a new entity called Actors. The entity will have a first name and a last name attribute. One movie can have many actors, and many actors can act in one movie. So, the relationship type will be N:N Relationship: Click New Many-to-Many Relationship. Select Actor as the 2nd entity: Now, go to the Movies entity and edit the form. Add a subgrid: Note the Records … Continue reading Dynamics CRM Entity Relationships

Creating a New Entity in Dynamics CRM

To create a new entity in Dynamics CRM, go to the Customizations area and create a new solution. Let’s go through an example of creating a Movies entity in a fictional Xrm solution. Under Entities, select New: You will see the window below. Enter data. In our case, we will create a Movies entity: We will add this entity to the Sales menu area: Save and publish the solution: The entity … Continue reading Creating a New Entity in Dynamics CRM

Dynamics CRM Connections

Connections are a way in Dynamics CRM to link entities. You may want to link an opportunity to a contact if the contact was the referrer, for example. To make a connection, go to the record you would like to connect and click Connect: Select Look Up More Records: Here you have the option to select a different entity and then pick a record, or select a record from the same entity: Select a … Continue reading Dynamics CRM Connections

Xrm Tooling Login Control

The Dynamics CRM SDK has a login control that you can use in your client applications. Let’s go through an example of how to use this. Open Visual Studio and create a new project. Go to CRM SDK Templates and select WPF Application for CRM with .NET Framework 4.5.2 selected: You will see something like this: Press F5 to run the application. You will see this window: Clicking Login to … Continue reading Xrm Tooling Login Control

Set Dynamics 365 Instance Name

Go to https://portal.office.com. Then, select Admin from the options: Select Dynamics 365: You can then set the name below:  

Open HTML Page from Button with Ribbon Workbench

There may be a requirement to open an HTML page from a button. In this example, we will use the Ribbon Workbench to open a page from a button. First, create a new solution and go to Web Resources: Click New and enter details for the HTML page. Select Type: Select Type as Webpage and then select Text Editor: This will open an HTML page: Selecting the Source tab will … Continue reading Open HTML Page from Button with Ribbon Workbench

Installing the Dynamics CRM SDK Templates Extension in Visual Studio 2015

The Dynamics CRM SDK Templates are used for creating Visual Studio projects for Dynamics 365 and Unified Service Desk. To install the Dynamics CRM SDK Templates Extension in Visual Studio 2015, open Visual Studio and go to Tools->Extensions and Updates: Select Online, then search for CRM SDK and find Dynamics CRM SDK Templates, then click Download: Click Install: The extension will be installed: Click Close. Create a new Project: We see the CRM … Continue reading Installing the Dynamics CRM SDK Templates Extension in Visual Studio 2015

Dynamics 365 Insert Navigation Link

To add a navigation link to a form, go through the following steps. Edit the form you want to add the link. From the Home tab select Navigation: Then from the Insert tab, select Navigation Link: Enter details about the link. Here we will go to an external URL: From the Home tab, save and publish the customization: The new link will now appear in the Accounts form:  

Modifying a Dynamics 365 Form Section Layout

In Dynamics 365, you can modify the layout of existing form sections. For example, let’s say you want to change the Summary tab of the Account to show 2 sections instead of 3, and remove the middle Social Pane section: To do this, edit the form and delete the Social Pane field: Move the controls from the right section to the middle section. Anything in the right column will be … Continue reading Modifying a Dynamics 365 Form Section Layout