Self-Service: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
CRM will only allow one instance per server of CRM be the self-service portal | |||
Troubleshoot | |||
To re-register the server open a command prompt and navigate to the wwwroot folder within the CRM folder structure. | |||
Typically this is 'C:\Program Files\Sage\CRM\CRM\WWWRoot' | |||
Once there type | |||
regsvr32 eware.dll | |||
A Message should appear to confirm that the eware.dll has been registered. | |||
Typically if this is required you will also need to reset the registry settings to point to the correct CRM database also. | |||
Self-Service check list | Self-Service check list | ||
---- | ---- | ||
| Line 5: | Line 17: | ||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\eWare\SelfService] | [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\eWare\SelfService] | ||
"SSDbDatabaseDriver"="MSSQL" | "SSDbDatabaseDriver"="MSSQL" | ||
"SSDbEntDatabaseDriver"="MSSQL" | "SSDbEntDatabaseDriver"="MSSQL" | ||
"SSDbDatabaseServer"="servername\\crmsqlexpress" | "SSDbDatabaseServer"="servername\\crmsqlexpress" | ||
"SSDbUserName"="sa" | "SSDbUserName"="sa" | ||
"SSDbEntDatabaseServer"="servername\\crmsqlexpress" | "SSDbEntDatabaseServer"="servername\\crmsqlexpress" | ||
"SSDbEntUser"="sa" | "SSDbEntUser"="sa" | ||
"SSDbDatabaseName"="CRMSelfService" | "SSDbDatabaseName"="CRMSelfService" | ||
"SSDbEntDatabaseName"="CRM" | "SSDbEntDatabaseName"="CRM" | ||
"SSDbPassword"="password" | "SSDbPassword"="password" | ||
"SSDbEntPassword"="password" | "SSDbEntPassword"="password" | ||
2. Database | 2. Database | ||
| Line 34: | Line 35: | ||
USE [master] | USE [master] | ||
GO | GO | ||
CREATE DATABASE [CRMSelfService] ON PRIMARY | CREATE DATABASE [CRMSelfService] ON PRIMARY | ||
( NAME = N'CRMSelfService', FILENAME = N'CRMSelfService.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) | ( NAME = N'CRMSelfService', FILENAME = N'CRMSelfService.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) | ||
| Line 40: | Line 40: | ||
( NAME = N'CRMSelfService_log', FILENAME = N'CRMSelfService_log.LDF' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) | ( NAME = N'CRMSelfService_log', FILENAME = N'CRMSelfService_log.LDF' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) | ||
GO | GO | ||
ALTER DATABASE [CRMSelfService] SET COMPATIBILITY_LEVEL = 100 | ALTER DATABASE [CRMSelfService] SET COMPATIBILITY_LEVEL = 100 | ||
GO | GO | ||
| Line 48: | Line 47: | ||
end | end | ||
GO | GO | ||
ALTER DATABASE [CRMSelfService] SET ANSI_NULL_DEFAULT OFF | ALTER DATABASE [CRMSelfService] SET ANSI_NULL_DEFAULT OFF | ||
GO | GO | ||
ALTER DATABASE [CRMSelfService] SET ANSI_NULLS OFF | ALTER DATABASE [CRMSelfService] SET ANSI_NULLS OFF | ||
GO | GO | ||
ALTER DATABASE [CRMSelfService] SET ANSI_PADDING OFF | ALTER DATABASE [CRMSelfService] SET ANSI_PADDING OFF | ||
GO | GO | ||
ALTER DATABASE [CRMSelfService] SET ANSI_WARNINGS OFF | ALTER DATABASE [CRMSelfService] SET ANSI_WARNINGS OFF | ||
GO | GO | ||
SET ANSI_NULLS ON | SET ANSI_NULLS ON | ||
GO | GO | ||
SET QUOTED_IDENTIFIER ON | SET QUOTED_IDENTIFIER ON | ||
GO | GO | ||
CREATE TABLE [dbo].[Visitor]( | CREATE TABLE [dbo].[Visitor]( | ||
[Visi_VisitorId] [int] IDENTITY(1,1) NOT NULL, | [Visi_VisitorId] [int] IDENTITY(1,1) NOT NULL, | ||
| Line 107: | Line 98: | ||
) ON [PRIMARY] | ) ON [PRIMARY] | ||
GO | GO | ||
CREATE TABLE [dbo].[VisitorProfile]( | CREATE TABLE [dbo].[VisitorProfile]( | ||
[Prof_ProfileId] [int] IDENTITY(1,1) NOT NULL, | [Prof_ProfileId] [int] IDENTITY(1,1) NOT NULL, | ||
| Line 117: | Line 107: | ||
) ON [PRIMARY] | ) ON [PRIMARY] | ||
GO | GO | ||
3. Date format | |||
The customer wanted the dates within Self Service to be shown mm/dd/yyy. | |||
This can be accomplished by changing a value in the User Configuration area within the Administration screens. | |||
Go to | |||
Administration → Users → User Configuration | |||
Change the field "Default user date format" to mm/dd/yyyy. | |||
This will change all dates displayed in Self Service for all visitors (Authenticated and Anonymous). | |||
ref: https://www.sagecity.com/sage-global-solutions/sage-crm/b/sage-crm-hints-tips-and-tricks/posts/sage-crm- | |||
2020-r1-controlling-the-date-display-format-in-self-service#:~:text=A%20customer%20had%20the%20requirement,format%20dd%2Fmm%2Fyyyy. | |||
Latest revision as of 16:58, 12 January 2021
CRM will only allow one instance per server of CRM be the self-service portal
Troubleshoot
To re-register the server open a command prompt and navigate to the wwwroot folder within the CRM folder structure. Typically this is 'C:\Program Files\Sage\CRM\CRM\WWWRoot' Once there type
regsvr32 eware.dll
A Message should appear to confirm that the eware.dll has been registered. Typically if this is required you will also need to reset the registry settings to point to the correct CRM database also.
Self-Service check list
1. Registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\eWare\SelfService] "SSDbDatabaseDriver"="MSSQL" "SSDbEntDatabaseDriver"="MSSQL" "SSDbDatabaseServer"="servername\\crmsqlexpress" "SSDbUserName"="sa" "SSDbEntDatabaseServer"="servername\\crmsqlexpress" "SSDbEntUser"="sa" "SSDbDatabaseName"="CRMSelfService" "SSDbEntDatabaseName"="CRM" "SSDbPassword"="password" "SSDbEntPassword"="password"
2. Database
--SQL to create the database
USE [master]
GO
CREATE DATABASE [CRMSelfService] ON PRIMARY
( NAME = N'CRMSelfService', FILENAME = N'CRMSelfService.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CRMSelfService_log', FILENAME = N'CRMSelfService_log.LDF' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
ALTER DATABASE [CRMSelfService] SET COMPATIBILITY_LEVEL = 100
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [CRMSelfService].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [CRMSelfService] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [CRMSelfService] SET ANSI_NULLS OFF
GO
ALTER DATABASE [CRMSelfService] SET ANSI_PADDING OFF
GO
ALTER DATABASE [CRMSelfService] SET ANSI_WARNINGS OFF
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Visitor](
[Visi_VisitorId] [int] IDENTITY(1,1) NOT NULL, [Visi_VisitorKey] [nvarchar](50) NULL, [Visi_LogonId] [nvarchar](30) NULL, [Visi_Password] [nvarchar](12) NULL, [Visi_PersonId] [int] NULL, [Visi_CompanyId] [int] NULL, [Visi_IpAddress] [nvarchar](15) NULL, [Visi_Salutation] [nvarchar](10) NULL, [Visi_FirstName] [nvarchar](30) NULL, [Visi_LastName] [nvarchar](40) NULL, [Visi_MiddleName] [nvarchar](30) NULL, [Visi_Suffix] [nvarchar](20) NULL, [Visi_Gender] [nvarchar](6) NULL, [Visi_Title] [nvarchar](30) NULL, [Visi_TitleCode] [nvarchar](15) NULL, [Visi_CompanyName] [nvarchar](60) NULL, [Visi_PhoneCountryCode] [nvarchar](5) NULL, [Visi_PhoneAreaCode] [nvarchar](20) NULL, [Visi_PhoneNumber] [nvarchar](20) NULL, [Visi_FaxCountryCode] [nvarchar](5) NULL, [Visi_FaxAreaCode] [nvarchar](20) NULL, [Visi_FaxNumber] [nvarchar](20) NULL, [Visi_EmailAddress] [nvarchar](50) NULL, [Visi_Address1] [nvarchar](40) NULL, [Visi_Address2] [nvarchar](40) NULL, [Visi_Address3] [nvarchar](40) NULL, [Visi_Address4] [nvarchar](40) NULL, [Visi_Address5] [nvarchar](40) NULL, [Visi_City] [nvarchar](30) NULL, [Visi_State] [nvarchar](30) NULL, [Visi_Country] [nvarchar](30) NULL, [Visi_PostCode] [nvarchar](10) NULL, [Visi_Language] [nvarchar](5) NULL, [Visi_CreatedDate] [datetime] NULL, [Visi_UpdatedDate] [datetime] NULL, [visi_userid] [int] NULL
) ON [PRIMARY] GO CREATE TABLE [dbo].[VisitorProfile](
[Prof_ProfileId] [int] IDENTITY(1,1) NOT NULL, [Prof_VisitorID] [int] NULL, [Prof_ProfileType] [nvarchar](30) NULL, [Prof_Details] [nvarchar](120) NULL, [Prof_CreatedDate] [datetime] NULL, [Prof_UpdatedDate] [datetime] NULL
) ON [PRIMARY] GO
3. Date format
The customer wanted the dates within Self Service to be shown mm/dd/yyy.
This can be accomplished by changing a value in the User Configuration area within the Administration screens. Go to
Administration → Users → User Configuration
Change the field "Default user date format" to mm/dd/yyyy.
This will change all dates displayed in Self Service for all visitors (Authenticated and Anonymous).
ref: https://www.sagecity.com/sage-global-solutions/sage-crm/b/sage-crm-hints-tips-and-tricks/posts/sage-crm- 2020-r1-controlling-the-date-display-format-in-self-service#:~:text=A%20customer%20had%20the%20requirement,format%20dd%2Fmm%2Fyyyy.