Professional Documents
Culture Documents
The CRM system and CRM integration in the EPiServer works through a
relational data that has a control panel on top. There are many popular CRM
suites available in the market starting from enterprise scale like Salesforce,
Oracle Sales cloud, MS CRM or Dynamics CRM; to NetSuite, Insightly and
SugarCRM. However, in this article we will mainly focus on Salesforce
enterprise scale.
Sales Force CRM
The SalesForce CRM is designed as a Web application, so that it can be
published on a special site along with the CRM functionality. It is a system
that is based on the internal database along with customized interfaces.
Client layer
The client layer is composed of a Web user control, for the registration of a
new user for the CRM application. Additional user controls or custom controls
are easily added to this particular layer. Other than the UI controls, the layer
has a profile, along with a virtual role provider implementation. The
EPiServer resources use it and the profile provider gets information from the
CRM application. The CRM application remains not accessible for some
reason. It needs a special fallback mechanism for its usage. This mechanism
works to retrieve settings from a reserve profile provider in the read only
mode.
The virtual role provider allows use of a CRM role schema. Creating a custom
setting is possible in the contract table, for the CRM application. If an user
logs into the website with appropriate ID, then role settings are retrieved
from the table of contacts of the CRM application. The site content along
with the information can be controlled like whether to be shown or hidden.
Business layer
This layer contains a set of interfaces for business entities of the CRM
applications. The present implementation of the layer contains interfaces for
Contact and Account business entities. Its primary function is to conceal the
differences between the CRM applications and Salesforce.
Therefore, the developer can use business interfaces along with client layer
without giving much on the differences. Each and every account contains
information about company name, addresses as well as other attributes.
Database layer
This layer has in itself, Web service proxy classes and cache management
classes for each CRM application. It comes with a helper class for
simplification of the work with proxy wrappers.
How to collect information from the CRM application?
An indexer can access the values of the business entity instance and
the parameter for the indexer should be the name of the field from the
application setting file.
Few code examples for Installation instruction for EPiServer CRM Connector
1.
this.InitEmailProperty();
}
}
}
}
3. A factory test connection is important to verify that the settings
inside the method of UserEmail are correct.
private void InitEmailProperty()
{
if(CRMBaseFactory.Current.TestConnection())
{
this._emailUser = this.GetUserEmail();
}
}
4.
Original Source:
http://cogzie.kinja.com/salesforce-crm-integration-inepiserver-1707251264