From ICIHelp7.14
Jump to: navigation, search

Microsoft Dynamics CRM 

Purpose

The purpose of this guide is to document the process of:  

  • Configuring ICI with Microsoft Dynamics CRM Connector. 
  • Mapping data entities and saved searches from ICI to Microsoft Dynamics CRM Connector. The guide also describes how to use Microsoft Dynamics CRM Connector for standard scenarios.

The document is primarily intended for:

  • Administrators, who configure ICI and Microsoft Dynamics Connector
  • Other users who work with Agreements in ICI

Overview of Microsoft Dynamics CRM Connector

Microsoft Dynamics CRM Connector allows you to access the full suite of ICI functionality within Microsoft Dynamics CRM Connector. 
With the Microsoft Dynamics CRM Connector, you can integrate data between Microsoft Dynamics CRM and other enterprise applications, Web Services, XML data sources, legacy systems and simple and complex flat- tiles. Whether your connection is with cloud, mobile or on premise software applications, you will be able to integrate quickly with a wizard-driven interface.

Setting up ICI in Microsoft Dynamics

Prerequisites

  • Microsoft Dynamics CRM Organization
  • System Administrator privileges to install and configure the Microsoft Dynamics CRM Connector
  • Respective ICI instance should be configured on the system

Configuring CRM Dynamics 365 in ICI

To integrate ICI with Microsoft Dynamics CRM 365:

1. Log on to Microsoft Dynamics CRM. The Dynamics CRM 365 home page opens. 
 
Configuring CRMD365 01.png
 
2. Click the settings icon in the top-right corner. The drop-down with settings options opens. 
 
Configuring CRMD365 02.PNG
 
3. Click Advanced Settings. The Settings page opens. 
 
Configuring CRMD365 03.PNG
 
4. Click Settings. The Settings section opens. 
 
 Configuring CRMD365 04.png
 
5. Click Solutions under Customizations. The All Solutions page opens. 
 
Configuring CRMD365 05.png

6. Click the Import icon. The Import Solution window opens.
Configuring CRM Dynamics 365 in ICM-5.png
 
7. Select the solution which you have downloaded from AppSource to your local drive. 
 
RTENOTITLE

7. Click Next.
 
RTENOTITLE  

8. Click Import. The Import Options page opens.
 
RTENOTITLE

9. After the Importing process is complete, the Import Solution page opens. The imported solution is visible on the All Solutions page.
 
RTENOTITLE

10. Click Close to close the Import Solution page.
11. Click Publish All Customizations on the All Solutions page. The Publishing Customizations pop-up opens.
 
RTENOTITLE
 
RTENOTITLE

12. After all customizations are published successfully, ICI Solution opens in the list of solutions on All Solutions page in Microsoft Dynamics CRM Connector. 
 
RTENOTITLE 

Configuring ICI Solution

You can configure ICI Solution only after you have installed Microsoft Dynamics CRM Connector. For more information about ICI App installation in Microsoft Dynamics CRM Connector, see Configuring CRM Dynamics 365 in ICI

Configuring the ICI Solution

To configure the ICI Solution: 

1. Click the Settings icon in the top-right corner and navigate to Solutions

2. Click ICISolution on All Solutions page. The ICI Solution Components page opens.

3. Click Configuration from the left navigation pane. The ICI Setting page opens.

RTENOTITLE

4. The following text boxes are available on this page, which can be set as per the requirement:
  • Client Type: It is the name of the client that will be mapped with ICI. This value does not require any changes.  *Version: It is the ICI version mapped with CRM.  *Base URL: It is the URL of the ICI instance that is mapped with CRM.  *Context URL: It is the specific URL of the ICI instance using which ICI application can be accessed through CRM. This URL is used to display the ICI user interface in CRM.  *API URL: It is the specific URL of the ICI API. 
The following are names of the APIs to validate the token to authenticate the user accessing ICI APIs. These values do not require any changes.
  • Validate User Token API 
  • Execute Saved Search URL 
  • Get Config URL
  • Quick Contract URL
  • API Key
  • Create Contract Caption: This field defines the title/header of the Create Contract page in CRM. 
  • Create Contract Request Caption: This field defines the title/header of the Create Contract Request page in CRM.
  • View Contract Caption: This field defines the title/header of the View Contract page.
  • View Contract Request: This field defines the title/header of the View Contract Request page.
  • Saved Search: It is the unique name of the saved search created in ICI. Replace the appropriate value of ICISavedSearchName in this field that contains the existing JSON.
  • Hide Contract Request Section On: Type the comma separated unique names CRM entities for which you want to hide the Contract Request section.
  • Enable One Click Contract Creation: Select this checkbox to enable creating a Contract from CRM with a single-click.
  • Allow Redirect: Select Yes or No to enable or disable the logging. Enabling the logging helps tracking the errors occurring on any environment for which logging is enabled. 
  • Logging Level: Select the logging level from Info, Error or All from the drop-down. 
    • Info: Selecting this option logs basic information and data about the processes occurring at the back-end.
    • Error: Selecting this option logs the errors thrown by the system if any. 
    • All: Selecting this option logs all the information as well as the errors thrown by the system.

Quick Create Configurations

1. Click the plus icon next to Quick Create Configurations if you have enabled creating the Contract with a single-click. 
 
RTENOTITLE
 
2. Type or select the information in the following fields. 
  • Button Label: Type the text that you want to view as the button label in Contract or Contract Request sections when creating a Contract or Contract Request with a single-click.
  • Active: Select this checkbox to enable the button in the Contract or Contract Request section. Only the buttons selected as Active will be available in the ICI section on the CRM user interface.
  • Button Type: Select Contract or Contract Type from this drop-down based on your requirement. This is a drop-down just to specify the button type.
  • Select Entities: Type and select the entities from this field where you want to make this button available.
  • Select Action: Select the action you want the system to perform after clicking Quick Contract.
    You can select one of the following actions:
    • Create: Select this option to only create the Contract. The Contract is not visible to anyone until it is published. You (primary owner) can only make necessary changes to the Contract. If you have selected button type as Contract Request you can only create it and not perform any other action. 
    • Create and Publish: Select this option to create and publish the Contract. After publishing, other users with adequate privileges can take actions on the Contract.
    • Create and Send for Approval: Select this option to create and send the Contract for Approval. 
  • Contract Type: It is the unique name of the Contract Type in ICI that you want to create with a single-click.
  • Delete: Select this button to delete the row from this page which also removes the button from the user interface.

 

Enabling Single Sign-On 

You need to setup single sign-on for CRM to work seamlessly with ICI. For more information about setting up single sign-on refer to:
https://community.dynamics.com/crm/b/microsoftdynamicscrmsolutions/archive/2016/11/11/sso-configuration-for-crm-portal 

Working with Saved Searches 

You can use the Advanced Search option to search for existing entities. You can save these searches and pin them as Favorites for easy access. Saved searches can be opened for easy access to the search results.

Performing a Search to Save

1. Click the Search tile at the top right corner on My Dashboard page. The Advanced Search page opens. 
2. In the Please select Entities to Search field, enter or select appropriate entities from the list and type the keywords to search in the Enter Search here field.

 
 RTENOTITLE
 
3. Select from each of the following options: 
  • Metadata: the search is performed in the metadata of the selected Agreement. 
  • Full Text: the search is performed within the contents of the document of the selected Agreement.
4. After selecting either of the above options, click the Search icon. The list of search results is displayed. 
5. To refine your search further, navigate to the Search For field. Click Select Field and select an option from the list displayed. The number in the bracket indicates the number of items available containing that search term. You can select multiple options. For example, selecting the field Status displays the number of Agreements that have the Status as Draft, Approved, Terminated, Superseded and so on. If you select the status as Draft (select the checkbox next to Draft), all Agreements in Draft state are displayed.
6. A list of these Agreements is displayed as the search result in a tabular format. Enhance your search using wild cards as follows:
•    Type a search term in between the star characters *...*. It displays the existing items which include the respective search term.
•    Type *...Prefix* to a search term. It displays the existing items which end with this term.
•    Type *...Suffix * to a search term. It displays the existing items which start with this term.
•    Type a search term in double quotes "...". It displays the existing items which include the search term.
•    Type...(space)... multiple search terms with a space in between. It displays the existing items which include the search terms.

 

Saving a Search

If you have the search criteria defined and need to use it repeatedly, it is recommended to save the search. To configure Saved Search, we need some Data mapping which includes CRM Account and Opportunity ID (which is 18 digit of alphanumeric reference value). Hence, when defining the mapping of a CRM Opportunity with Contract Request, create a field/Attribute in that Contract Request that will hold the CRM Opportunity Id. You can similarly create an Attribute for the Account ID reference. After creating these required mappings, you can use the Saved Search. To save the search: 1. Click the Save icon. This opens the Save Search window. Set the parameters for this Saved Search.
2. Type the name for the search. Use a name that you can easily associate with this search.
3. Click Yes to make it a global search. This allows all users of the selected Security Groups and Organization units to view it. Select No to save this search locally so that it will only be visible to the person creating it.

Note: Only the Administrator can save global searches. 

4. Specify the Advanced Parameters as follows: 

RTENOTITLE
 
Note
•    A search defined as a Smart Link cannot be set as a Dashboard tile. 
•    For a global search, the Administrator needs to create a Security Group and give access to the specific users. Only those users can see that Saved Search in the list and add it as a Dashboard tile. 

Updating Saved Search Configuration 

With this feature, the CRM Administrator can map any of the entity level or parent level Attribute for executing Saved Search provided the Saved Search is created in ICI as per the Attribute configured in CRM.
If you do not configure the Attribute in CRM, the Saved Search is executed based on the CRM record System ID. The Contracts or Contract Requests will be retrieved from ICI to CRM provided the saved search in ICI is configured.

Mapping Data between ICI and Microsoft Dynamics CRM Connector

Use the Configuration tile in the ICI application to specify the mapping details between CRM and ICI. Data Mapping involves the following two primary tasks:

  • Creating Masterdata Contract Type
  • Creating Masterdata records for mapping entities 

Support for different Attribute Types

Multi-Select Attribute

  • This enables in creating an Agreement in CRM that contains multi-select Attributes.
  • When you select multiple attributes in CRM for the Contract, it must be mapped with the multi-select fields in ICI.

Lookup Attribute

  • This enables creating an Agreement in CRM that contains Lookup Attributes.
  • When you select lookup attributes in CRM for the Contract, it must be mapped with the appropriate Masterdata record in ICI.

File Attachment 

  • This enables creating an Agreement in CRM with attachments added in the Notes section.
  • When you add an attachment to an Agreement created in CRM, it must be mapped with the appropriate Association added to the Agreement in ICI. The files in the Notes section are mapped to the File Selection Attribute in Agreement.

 

Creating a Masterdata Contract Type

1. Log on to the ICI application. 
2. Click Configuration > Create Contract Type on ICI Dashboard.

7.12 Salesforce ICM 03.PNG

The Select Contract Type page opens displaying the following options: 

  • Agreement
  • Associated Document 
  • Masterdata
  • Contract Request

4. Select Masterdata on the Select Contract Type page and click Next. The Create Contract Type page opens displaying the following five sections:

  • Details 
  • Attributes
  • Display Preference
  • Team
  • Verify Details

Enter the following information on this page: 

  • Contract Type Name: Type the name in this field as Client App Entity Mapping. This Contract Type is used for mapping entities between ICI and CRM. 
  • Contract Type Code: Every Contract Type is assigned a unique ID known as the Contract Type code. It is auto-generated when you create the Contract Type. 
  • Enable Approval Workflow: Select Yes to enable the approval workflow. 
  • Two Column Attribute Layout: Select Yes to enable a two-column Attribute layout.  Attributes

5.  Click the plus icon and create the following Attributes in ICI because the integration between CRM and ICI is restricted to the use of these Attributes only. 

  • Name
  • ICI Entity Name
  • Client Entity Name
  • ICI Attribute Name
  • Client Attribute Name
Note: If the Attributes mentioned above already exist, use the   arrow to move them to the Selected Attribute list.

6. When creating each of the above Attributes, ensure that you retain the following default settings:

  • Data Type: String
  • Is Default: Off
  • Is Editable: On
  • Is Mandatory: Off
  • Tracking Attribute: Off
  • Is Unique: Off
  • Defined by Rule: Off
  • Is Inherit: Off
  • Is Searchable: On
  • Is Conditional: Off
  • Is Lookup: Off
  • Is Localized: Off  Display Preference

7.  Select any four attributes that you want to display on the agreement tile view. 
8.  Click the plus icon or select the following attributes from the Available Attributes and click Next.
The Team section is displayed. 

  • Client Name
  • ICI Entity Name
  • ICI Attribute Name
  • Client Entity Name
  • Client Attribute Name 
  • ICI Relationship Key
  • Data Flow Type
  • Enable Sync
  • Contract Events 
7.12 Salesforce ICM 04.PNG
 
Team
9. Click the plus icon to add an approver to the Contract Type Masterdata team. 

 
Verify
10. Verify the information you entered. Click Create.
11. Send the Contract Type for approval. 
12. After the Masterdata is approved, publish the Masterdata Contract Type to make it available for Agreement creation. 
 

Creating Masterdata for Mapping the Entities

You can create a Masterdata record for the Contract Type Masterdata that you created earlier. This helps in mapping the entities between CRM and ICI. ICI allows mapping this data from any CRM entity such as Opportunity, Account, or Quote to a Contract Request or Agreement by creating the Masterdata record in ICI. To create the Masterdata record: 

1. Click Configuration on My Dashboard. The Configuration page opens.
 
RTENOTITLE

2. Click Masterdata on the Configuration page. The Masterdata page opens.
 
RTENOTITLE 

3. Click Create Masterdata on the Masterdata page. The Create Masterdata page opens.
 
RTENOTITLE

4. Complete the information in the following sections:
  • Masterdata Details 
  • Attributes 

5.  Click Next at the end of Masterdata Details section to go to the Attributes section and complete creating the Masterdata record.  Masterdata Details 
6. Select the Category from the drop-down list. 
7. Select the Contract Type Masterdata that you created earlier. For the purpose of mapping the data between ICI and CRM, select Client App Entity Mapping

RTENOTITLE

8. Click Next. The Attributes page opens. 
9. Click the plus icon or select the following Attributes from the Available Attributes
  • Client Name
  • ICI Entity Name
  • Client Entity Name
  • ICI Reference Key
  • Client Reference Key

Attributes
10.  This section displays the Attributes that you created when creating the Contract Type Masterdata. Complete the following details on this page:

  • Masterdata Code: Each Masterdata you create is assigned a unique ID. It is auto-generated when you create the Masterdata.
  • Name: Type the name of the Masterdata record you are creating for mapping with ICI. 
  • Ensure that the name you give to the Masterdata record is unique and can be identified easily. For example, you can use the following name for mapping: CRM_Acct_Agr_AccountName. This example clearly states that you are creating a mapping for an Agreement with a CRM Account (CRM Acct) entity and the Attribute that you are mapping is the Account Name on Agreement.
  • Client Name: This helps in defining the mapping with the external system. For example, add CRM in the Client Name field to define the mapping between ICI and CRM.
  • ICI Entity Name: Type the ICI Agreement Contract Type for which you are creating this mapping. 
  • ICI Attribute Name: Type the ICI Attribute Name of the Contract Type Masterdata that you created earlier where the CRM data will appear. 
  • Client Entity Name: This is the CRM side entity name (technical name) for which you are defining the mapping between ICI and CRM.
  • Client Attribute Name: Type the CRM side Attribute name (technical name). It is the CRM side Attribute name (technical name) for the client entity name that you mapped.
  • Data Flow Type: This defines the direction of mapping for the data flow. You can select from any of the following data flow types:
    • Client to ICI: Select this option if you want the data mapping from CRM to ICI. If you create the Agreement from CRM, the respective CRM entity value will populate in the ICI attribute. When you want to create or update the data from CRM to ICI, ensure that you select the flow as Client to ICI.
    • ICI to Client: Select this option if you want the data mapping to happen from ICI to CRM. 
    • Both: Select this option if you want to use the same mapping for data flow from ICI to CRM and CRM to ICI.
  • Enable Sync: Select Yes if you want the data mapping to synchronize the data from CRM to ICI. This option works only if you select the data flow as Client to ICI.
  • Contract Events: It is used to synchronize data from ICI to CRM. You can enter the events that happen in the Contract lifecycle such as Created, Approved, and Executed.

11. Click Save to save the Masterdata record and enable mapping between ICI and CRM.

Creating a Contract Request from an Opportunity

You can create a Contract Request if your organization does not provide the privileges to create a contract directly.

To create a Contract Request from an Opportunity: 

1. Log on to Microsoft Dynamics CRM. The Dynamics CRM 365 home page opens.

2. Click the CRM Hub tile. The My Activities page opens.

3. Click Dashboards in the My Work section on the left navigation pane. The Sales Overview Dashboard page opens. 

CRMD365 07.png


4. On the My Open Opportunities widget,click View Record from the More Commands option. The My Open Opportunities page opens. 

CRMD365 08.png


5. Select the Opportunity for which you want to create a Request. The Opportunity Summary page opens. 

CRMD365 09.png 


6. On the Opportunity Summary page, click the ICI tab. 

CRMD365 10.png
7. Click the New Request button from the Contract section. The Create Contract Request page opens in Microsoft Dynamics CRM connector.
8. Select the Category and Request Type based on the Request you are creating and click Next.
 
RTENOTITLE
 
9. Specify the details of the Request on various sections of this page. The following table describes the fields that are typically found on this page:
 
RTENOTITLE
 
RTENOTITLE
 
 10. Click Next. The Request Summary page opens. You can click Save if you want to save the changes and create the Request later.
 
RTENOTITLE

11. Click Create Request. The Opportunity Summary page opens.
12. Click ICI on the top navigation bar. Then, click Contract Requests. The Contract Request page opens showing the list of available Requests.
13. Click View next to the Request you created. The Request Details page opens.
14. Use the buttons in the table below to perform a desired action:
RTENOTITLE 
 
RTENOTITLE

Creating a Contract from Opportunity 

The process of creating a contract from ICI in Microsoft Dynamics CRM Connector is dependent on the workflow implemented in your organization.
To create a Contract from an Opportunity:

1. Log on to Microsoft Dynamics CRM. The Dynamics CRM 365 home page opens. 

2. Click the CRM Hub tile. The My Activities page opens.

3. Click Dashboards in the My Work section on the left navigation pane. The Sales Overview Dashboard page opens. 
 
CRMD365 07.png

4. On the My Open Opportunities widget,clickView Record from the More Commands option. The My Open Opportunities page opens. 
 
CRMD365 08.png

5. Select the Opportunity for which you want to create a Request. The Opportunity Summary page opens. 
 
CRMD365 09.png 

6. On the Opportunity Summary page, click the ICI tab. 
 
CRMD365 10.png

7.    Click the New Contract button from the Contract section. The Create Agreement page opens in Microsoft Dynamics CRM connector. A new Agreement can now be created.
CRMD365 12 1.png
 

Contract Type Details 
8. Enter the following information in this section: 

RTENOTITLE

Attributes
This section contains the attributes that the primary owner selected while creating the Contract Type for the Agreement. Now, you are creating a contract using the same Contract Type. You can also save the details at any stage and return to this page to complete the Agreement later. The attributes displayed in this section vary based on the Contract Type you select.
 
RTENOTITLE
 
 RTENOTITLE

Some Attributes are described here:

  RTENOTITLE

Template Name
This section displays the Templates that you created for the selected Contract Type. This section opens only if you select Own type of paper to create the Agreement. Select the Template from the list.

RTENOTITLE
 
Verify
This is the last step in the Agreement creation process. The details in this section appear based on the Attributes and sections you used to create this Agreement. You can perform the following actions on this page:
  • Click Previous to go back and make any changes to the Agreement. Click Next to return to this section after making the required changes.
  • Click Create to create the Agreement in Microsoft Dynamics CRM Connector. After you create the Agreement, it is not visible to all users until it is published by its Primary Owner.
  • Click Create and Publish to create and publish the Agreement. After the Agreement is published, it becomes visible to other users and a Draft watermark opens on the Agreement in all states until it is approved by designated approver.
  • Click Create and Send for Approval to create and send the Agreement for approval. The Agreement is sent to the approvers that are set by rule for the Contract Type selected for this Agreement.
RTENOTITLE 

9. After you create the Agreement, the Summary page opens. You can perform the following actions on the Summary page:
  • Click Download All to download and save the Agreement and all its Associated Documents on your local computer.
  • Click Download to save the Agreement on your local computer.
  • Click Upload Document to upload the document in ICI application.
  • Click Confidential to move the Agreement to a confidential Organization Unit.
  • Click Edit to go back and make changes to the Agreement.
  • Click Delete to delete the Agreement from ICI application.
  • Click Cancel to cancel the process of creating Agreement.
  • Click Lock to restrict any other user from taking action on the Agreement.
  • Click Collaborate to share the Agreement with External users.
  • Click Assemble Contract to include the Associated Documents with the Agreement.
  • Click Request Review to send the Agreement for review. You can send the Agreement for review to an internal or external (third party) reviewer.
  • Click Send for Approval to send the Agreement for approval. The Agreement is sent to the approvers that are set by rule for the Contract Type selected for this Agreement. If there is no approver in the Agreement team, the status of the Agreement changes to Approved automatically.
 RTENOTITLE 

After the Agreement is created in Microsoft Dynamics CRM Connector it is available in ICI in the Draft state. You can send the Agreement for approval through Microsoft Dynamics CRM Connector, however, approve and reject actions on the Agreement can only happen through ICI.

Single-click creation of ICI Contracts and Contract Requests from within Microsoft Dynamics CRM

ICI integration with Microsoft Dynamics CRM now enables creating an ICI Contract through Microsoft Dynamics CRM with a single-click. Till now, when creating an ICI Contract in Microsoft Dynamics CRM, the user was required to go through the entire New Contract creation wizard even if all the form values were pre-filled based on the existing CRM data. With this enhancement, you can now configure and enable the Quick Create button on the Microsoft Dynamics CRM interface to create an ICI Contract without having to navigate through multiple form pages. A similar single-click creation capability has also been added to the ICI Contract Request in Microsoft Dynamics CRM integration.

Support for synchronizing additional Attributes in ICI

ICI integration with Microsoft Dynamics CRM is now enhanced with support for the following entities, provided the appropriate mapping configuration is present in ICI: *Multi-select and Lookup Attributes: When a user is required to select multiple or lookup values for a particular field in Microsoft Dynamics CRM, they are mapped and synchronized to the corresponding multi-select or lookup fields in ICI. *File Attachment: Now, user has the ability of synchronizing the documents (in all ICI supported file formats) from the Notes section of Microsoft Dynamics CRM to ICI, on creation of a Contract from Microsoft Dynamics CRM. This can be achieved by creating appropriate mapping to the available file type attributes in ICI.

Increased flexibility to configure ICI Contract and Contract Request lists within Microsoft Dynamics CRM entities 

With this release, Microsoft Dynamics CRM administrator can configure the list of Contracts and Contract Requests displayed in Microsoft Dynamics CRM entities like Opportunity, Accounts etc., on the basis of other custom attributes, for example, Region, Country etc., rather than the Microsoft Dynamics CRM system ID. If a specific criterion is not provided, the list of Contracts or Contract Requests will be filtered on the basis of Microsoft Dynamics CRM system ID by default.

Configuration for allowing user to start or stop redirecting to ICI iframe in CRM

With this release, CRM administrator can now allow the user to stay on the Agreement Details page in CRM after creating the Agreement. This enables the user in avoiding to navigate through the CRM user interface to access the Agreement that was created. The CRM administrator can configure the Allow Redirect field on the Configuration page in CRM.

 
RTENOTITLE