Self-Service: Difference between revisions

From Sage CRM Knowledge Base
No edit summary
No edit summary
 
(7 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
----


----
1. Registry


1. Regsitry
  [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
2. Database


--SQL to create the database
 
USE [master]
  --SQL to create the database
GO
 
CREATE DATABASE [CRMSelfService] ON  PRIMARY  
  USE [master]
( NAME = N'CRMSelfService', FILENAME = N'CRMSelfService.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
  GO
LOG ON  
  CREATE DATABASE [CRMSelfService] ON  PRIMARY  
( NAME = N'CRMSelfService_log', FILENAME = N'CRMSelfService_log.LDF' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
  ( NAME = N'CRMSelfService', FILENAME = N'CRMSelfService.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
GO
  LOG ON  
ALTER DATABASE [CRMSelfService] SET COMPATIBILITY_LEVEL = 100
  ( NAME = N'CRMSelfService_log', FILENAME = N'CRMSelfService_log.LDF' , SIZE = 576KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
  GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
  ALTER DATABASE [CRMSelfService] SET COMPATIBILITY_LEVEL = 100
begin
  GO
EXEC [CRMSelfService].[dbo].[sp_fulltext_database] @action = 'enable'
  IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
end
  begin
GO
  EXEC [CRMSelfService].[dbo].[sp_fulltext_database] @action = 'enable'
ALTER DATABASE [CRMSelfService] SET ANSI_NULL_DEFAULT OFF  
  end
GO
  GO
ALTER DATABASE [CRMSelfService] SET ANSI_NULLS OFF  
  ALTER DATABASE [CRMSelfService] SET ANSI_NULL_DEFAULT OFF  
GO
  GO
ALTER DATABASE [CRMSelfService] SET ANSI_PADDING OFF  
  ALTER DATABASE [CRMSelfService] SET ANSI_NULLS OFF  
GO
  GO
ALTER DATABASE [CRMSelfService] SET ANSI_WARNINGS OFF  
  ALTER DATABASE [CRMSelfService] SET ANSI_PADDING OFF  
GO
  GO
SET ANSI_NULLS ON
  ALTER DATABASE [CRMSelfService] SET ANSI_WARNINGS OFF  
GO
  GO
SET QUOTED_IDENTIFIER ON
  SET ANSI_NULLS ON
GO
  GO
CREATE TABLE [dbo].[Visitor](
  SET QUOTED_IDENTIFIER ON
  GO
  CREATE TABLE [dbo].[Visitor](
[Visi_VisitorId] [int] IDENTITY(1,1) NOT NULL,
[Visi_VisitorId] [int] IDENTITY(1,1) NOT NULL,
[Visi_VisitorKey] [nvarchar](50) NULL,
[Visi_VisitorKey] [nvarchar](50) NULL,
Line 72: Line 96:
[Visi_UpdatedDate] [datetime] NULL,
[Visi_UpdatedDate] [datetime] NULL,
[visi_userid] [int] NULL
[visi_userid] [int] NULL
) 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,
[Prof_VisitorID] [int] NULL,
[Prof_VisitorID] [int] NULL,
Line 81: Line 105:
[Prof_CreatedDate] [datetime] NULL,
[Prof_CreatedDate] [datetime] NULL,
[Prof_UpdatedDate] [datetime] NULL
[Prof_UpdatedDate] [datetime] NULL
) 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).


3.
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.