Sage CRM 7.2 System Administrator Guide
Sage CRM 7.2 System Administrator Guide
Sage CRM 7.2 System Administrator Guide
7.2 System
Administrator
Guide
© Copyright 2013 Sage Technologies Limited, publisher of this work. All rights reserved.
No part of this documentation may be copied, photocopied, reproduced, translated, microfilmed, or otherwise duplicated on
any medium without prior written consent of Sage Technologies Limited.
Use of the software programs described herein and this documentation is subject to the End User Licence Agreement
enclosed in the software package, or accepted during system sign-up.
Sage, and the Sage logo are registered trademarks or trademarks of The Sage Group PLC. All other marks are trademarks or
registered trademarks of their respective owners.
Contents
Chapter Summary
Part I: Getting Started
Chapter Description
Chapter Description
Teams What Teams are used for, how to set them up, and how
to assign users to teams.
User Activity How to view user activity by user and for all users.
User Templates How to set up a new user template, and how to set up a
new user using a template.
Chapter Description
List Customization How to customize the layout and content of lists and
grids.
Tab Customization How to modify and add tabs, and how to use System
Menus to customize the look and feel of the
Administration work area.
View Customization How to modify existing views and create new ones.
Chapter Description
Key Attribute Profiling How to set up dynamic sets of data for use in marketing
campaigns, groups, and outbound call handling.
1-2 Sage CRM
Chapter 1: About This Guide
Chapter Description
Data Upload How to load company and lead data into CRM from
CSV and MS Excel spreadsheet format.
Chapter Description
Embedded E-mail Editor How to set up e-mail templates and To and From
addresses.
Classic Outlook Integration How to enable a user for Classic Outlook Integration,
and information on what data gets synchronized
between CRM and Outlook.
Lite Outlook Plug-in Download the files required to roll out the Lite Outlook
Plug-in for Sage CRM (Cloud) using Active Directory
Group Policy.
E-marketing Configuration How to set up and manage E-Marketing for Sage CRM.
Crystal Reports How to set up Crystal Reports for use within the
system.
Chapter Description
1-4 Sage CRM
Chapter 2: Administration Overview
Administration button
Click on the Administration button and briefly review the Administration home page. This page lists
the broad administration areas in the system and provides a description of each area. From here (or
from the Administration menu on the left hand side of the screen) you can drill down to individual
home pages for each broad administration area. The individual home pages group related
administration tasks and describe each of them. For example, the Users home page includes links
to the following areas: user setup, user template creation, user configuration, team creation,
security settings and profile setup.
If you are familiar with CRM administration already, you can quickly navigate by right-clicking on
the Administration menu button and selecting the option you want to work on.
In-Product Help
Help is context sensitive. Every Administration screen has a corresponding Help action button—
typically located on the right-hand side of the screen—and corresponding System Administrator
Help file. Depending on which screen, context, or mode you are in, clicking on the available Help
button displays the help topic most closely related to what you are trying to do.
setup.
l The Save & New button saves the new user and displays the User panel again so that you
can create the next new user. This is useful if you need to create several new users
sequentially.
l The Cancel button cancels the user details you have added.
setup.
l The Save & New button saves the new user and displays the User panel again so that you
can add the next new user. This is useful if you need to create several new users
sequentially, and there is no need to review the User Preferences in Step 3.
l The Previous button returns you to the New User Setup, Step 1 of 3 page. You need to re-
enter the password if you go back to the previous page.
l The Cancel button cancels the user details you have added.
3-2 Sage CRM
Chapter 3: User Setup
can add the next new user. This is useful if you need to create several new users
sequentially.
l The Set To System Defaults button resets the user preferences to the default settings from
the Default User Template.
l The Previous button returns you to the New User Setup, Step 2 of 3 page.
l The Cancel button cancels the user details you have added.
Field Description
User Name User's logon ID. For example Mayes. Note: A user
name entered with a leading or trailing space will be
trimmed automatically to remove these.
Field Description
Primary Team The default team that is displayed when the user
clicks on the Team CRM button. It is also the only
team that is displayed if no teams have been
selected in the Display Teams field.
Resource Set to True, the user exists in the user table and is
selectable from all user selection lists in the system.
However, the user does not have rights to log into
the system (and does not require a user license).
This means that, for example, a meeting room
resource can be set up as a “user” to facilitate
meeting scheduling, without using up a user license.
3-4 Sage CRM
Chapter 3: User Setup
Field Description
When the Administration field is switched from No Admin Rights to Info Manager, the following
features* become available to the user:
*assuming the license and services are enabled for these features.
If the Administration field is set to Info Manager, the user can also be assigned specific sub-sets of
rights from the Info Admin Rights field.
Remember you can use Ctrl + click to select multiple sets of rights.
3-6 Sage CRM
Chapter 3: User Setup
Name Cleanup
Notifications
Field Description
Department Department.
Display Team The Team "queues" that the user is allowed to view
from the Team CRM button.
User SMS Notification If SMS features are being used, setting this to True
allows a user to be sent an SMS notification
message to their mobile phone when
communications are created for them. The Mobile E-
mail Address field must be correctly filled in for this
to work.
3-8 Sage CRM
Chapter 3: User Setup
Field Description
Mobile E-mail Address Mobile phone e-mail address. If the user’s mobile
phone e-mail address is different from their normal e-
mail address, enter it here.
Field Description
Profile Name The security profile assigned to the user. Select from
a list of existing profiles. If no profiles are set up, this
defaults to the System Administrator's security
profile, Profile 1. Please see Adding a New Security
Profile (page 4-3) for more information.
Mobile Device Access Set to True or False to allow access from a mobile
device.
External Logon Allowed Indicates whether the user can access CRM from a
remote location. Only available in systems with the
Extensibility Module (EM). In order for third-parties to
access the COM interface, they need to access
Sage CRM as a user with External Logon Allowed
set to True. For example, a user with this privilege is
required for the Exchange server to access Sage
CRM for Exchange Synchronization. Similarly, Self
Server ASP pages would need to access the system
in this way.
Change P/W At Next Logon Set to True, the user is required to change their
Field Description
password the next time they log on. Once they have
done so, this is automatically set back to False.
Password Never Expires Set to True, the password is only changed when the
user wishes, or when the System Administrator
resets it.
Cannot Change P/W The password can only be changed by the System
Administrator.
My CRM Lists Sets access to lists in the My CRM area. This can
be set so a user sees only their own lists of pending
work in the My CRM area list or lists of all other
users.
Team Lists Sets access to the Team CRM area. This can be set
so a user sees their Primary and Display Teams
(User's Team), all teams, or none.
3-10 Sage CRM
Chapter 3: User Setup
Field Description
Merge Persons/Companies Set to Yes, this gives the user rights to deduplicate
people and companies using the merge functionality.
Field Description
Allow Web Service Access Set to True, enables the current user for Web
Service access.
Info Admin Rights One or more specific Info Admin rights can be
selected, if the Administration field has been set to
Info Manager. See Giving a User Info Manager
Rights (page 3-5) for more details.
Field Description
Log Me In To Determines the default first page when you log on.
For example, Dashboard, Calendar, Case List, or
Opportunity List. It is possible to add a new drop-
down entry via Administration | Customization |
Translations to allow users to see a .ASP or .NET
page as their first page. The caption family for this
drop-down list is DefaultToDo. Enter the custom
page name in the Caption Code field, for example,
3-12 Sage CRM
Chapter 3: User Setup
Field Description
Empty Recent List For The Recent List "remembers" the most recent pages
Each Session you have visited in CRM. Selecting Yes empties the
Recent List each time you log off and back on again.
Recent List Activation By Options available are Click and Hover, as the
Recent List can be viewed by clicking on or hovering
over the Recent button.
Pop Out List Activation By Select from Hover or Click. You can hover or right-
click on the New and Find menu buttons to activate
the Pop Out lists.
My Default Find Screen Determines the Find screen that appears at the
beginning of a session. The system "remembers"
your last Find, until you change it. This means you
can set your default Find screen to be Company.
However, as soon as you search by Person, the
next time you press Find, the person Find page is
displayed.
Advanced Find, which is a feature that allows users
to build SQL queries, is also an option.
Show Solutions In My CRM Makes the Solutions tab available in the My CRM
work area.
Show Outbound Calls In Makes the Outbound Calls tab available in the My
My CRM CRM work area.
Show Leads Pipeline Displays the graphical pipeline of leads in the Leads
tab within My CRM and Team CRM.
E-mail Screen Position The way in which the New E-mail screen is
Field Description
Line Item Screen Position The way in which the Line Item screen is displayed.
Select from Popup or Split.
Report Print Preview The default page size used on the Report Display
Default Orientation Options page for producing a report in PDF format.
On-screen Coaching There are four options available when specifying on-
screen coaching for a user:
On turns coaching on for all screens for which it is
available. With this setting, the full coaching content
is displayed in a panel at the top any screens that
have coaching content.
Off turns all coaching off.
With the Minimized setting, the coaching panel does
not appear automatically at the top of the screen.
Instead, users can click on the Maximize On-screen
Coaching button to view the full frame for an
individual screen. This setting might be employed for
users who are familiar with CRM and might need to
view coaching only rarely.
The Customized setting allows users to minimize
coaching on some screens while leaving it
maximized on others.
Full Menu In Outlook Field applies to Classic Outlook Integration only, and
3-14 Sage CRM
Chapter 3: User Setup
Field Description
Preferred Theme Select from a list of themes to change the look and
feel of the user interface.
Note: System Help and Self Service are not affected
by Themes.
CSV File Export Delimiter Set the delimiter as comma, semi-colon, or tab.
When you use the Export To File button on, for
example, the results of a company search, the CSV
export will use the delimiter you have set. This
setting does not affect the Excel CSV format, which
is always tab delimited. Please refer to the CSV
Input/Output Matrix (page 3-17) for more details.
This setting also impacts data uploads from CSV
files. Please make sure the delimiter in the import file
matches the delimiter set in My CRM | Preferences.
Default Screen For Sets the default tab which is displayed when you drill
Company into a Company. Set to Summary to display the
Summary tab or Interactive Dashboard to display the
Dashboard tab.
Default E-mail Template The default e-mail template used when using the
Embedded E-mail Editor.
Default E-mail Address The default From e-mail address used in the New E-
mail screen. You can change your default From
address if you have been given permission to send
e-mails from other accounts.
Default Tablet Version Set to Desktop Version if you want to use the desktop
version of Sage CRM from a tablet device. Set to
Tablet Version is you want to use the Tablet theme
from a tablet device.
Calendar Start Time Determines the start time of the calendar view on
Field Description
Calendar End Time Determines the end time of the calendar view on
communications, and the shaded area in the meeting
planner.
Time Zone Each individual user's time zone can be set. There
are 75 time zones to select from. The one you select
defines what daylight settings are used, so you must
be careful in selecting the correct zone. The zone
you select also needs to correspond exactly to your
computer setting.
All times are relative to the logged on user. For
example, a meeting made at 09:00 GMT.... by one
user appears at 10:00 to users in +1:00 GMT.... The
time zone of the server is set by the System
Administrator.
If you need to add a new time zone to the list, this
can be done via Administration | Translations. For
one new time zone, three new entries should be
added - one for each of the caption families
TimeZoneDelta, TimeZoneDeltaJava, and
TimeZoneDeltaUTC. Follow the exact format of the
existing entries. This ensures that functionality
dependent on the time zone setting remains fully
functional.
3-16 Sage CRM
Chapter 3: User Setup
Field Description
Default Targets For High The way in which the reminder is sent out for a high
Priority Reminder priority Communication, if the Send Reminder
Messages Message check box was checked.
Default Targets For Normal The way in which the reminder is sent out for a
Priority Reminder normal priority Communication, if the Send
Messages Reminder Message check box has been checked.
Default Targets For Low The way in which the reminder is sent out for a low
Priority Reminder priority Communication, if the Send Reminder
Messages Message check box was checked.
Input Output
Input Output
CSV LE 01”<Tab>=”00-
001”<Tab>=”T-
est, 02”<CR
LF>
Note: For Excel CSV, if a field contains <tab> or <CR LF> these characters will not be present in
the exported file.
3-18 Sage CRM
Chapter 3: User Setup
3-20 Sage CRM
Chapter 3: User Setup
6. Select an individual user or a Team to reassign the disabled user’s records to.
7. Select the check boxes in the Reassign Companies and People panel
l Companies - reassigns the Account Manager of the company either to the selected user, or
Deleting a User
Deleting a user should be carried out with extreme caution and is only recommended if you have
added a new user by mistake. If a user is no longer with your organization, it is recommended that
you use the Disable, or Reassign and Disable feature. Please refer to Using Reassign and Disable
(page 3-20) for more information.
If a deleted user has any records still associated with them at the time of deletion, the associated
records remain, however the user name on the record is replaced with an untranslated code, making
it very difficult to keep an accurate customer history. If a user has any related records, it is
recommended these records are reassigned first, or the disable feature rather than the delete
feature is used.
To delete an existing user:
1. Select Administration | Users | Users. The Find page is displayed.
2. Type in the user's Last Name.
3-22 Sage CRM
Chapter 3: User Setup
You initially identify five different types of access rights or profiles, which map directly to the five
main departments in your organization:
l Sales
l Marketing
l Operations
l Services
l R&D
After consultation with the managers in the different business areas, you decide on the following
profiles:
4-2 Sage CRM
Chapter 4: Security Management
4. Click on the hyperlink of the new profile. The Security Profiles page is displayed.
A panel called Rights is displayed, allowing you to define the security profile’s access rights
to the primary entities. In addition, these rights can be specified according to territory. For
example, a user assigned Sales profile could have rights to view, edit, insert, and delete
Cases within their home territory—US East, for example—but be restricted to viewing and
editing cases in other territories such as US West or US Central.
5. Select the View/Edit/Insert/Delete check boxes.
6. Select the Save button. The list of existing profiles is displayed showing the access rights set on the
new profile.
You can edit all the existing profile rights on one page by selecting the Edit All Rights button.
Note: You must have at least edit rights on an entity to be able to add or edit Address, Phone and E-
mail, Notes, and Library records for that entity. For example, if you only have View rights on a
Company, you cannot edit or add information in the Addresses or Phone and E-mail tabs of that
company. Another example is if you only have View rights on Cases, you cannot edit or add notes
or library items on an existing case.
4-4 Sage CRM
Chapter 4: Security Management
You initially identify three territories at the highest level, with four further geographical territories
within one of them:
l Europe
l Germany
l Benelux
l UK
l Ireland
l Asia
l Middle East
To add a new territory:
1. Click on Administration | Users | Security. The Security and Territory Administration page is
displayed.
2. Select New Territory. The New Territory page is displayed, showing a list of existing territories. By
default, this includes the highest level territory, Worldwide. This territory cannot be deleted. All new
territories added are subordinated to the Worldwide territory.
3. Select the parent territory from the list of the existing territories, that will serve as the hierarchical
"parent" of the new territory you are adding. Since this is the first territory you are adding, the Parent
territory name remains as Worldwide.
4. Type the name of the territory in the New Territory Name field, for example, Europe.
5. Select the Save button. The Territory page is displayed, showing the new territory hierarchically
subordinated, as a "child", to the Worldwide territory.
6. Continue to add the remaining territories, making sure you change the parent territory if it is
different. The Parent territory name defaults to the territory, where the cursor is positioned, when
you select the New Territory button.
Note: The standard capacity for a territory structure is 16 "child territories" on each territory, and five
territory levels deep. A complex territory structure may require the expansion of the standard
capacity. Please refer to Rebalancing Territories (page 4-12) for more information.
4-6 Sage CRM
Chapter 4: Security Management
To work through the examples in this section, you may find it helpful to set up at least one user for
each territory, as shown in the diagram. These users should be assigned to the Sales profile you set
up in the previous section.
l The Territory field shows the user's assigned Home Territory and all subordinated or child
territories.
l If you log on as Mike Weiss, you should see Europe and Europe's child territories: Germany,
Benelux, UK, and Ireland.
l You can decide whether to assign this record to the Europe territory or the UK, Ireland, Benelux, or
Germany territory.
l If you assign to Europe, only users who have Europe (or Worldwide) as their Home Territory can
access this record—Mike Weiss and the System Administrator.
l If you assign to Germany, users who have Europe or Germany as their Home Territory can access
this record—Mike Weiss and Anders Brecht.
4-8 Sage CRM
Chapter 4: Security Management
Rules Table
Maintaining Territories
Territories play an important role in organizing and securing data in Sage CRM. When you move,
merge, or need to add more territories than the standard capacity, a process of Rebalancing needs
to take place. Rebalancing allows the system to update the territory hierarchy, and the associated
security rights.
Before rebalancing takes place, it is recommended procedure for the System Administrator to:
l Make sure all Sage CRM users are logged off the system. The System Administrator should inform
users, typically via e-mail, when rebalancing will take place and ask them to remain logged out of
Sage CRM for the few minutes that it takes for a rebalancing to execute.
l The System Administrator can check whether any users remain on the system by selecting
Administration | Users | User Activity and viewing the information displayed in the Current
Activity tab. Please refer to Viewing User Activity for All Users (page 6-1) for more information. The
System Administrator can also manually force users to log off by using Lock System. Please refer to
Lock the System (page 42-9) for more information.
l Backup the Sage CRM database.
4-10 Sage CRM
Chapter 4: Security Management
Editing Territories
The Edit Territory option allows you to change the name of existing territories and delete territories
that are not involved in current transactions or do not contain sub-territories.
To edit a territory name:
1. Select Administration | Users | Security.
2. Select the Edit Territory icon from the Security and Territory Administration page. The Edit Territory
page is displayed.
3. Select the territory you want to modify from the list of territories.
4. Change the name in the Modified Territory Name field.
5. Click on the Save button to confirm changes. The modified territory name is displayed in the list of
territories.
To delete a territory, highlight the territory and click on the Delete button. The territory and any of its
"child territories" will be deleted. A territory cannot be deleted if it already has records assigned to it.
You cannot delete the Worldwide Territory.
Moving Territories
Moving a territory to a new position in the tree structure can expand or restrict the rights of users
associated with that territory. For more information on how territories govern access to information,
please refer to Implementing Territories in Practice (page 4-6).
In this example, using the standard demonstration data supplied with Sage CRM, we’ll move the
US-Marketing territory, which has Marketing as its parent, and make it a sibling territory of US and
Canadian territories by selecting US Canada as its new parent territory.
Note: Moving a territory requires rebalancing of the Territory tree structure. Please refer to
Maintaining Territories (page 4-10) for the recommended procedures to follow before rebalancing is
carried out.
To move a territory:
1. Select Administration | Users | Security.
2. Select Move Territory from the Security and Territory Administration page. The Move Territory
page is displayed.
3. Select the territory to be moved, the Source territory. For example, US-Marketing.
4. Click Next to continue.
5. Select the new parent for the territory, the Target territory. For example, US Canada.
6. Click Next to continue. The Move Territory page is displayed showing the Source and Target
territories.
Note: Before proceeding, the System Administrator should check that there are no users logged on
to the system, and that a backup of the CRM database has been made. Please refer to Maintaining
Territories (page 4-10) for the recommended procedures to follow before rebalancing is carried out.
7. Click Next to continue. A status bar is displayed showing that the territory move and rebalancing is
in progress. A message is displayed when the rebalancing process has completed.
8. Select the Continue button to return to the Move Territory page. The updated territory tree is
displayed on the Move Territory page.
Merging Territories
The modification of territory structures is a common feature of organizational change. Merge
Territory allows you to merge territories and the information and rights associated with those
territories.
For example, an organization is consolidating its operations and wishes to merge its US Central
office with its US West branch. In this situation, the US Central territory is the "source" territory that
will be absorbed into the "target" territory, US West.
Note: Merging a territory requires rebalancing of the Territory tree structure. Please refer to
Maintaining Territories (page 4-10) for the recommended procedures to follow before rebalancing is
carried out.
To merge territories:
1. Select Administration | Users | Security.
2. Select Merge Territory from the Security and Territory Administration page. The Merge Territory
page is displayed.
3. Select the Source territory to be moved, the Source territory. For example, US-Central.
4. Click Next to continue.
5. Select the Target territory. For example, US West. A check box allows you to specify whether or not
you want to move the users and user rights associated with the source territory into the target
territory. The check box is enabled by default.
6. Click on Next button to continue. The Merge Territory page is displayed showing the Source and
Target territories.
Note: Before proceeding, the System Administrator should check that there are no users logged on
to the system, and that a backup of the CRM database has been made. Please refer to Maintaining
Territories (page 4-10) for the recommended procedures to follow before rebalancing is carried out.
7. Click Next to continue. A status bar is displayed showing that the territory merge and rebalancing is
in progress. A message is displayed when the rebalancing process has completed.
8. Select the Continue button to return to the Merge Territory page. The updated territory tree is
displayed on the Merge Territory page.
Rebalancing Territories
The standard capacity for a territory structure is 16 "child territories" on each territory, and five
territory levels deep. A complex territory structure may require the expansion of the standard
capacity. If the System Administrator attempts to add more territories than the standard capacity, a
screen prompt is displayed, which tells them to rebalance the territory structure.
Rebalancing updates the territory hierarchy and the associated security rights, and allows the
System Administrator to continue adding territories.
Note: Please refer to Maintaining Territories (page 4-10) for the recommended procedures to follow
before rebalancing is carried out.
To rebalance the territory tree structure:
4-12 Sage CRM
Chapter 4: Security Management
Security Policies
Security Policies allow the System Administrator to set up additional security rights. When settings
within the Security Policies page are enabled, additional options are available in the Profile Rights
For drop-down list in the Security Profiles page. In addition, if the Allow Users Direct Rights In
Territories setting is set to Yes, an additional icon called User Rights is displayed in the Security
administration section. The security policies act as logical "OR"s to the existing Profile and Default
Territory settings.
Enabling Territory Settings (page 4-13)
Use Created By, Assigned To, and Team Special Territories (page 4-13)
Allow Absolute Territories In Profiles (page 4-14)
Use The User's Sibling Territories (page 4-15)
Use The User's Parent Territory (page 4-16)
Allow Users Direct Rights In Territories (page 4-16)
The Use Created By, Assigned To, and Team Special Territories settings allow the System
Administrator to cater for this type situation.
In this example, we will extend the profile rights of the Sales profile to View and Edit Opportunities
where the current Sales user is the "Assigned To" user on the Opportunity.
To extend the Sales profile rights:
1. Set the Use Created By, Assigned To, and Team Special Territories field to Yes.
2. In the "breadcrumb" trail indicating your position in the system, click the Security link to return to the
Security area.
3. Select the Security Profiles icon. The Security Profiles page is displayed. There is a field at the top
of the Profile rights panel, which shows the "special territories" Assigned To, Created By, and
Team. These are not true territories, just a means of displaying access rights to the administrator.
4. Select Assigned To from the Profile Rights For list. Profiles associated with the Assigned To
"territory" are displayed. There is also a new button, Add Profile To This Territory.
5. Select the Add Profile To This Territory button.
6. Select the Sales profile and click the Save button. The Security Profiles page is displayed.
7. Click on the hyperlink of the Sales profile. The Rights panel for the Sales profile can now be
edited. You cannot select Insert rights in the Assigned To "territory". This is because it is not a true
territory. The record must already exist for the user to have special rights outside their own territory.
8. Select the View and Edit check boxes within Assigned To | Opportunity.
9. Select the Save button. The Security Profiles page is displayed, showing the User’s Home security
profile rights.
All users associated with the Sales profile can now view and edit opportunities in their Home
Territory or child territories and any opportunities assigned to them, unless the opportunity has a
company or person assigned to it. If the opportunity has a company or person assigned to it, the
user must also have at least view rights on the company or person to be able to see the
opportunity.
You can edit the Sales User’s Home Territory rights and Assigned To rights by clicking on the
Sales profile hyperlink.
Follow the steps outlined above to set up rights where the user's Primary Team matches the
Team on the entity, or where the user matches the Created By field on the entity.
4-14 Sage CRM
Chapter 4: Security Management
8. Select the Save button. The Security Profiles page is displayed, showing the User’s Home Security
profile rights. All users associated with the Operations profile can now view opportunities in Europe
(and child territories).You can edit the Operations User’s Home Territory rights and Assigned To
rights by clicking on the Operations profile hyperlink.
10. Select the Save button. The Security Profiles page is displayed, showing the User’s Home Security
profile rights. Users associated with the Sales profile, who have Germany, Benelux, UK, or Ireland
as their Home Territories, can now view opportunities in any of these territories.
Rights panel
9. Check the Delete box within Opportunity. These rights are applied in addition to the rights the user
already has in their associated Profile and Home Territory.
10. Select the Save button. The User Rights page is displayed. Mike Weiss has all the same rights as
users associated with the Sales profile. In addition, he has rights, specific to him, to delete
opportunities in Europe (and child territories).Since these rights are specific to an individual user,
they can also be edited from the Administration | Users page.
4-16 Sage CRM
Chapter 4: Security Management
Administration field in the Administration | Users | Users | User Details tab set to System
Admin.
l Info Managers - this password security profile applies to all users who have the
Administration field in the Administration | Users | Users | User Details tab set to Info
Manager.
l Ordinary Users - this password security profile applies to all users who have the
Administration field in the Administration | Users | Users | User Details tab set to No
Admin Rights.
4. Make the changes to the password security options.
5. Select the Save button.
6. The list of password security profiles is displayed.
When the user next changes their password, a message is displayed if the password does
not meet the strength tests set up in Password Security Options.
The table below explains the fields on the Password Security Options page.
Field Description
Check User Name Checks that the User Name (Logon ID) and
Password are not identical.
Strong User Name This checks that the password does not match the
Field Description
4-18 Sage CRM
Chapter 5: Teams
What is a Team?
A team is a group of users who perform similar roles. In a small organization, this might mean that
all Sales Department users are part of the Sales Team. In a larger organization, there may be
Telesales, Direct Sales, and Field Sales teams.
By leaving the User field blank, but filling in the Team field in the task details, the calls are
scheduled for the whole team.
Direct Sales 70
Business Partner 30
By tracking team performance on the Opportunity and Communication level, additional information
can be extracted to improve future sales performance.
Direct Sales 80
Business Partner 10
5-2 Sage CRM
Chapter 5: Teams
Deleting a Team
To delete a team:
1. Click on Administration | Users | Teams. The Find page is displayed.
2. Type in the Team Description. A list of teams matching the search criteria is displayed.
3. Click on the hypertext link of the team you want to delete. The Team Details page is displayed.
4. Select the Delete button.
5. Select the Confirm Delete button. The Team is deleted.
Any opportunities, leads, cases, or communications linked to a deleted team will remain, but the
Team field will be blank. Also, it will not be possible to select the team from the context area of
the screen from the Team CRM area.
Team fields
The table below explains the standard fields on the Team page.
Field Description
Broker Rule The Broker Rule is used when creating a task for a
group. If you pick a team and you do not explicitly
pick a broker rule, the system uses the broker rule
from the team if there is one. If there is none, the
default is “Queue”. For more information, please refer
to "Campaign Management" in the User Guide. The
Broker Rules are explained in the "Scheduling a Call
Back" section.
5-4 Sage CRM
Chapter 6: User Activity
2. Click on one of the four tabs to view the information you require (All User Activity, Currently Logged
In Users, Inactive Users, and User Summary).
6-2 Sage CRM
Chapter 6: User Activity
3. Select the age at which records are to be archived from the Records Older Than drop-down list.
You can select One Month, Three Months, Six Months or 12 Months. A message is displayed to tell
you how many records will be archived.
4. Select the Archive To File button. You are returned to the All User Activity page. A message is
displayed indicating how many records have been archived and the name of the file to which they
have been archived.
givenName user_ No
firstname
When an import is repeated, and the option to overwrite existing CRM user data is selected, only
data in the mapped fields is overwritten.
Import Users can be used by System Administrators, or by Info Managers with Info Admin User
Rights.
Note: If an Info Manager with Info Admin User rights has read-only access to any of the mapped
fields, the import does not take this into account, and the data will be added or overwritten.
7-2 Sage CRM
Chapter 7: Import Users
3. Click Connect. Once you have successfully connected to the LDAP (Lightweight Directory Access
Protocol) server, the Active Directory List is populated.
4. Select the node from the Active Directory List which contains users. You can use the Expand
Selected Node button to view the node contents and drill-down to select a single or organizational
group of users.
5. Select Continue.
The Import Users, Step 2 of 4 page is displayed.
The table below describes the fields on the Active Directory Parameters panel.
Field Description
LDAP Server Port Port number. If this field is left blank, then 389 is the
default port used.
Active Directory User ID This is a logon ID with access to navigate the Active
Directory tree. For example, testID@testdomain or
testdomain\testid. The logon is the
UserPrincipalName attribute taken from the Active
Directory user's properties.
Active Directory User Password for the logon ID specified in the Active
Password Directory User ID field.
User List List of users from the data source chosen in step 1.
This list can be modified by using the Filter fields,
the Select / Deselect buttons, and the check boxes
next to individual users. Note: The Select/Deselect
buttons apply to the current filter. Please also note
that the filtering in Step 2 applies to the data source
selected in Step 1 (it is not re-querying Active
Directory each time).
1. Enter the details on the Import Parameters panel. The fields are described in the table below.
2. Select Continue.
The Import Users, Step 4 of 4 page is displayed.
The table below describes the fields and options on the Import Users, Step 3 of 4 page.
7-4 Sage CRM
Chapter 7: Import Users
Field Description
Generate Random passwords are generated which follow the rules set in
Random Administration | Users | Security | Password Policies. Please see
Password Changing Password Policies (page 4-17) for more information.
This setting is not available if IIS Auto Login is enabled (from
Administration | Users | User Configuration).
Use The Sets the same password for all users in the import.
Same
Password For
All Users
Password Enter a common password for all users in the import. The
password must conform to the rules set in Administration | Users |
Security | Password Policies.
Overwrite Data in the mapped fields is overwritten. Please see About Import
Existing User Users (page 7-1) for a list of the mapped fields. All other CRM
Details properties, including the password, remain unchanged.
Resource Read-only. All users are imported with the Resource field set to
False.
Select E-mail A standard template for the welcome e-mail is supplied. This
Template includes "tokens" for the CRM user name logon ID, password,
and a link to access the system. The tokens are specially
formatted so that they cannot be reused anywhere else in the
Field Description
Re-importing Users
To re-import users following changes to their details in Active Directory:
1. Make sure the Remove Existing CRM Users From The List check box in Step 2 of 4 is not
selected.
2. Select the Overwrite Existing User Details check box in Step 3 of 4, and complete the import.
The users are re-imported. Only data in the mapped fields is overwritten. Please see About
Import Users (page 7-1) for a list of the mapped fields. All other CRM properties, including the
password, remain unchanged.
7-6 Sage CRM
Chapter 8: User Configuration Settings
User Settings
User configuration settings apply to all users who work with CRM, as opposed to individual users.
To change user configuration settings:
1. Select Administration | Users | User Configuration. The User settings page is displayed.
Field Description
Account Lockout Threshold Set to the number of times a user is allowed to enter
Field Description
Account Lockout Duration Set to a duration of minutes that the user has to wait
(Mins) before trying to logon to the system after being
locked out. For example, if this is set to 5, the user
can attempt another logon after 5 minutes of being
locked out of the system.
User Inactivity Timeout Set to a duration of minutes that will return the user
(Mins) to the logon page if they have remained inactive for
that period. For example, if this is set to 10 and the
user remains inactive for longer than 10 minutes,
they will be returned to the logon screen the next
time they try to do anything. Note: By default the IIS
user inactivity setting is 20 minutes, although this
can be changed. If the CRM setting is greater than
the IIS setting, the IIS setting will take effect. If the
CRM setting is less than the IIS setting, the CRM
setting will take effect.
Use IIS Auto Login Set to Yes, CRM uses windows NT Authentication
in IIS to validate the user.
Note: You need to have a clear understanding of
how Internet Explorer and IIS handle windows
authentication to enable this setting. Incorrect
settings, especially NTFS file level settings, can
result in access denied errors. Once the user is
authenticated with IIS using their NT password, that
user is looked up in the CRM user table. The user
password in CRM is ignored since the user has
already authenticated with Windows using their
windows password. If the authenticated user is not
found in the CRM user table an access denied error
message is returned to the browser. This will
normally result in the browser prompting the user for
their user name and password. By default Internet
Explorer will automatically validate the user if the
CRM server is in the Intranet security domain, but
8-2 Sage CRM
Chapter 8: User Configuration Settings
Field Description
Plug-in Version Specify the path to and the name of the current CRM
Plug-in file in this field. The current CRM Plug-in
resides on the CRM server and is downloaded if the
client-side value does not match the value specified
in this field.
Field Description
Manage CRM And Outlook Field applies to Classic Outlook Integration only,
Updates and is not available when Exchange Server
Integration in enabled. Please refer to Enabling
Exchange Server Integration (page 36-5) for more
information.
This option can be used when One Way
Synchronization is set to No, to help manage
conflicts that may arise if two people change the
same information in either system since the last
synchronization. Conflicts can be viewed via View
8-4 Sage CRM
Chapter 8: User Configuration Settings
Field Description
Field Description
Auto Sync (In Minutes) Field applies to Classic Outlook Integration only,
and is not available when Exchange Server
Integration in enabled. Please refer to Enabling
Exchange Server Integration (page 36-5) for more
information.
Specify the interval at which you want automatic
synchronization to take place.
Default User Date Format Specify the default date format for all users. For
example, mm/dd/yyyy or Month/Day/Year.
Individual users can override the default date format
in their user preferences.
Enable Security For Groups Set to Yes, the CRM user security profiles (Security
Profiles, Admin, and Policies) are applied to Groups.
8-6 Sage CRM
Chapter 9: User Templates
Template panel
3. Enter the template details on the Template panel. The fields are explained in the table at the end of
this section.
4. Select the Continue action button. The User Template Setup, Step 2 of 3 page is displayed.
The table below explains the standard fields on the Template panel.
Field Description
Template Name The name of the template you are about to create, for
example Sales User.
Primary Team The default team that is displayed when the user
clicks on the Team CRM button.
Field Description
User SMS Notification If SMS features are being used, setting this to True
allows a user to be sent an SMS notification
message to their mobile phone when
communications are created for them. Note the
Mobile E-mail Address field must be correctly filled
in for this to work.
Display Team The Team "queues" that the user is allowed to view
from the Team CRM button.
9-2 Sage CRM
Chapter 9: User Templates
Field Description
The fields on the Security panel are described in the setup of a new user. They just apply to the
template not the user in this case. Please refer to Security Panel Fields (page 3-9).
user setup.
Note: If you are confident that all of the default settings from the selected User Template are
applicable to this new user, then there is no need to go through steps 2 and 3 of the New
User Setup.
l The Save & New button saves the new user and displays the User panel again so that you
can create the next new user.
l The Previous button returns you to the New User Setup, Step 1 of 3 page.
l The New User Setup, Step 2 of 3 page is displayed. All the settings on this page are
defaults from the User Template you selected in the previous step.
5. Review the default settings, and adjust them for this specific user. You can also add user specific
details, such as title, department, phone, fax, and pager numbers. Refer to More User Details Panel
Fields (page 3-8) and Security Panel Fields (page 3-9) for an explanation of the fields.
6. Select the Continue button. The New User Setup, Step 3 of 3 page is displayed. All the settings on
this page are defaults from the User Template you selected in the Step 1 of the New User Setup.
7. Review the default settings, and adjust them for this specific user if you need to. Refer to User
Preference Fields (page 3-12) for more information on the fields.
8. Select the Save action button.
l The Save & New button saves the new user and displays the User panel again so that you
can add the next new user. This is useful if you need to create several new users
sequentially, and there is no need to review the User Preferences in Step 3.
l The Set To System Defaults button resets the user preferences to the preferences defined
in the Default User Template.
l The Previous button returns you to the New User Setup, Step 2 of 3 page.
9-4 Sage CRM
Chapter 9: User Templates
3. Enter the name of the new dashboard, and complete the fields on the Dashboard details page.
l Display Contents From - select from a list of existing standard classic dashboards to base
5. Click on the Add button next to the content you want to add.
l The content is added into the Narrow or Wide column lists on the right-hand side of the
page.
l Use the up and down arrow buttons to change the order of the classic dashboard content.
l To remove classic dashboard content, highlight the content in the column listing, then click
the minus button. Alternatively, you can navigate to the filtered list on the left-hand side of
the page, where the content is stored, and click the Remove arrow.
l The Clear button clears all the dashboard content.
For more information on setting up dashboard content, please refer to the Classic Dashboard
section in the User Guide.
6. When you have finished adding the standard classic dashboard content, select the Save button.
The standard classic dashboards list is displayed, showing the new dashboard you have created.
When a user logs on and selects the Dashboard tab for the first time, and chooses the Classic
Dashboard option, the standard classic dashboard is displayed.
The user can then decide to set this as their default classic dashboard to display every time they
click on the Dashboard tab, or they can set up another dashboard, and set this as their default
dashboard. If multiple dashboards already exist, but no default has been set, then the system
displays the first dashboard in the drop-down list to the user.
10-2 Sage CRM
Chapter 11: Translations
Renaming a Field
This example involves changing the field on the Company Search screen currently called Type to
be called Category.
To rename the field translation:
1. Switch on Inline Translation Mode.
2. Right click on the Find menu button and select Company from the pop out list. The company Find
page is displayed.
3. Click on the asterisk next to the caption field.
11-2 Sage CRM
Chapter 11: Translations
Translation page
The Caption Context field exists to help translators get as close as possible to the original
intended meaning of the word.
4. Type in the new translations and select the Save button.
5. Click on the Administration button.
6. Clear the Inline Translation Mode check box. The new translation can be viewed by returning to
the company Find page.
3. Enter the details of the new language (ISO codes are preferred for the Language Code).
4. Select the Save button. The new language can now be maintained from the Translation Details
page. The new language is also selectable from the Language field within user administration.
Field Description
Caption Code The system code that is stored—not what the user
sees on the screen. For example, LetterOut. This
11-4 Sage CRM
Chapter 11: Translations
Field Description
Caption Family The Caption Family groups the code. For example,
LetterOut, LetterIn, PhoneOut, PhoneIn all belong to
the Caption Family Comm_Action.
Caption Family Type The Type of Caption Family. For example, for a
selection list the family type is Choices.
Caption Order The order the caption appears in the selection list.
Customizing Help
Sage CRM help is installed with context-sensitive help, accessed by clicking on the help button
available on most screens in the system.
The help files are installed on the CRM server in the following locations:
l ..WWWRoot\HELP\EN\Main Menu for user help accessed from the Main Menu area.
l ..WWWRoot\HELP\EN\Administration for system administrator help accessed from the
Administration area.
There are a number of options available if you want to provide customized help to your users.
The following options can be carried out from within the system by a System Administrator:
l Customize on-screen coaching text. A fast and easy way to provide customized help on most
screens in the Main Menu area. Please refer to Adding and Editing Text for On-screen Coaching
(page 11-7) for more information.
l Change existing context-sensitive links to any *.HTM file which resides in either
..WWWRoot\HELP\EN\Main Menu\Content\User or
l The source files for CRM's help are created using Flare - a help authoring tool made by Madcap
Software. If you have the expertise and licenses to create a customized help project which mirrors
the Sage CRM help file structure, you can replace parts or all of the standard Sage CRM help with
your customized project.
l Alternatively, you can create help using the help authoring tool of your choice and replace part or
all of the standard Sage CRM help.
If either of these advanced options are used, two basic design criteria must still be met:
l The default help home pages for the Main Menu and Administration areas must be called
DEFAULT.HTM and reside in .WWWRoot\HELP\EN\Main Menu or
..WWWRoot\HELP\EN\Administration. This is the default file and location that CRM looks for if no
context-sensitive link has been set.
l The help content files must be *.HTM files and reside in ..WWWRoot\HELP\EN\Main
Menu\Content\User or ..WWWRoot\HELP\EN\Administration\Content\Administrator. Only files
meeting these criteria can be selected from the Inline Translation tool used to set up the context-
sensitive links. Please see Customizing Context-Sensitive Help Links (page 11-6) for more
information.
Note: Any changes made to the help must be maintained and backed up by the System
Administrator. Sage CRM is delivered with new help files and context-sensitive links with each
release. From 7.0 onwards, custom help files and links will be preserved on upgrade.
Help files
The list of files displayed here is filtered to display any *.HTM file which resides in either
..WWWRoot\HELP\EN\Main Menu\Content\User or
11-6 Sage CRM
Chapter 11: Translations
already being used on another screen. If you select this option, a new panel, Existing On-
screen Coaching Entries, is displayed, enabling you to choose an existing coaching
caption. When using this option, any changes you make to the on-screen coaching text
appear on all other screens that use this text.
l Clone Existing On-screen Coaching Text allows you to select and re-use text that is
already being used on another screen. As with the previous option, you can select an
existing caption from a list in the Existing On-screen Coaching Entries field. When you use
this option, any changes made to the on-screen coaching text will not appear on any other
screens.
7. Write the text you want to display in the on-screen coaching and select Save. You can use basic
HTML bold and bullet list commands to customize the way your on-screen coaching text is
displayed. The updated coaching caption is displayed at the top of the screen.
8. Select Administration | Customization | Translations.
9. Clear the Inline Coaching Captions Editing check box. The Add/Edit Coaching Text hyperlink is
removed from all screens.
11-8 Sage CRM
Chapter 11: Translations
4. Add the new translation. The Caption Code must match the column name, for example pers_
suffix, the Caption Family must be set to ColHelpText, and the Caption Family Type to Tags.
5. Type the text for the field-level help "hover tip" in the language translation fields.
6. Save.
7. Go to, for example, the Person Summary tab and select Change. A question mark icon is displayed
next to the Suffix field.
8. Hover over the question mark icon to view the help text.
Note: The help text for the field is displayed on all screens in "edit mode" where the field is
displayed. This includes search screens where the field is present. The help text cannot be
accessed from touch-screen devices.
Uploading Components
To upload a component to the server:
1. Select Administration | Customization | Component Manager. When you do this, the Components
page is displayed. If any components were previously installed on your system, they are listed on
this page.
2. From the Add Component panel, browse to the component ZIP file and select Open.
3. Select the Upload New Component button. The Component is added to the Available Components
list. The Available Components list displays all of the components that have been uploaded to the
server. All of these components are available to install. The list of available components displays
component descriptions unless a description is not available, in which case the component name
is displayed.
12-2 Sage CRM
Chapter 12: Component Manager
Installing Components
To install a component:
1. From the Components tab, select the component you want to install from the Available
Components list.
The View Details button allows you to view more information about the component before it is
uploaded, such as the version it was created in, and a detailed description of the component.
2. Select the Install Component button to install the component.
The next step depends on whether parameters were specified when the component was created.
Parameters give you choices as to the way in which the component gets installed.
l If parameters were specified, the Parameters, Step 1 of 2 page is displayed with a number
of fields. Complete the fields and select the Install Component button to continue installing
the Component. The Parameters, Step 1 of 2 screen may also be displayed without fields,
but with information about the component you are installing.
l If parameters are not specified, a message displays to inform you that parameters have not
been specified in the ECF file.
l Apply All Changes - this drop-down defaults to Yes. It allows you to overwrite existing
customizations made by installing previous components. In most cases, this drop-down
should be set to Yes. Selecting No preserves changes to the same objects made by a
previous component. Please refer to the Developer Help for more information.
l Preview Install - allows you to see the actual script that will be executed when the
component is installed, as well as a prediction of whether each step will be successful.
From the Preview Install, Step 2 of 2 page you can export the script to a CSV file for closer
examination.
3. Select Install Component to continue. If the Apply All Changes field was set to Yes, a dialog box is
displayed to warn you that changes from previous components will be overwritten.
4. Select OK to continue. Component Manager starts to install the scripts. This involves:
l Loading the new information.
The installation process may take a few minutes to complete. Progress information is displayed
while the component is being installed.
5. Once the component is installed you can select View Log File to view detailed information about
the install. The log file can also be viewed from Administration | System | Logging.
6. Select the Continue button. The Components tab is displayed, and the component you installed is
displayed in the list of installed components.
13-2 Sage CRM
Chapter 13: Field Customization
8. Select the Save button. The new Address Type check box is now visible and can be selected on
the Address Screen.
To add a new Person Type check box to the Person screen, follow the same steps using Link_
CompPers. New E-mail and Phone types can be added in a similar way using the Caption Families:
Link_CompPhon, Link_PersPhon, Link_CompEmai, and Link_PersEmai.
Case Description
Company Name
Lead Description
Opportunity Description
Order Reference
Person Name
Quote Reference
Solution Description
Campaign Name
Wave Name
You can customize Search Entity defaults from Administration | Translations. To change the default
search field on the Case Entity from, for example, Description to Reference ID, change the
translation in SS_ViewFields from Case_Description to Case_ReferenceId.
You can create a new search select advanced field to, for example, link to an existing opportunity
from the Opportunity Detail screen.
To create a search select advanced field:
1. Select Administration | Customization | Opportunity.
2. Ensure that the Fields tab is selected. The list of fields for the Opportunity table is displayed.
3. Click on the New action button. The Change Database Field Properties page is displayed.
4. Choose Search Select Advanced from the Entry Type field.
5. Add the Column Name, Caption, and select a Search Entity, for example Opportunity. Once you
specify a Search Entity, a number of non-standard fields are displayed.
6. If you are adding a Search Select Advanced field to the Opportunity Detail screen for example, you
may find it helpful to add the Assigned To View field to the search results, to help identify which
opportunity you should link to. You do not need to change anything within Administration |
Translations for this, just select Assigned To from the View Field list.
7. You can also restrict the search to be performed within the context of the current Person or
Company from the Default field. If you choose to leave this blank, a further option to restrict the
search would be to add a piece of SQL. If you leave both blank, the search is performed across the
13-4 Sage CRM
Chapter 13: Field Customization
whole database.
8. Select the Save button. The new field is added to the Opportunity table.
9. Add the new field to the Opportunity Detail screen:
10. To test out your changes, open My CRM | Opportunities and click on the New Opportunity button.
The Search Select Advanced field is displayed within the Details panel of the Opportunity. Refer to
Change Database Field Properties fields (page 13-14) for more information.
Deleting a Field
You can delete custom fields in CRM - i.e. any new fields, which you have added. It is
recommended practice that all users are logged off CRM when a field deletion is taking place, and a
backup of the database is available. Deleting a field is not reversible. If a mistake is made, restoring
the database backup is recommended.
If the field you wish to delete is not being used anywhere in the system, you will be asked to confirm
that you want to delete the field. If the field is in use within CRM, you will be presented with either a
warning or a refusal to delete. A warning is a notification that the field is in use elsewhere in the
system (in screens, lists or searches). You can still go ahead and delete the field if you wish. If the
field is being used in reports, scripts, views, groups, escalations, notifications, workflow, tab SQL,
or dashboards you will be refused permission to delete.
To delete a custom field in the Company entity:
13-6 Sage CRM
Chapter 13: Field Customization
4. The access rights to this field for "Everyone" are defined by default. In this example, all users who
have access to the Company screen featuring the SLA field can both see the field ("Read Access")
and change the contents of the field ("Write Access").
There are two check boxes for both the Read Access and Write Access sections: Allow and Deny.
By selecting a specific check box you can also affect the other check boxes in the row. For
example, when you select the Allow check box in the Write Access section, the Allow check box in
the Read Access section is automatically selected. If you select the Deny check box in the Read
Access section, the check boxes in the Write Access section become unavailable, indicating that
write access is irrelevant when a field is not viewable. In addition, the Required check box, which
indicates that the field must contain a value for the form to be successfully submitted, is also
inactive in this situation - a field that cannot be viewed cannot be marked as required.
Everyone Everyone
Susan Maye is a member of the Direct Sales team and has been assigned the Sales Manager
Profile. Susan Maye as an individual user might have write access for the SLA field. However, if
either the Direct Sales team or the Sales Manager Profile are denied write access, Susan Maye’s
personal settings are overridden and she cannot change the value contained by the SLA field.
Susan Maye’s access to the SLA field is ultimately defined by the "Everyone" rights that apply to
every user in the system.
To add security types for a field:
1. Select Administration | Customization.
2. Select the entity you want to view field security for. For example, Company.
13-8 Sage CRM
Chapter 13: Field Customization
3. Select the pencil icon from the Field Security column next to the field you want to review field
security for. For example, SLA. The Modify Field Security field is displayed.
4. Click on the New button. The New Field Security page is displayed.
5. Select User from the Select Security Type panel, and highlight the user you want to define Field
Security for from the list of users.
6. Click on the Save button. The Modify Field Security page is displayed, showing the new security
type for the individual user. The Allow check boxes in the Read Access and Write Access columns
are selected by default.
7. Tick the Deny check box in the Write Access column to restrict the user’s access of the field to view
(Read) only.
l If you leave the individual user’s read and write access set to Allow, but Everyone’s rights
are set Deny, then the individual user’s rights are also denied, even if they are showing as
allowed. This is because the deny access rights for Everyone override Susan Maye’s rights.
l This does not, however, work the other way around. This is because security types work to
define access rights to restrict access only. In other words, although security type A can
deny read or write access for type B, it does not enable access if the type B has already
been denied. If Susan Maye’s Write Access has already been set to Deny, even if
Everyone’s access is set to Allow on Read and Write, Susan Maye will not be able to
change the field’s value.
8. Click on the New button. The New Field Security page is displayed.
9. Select Profile from the Select Security Type panel, and pick the profile you want to define Field
Security for from the drop-down list of profiles. For example, Sales Manager Profile.
10. Click on the Save button. The Modify Field Security page is displayed, showing the new security
type for the profile. The Allow check boxes in the Read Access and Write Access columns are
selected by default.
Although the rights for the Sales Manager Profile specifies write access to the SLA field, Susan
Maye cannot change this field because the Deny check box for Write Access is checked in her row.
Other users that are assigned the Sales Manager Profile, however, will have read and write rights
for this field (assuming that they have not be denied access through another security
type).Selecting the Remove icon deletes the access rights associated with a particular security
type.
11. Select the Continue button to return to the Fields tab.
lead_description oppo_description
lead_source oppo_source
lead_mainproductinterest oppo_product
lead_details oppo_note
lead_waveitemid oppo_waveitemid
lead_companyname comp_name
lead_companywebsite comp_website
lead_companyrevenue comp_revenue
lead_companyemployees comp_employees
lead_personlastname pers_lastname
lead_personfirstname pers_firstname
lead_personsalutation pers_salutation
lead_persontitle pers_title
13-10 Sage CRM
Chapter 13: Field Customization
lead_personfaxcountrycode pers_faxcountrycode
lead_personfaxareacode pers_faxareacode
lead_personfaxnumber pers_faxnumber
lead_companyaddress1 addr_address1
lead_companyaddress2 addr_address2
lead_companyaddress3 addr_address3
lead_companyaddress4 addr_address4
lead_companycity addr_city
lead_companypostcode addr_postcode
lead_companystate addr_state
lead_companycountry addr_country
5. When you select the Save button, the mapping is displayed on the list of mappings. If you want to
change it, select the mapping hypertext link and make the changes you require.
6. Continue to create as many mappings as you require.
To view the effect of the mappings you created, create a new lead and convert it to an opportunity.
13-12 Sage CRM
Chapter 13: Field Customization
Entering the details for a new Lead field in the Field Properties page
Note that you should enable the mapping to the company field by selecting comp_
relationship as the Lookup Family
5. Go to Administration | Customization | Leads, and select the Screens tab.
6. Click on the hyperlink of the Lead Company Screen, and add the new field to the screen.
7. Go to Administration | Customization | Company, and select the Screens tab.
8. Click on the hyperlink of the Company Entry Screen, and add the new field to the screen.
9. Create a new lead, filling in the new field on the Lead page.
10. Match the lead to a new company. The new field, and the field selection, are carried over to the
Company page.
Map fields
3. Using the Fields drop-down lists, map the case field to the solution field. For example, case_
description to soln_description.
l Click the Include In Search check box if you want the mapped field to appear on the search
5. When you have finished mapping the fields, select the Continue button. You can check the
mapping is working by finding an existing case, selecting the Solutions tab, and clicking on New
Solution. The field mappings you created are displayed on the Solution Details page.
Standard Fields
Field Description
Entry Type Check boxes, free text, URLs, and so on. The Entry
Type defines how the information is input by the end
user. Additional fields may be available on the
Change Database Field Properties page depending
on the Entry Type you select. See the table below
for more details.
13-14 Sage CRM
Chapter 13: Field Customization
Non-standard fields
Field Description
Lookup Width Px The width of the selection list. Displayed when Use
Existing Lookup is selected in the Lookup Type field.
Selection Height The height of the selection list. For example, set to
zero, a drop-down selection list is created, where the
number of selections is greater than zero. Set to 10,
a drop-down selection list is created, where the
number of selections is greater than 10. If the list
only has three entries, and the selection height is set
to 10, then the field will be displayed as one long list,
rather than a drop-down field.
Search SQL Add SQL script that you want to run on the field.
Search Entity The entity you want Search Select Advanced fields
to search on by default.
Tied Fields If you want the user to be able to link to and search
for another entity, not just the default search entity,
from a single search select field, highlight the field
on Tied Fields.
For example, if you want the user to be able to pick a
case or an opportunity from a search select
advanced field, you create two search select
advanced fields, one for case and one for
opportunity. You then edit the opportunity search
select advanced field to make case Tied to it. Then
you add the opportunity search select advanced field
to the screen.
An example of where this exists in the system is the
Regarding field on the Communication table
(Administration | Customization | Communication |
Fields tab). From the user side, it can be viewed by
clicking on My CRM | New Task. The Regarding
Field Description
Search On All View Fields Enables users to search on all of the columns listed
in View Field.
Entry Types
Text With Check Box Entries of this type behave the same way as a
Search normal text field except when used on a search
screen or as a search field in a report or group. When
used on a search screen or as a search field, the
user can select from 'Has Value', 'Is Empty' or
'Either' radio buttons. The translations for these
13-16 Sage CRM
Chapter 13: Field Customization
Date Only User can enter the date in the field and use the
calendar, or a default system date can be set. The
default can be set to Current Date Plus Delta (in
minutes) or Current Date. Note: Date Only fields are
not time zone adjusted. The date value appears the
same to all users, regardless of what time zone they
are in.
Search Select Advanced Search Select Advanced allows a user to search for
records within an entry screen. It also enables users
to type in a few letters in a field, click the search
select advanced icon, and select an option from the
13-18 Sage CRM
Chapter 13: Field Customization
Date & Time Calendar and time. For example, Date & Time on the
Communication entry screen.
8. Click on the Update button. Then adjust the Position field on the preceding and subsequent fields if
necessary.
14-2 Sage CRM
Chapter 14: Screen Customization
9. Return to the Screens tab, and clear the Inline Customization check box to go back to "normal"
mode.
Field Description
14-4 Sage CRM
Chapter 14: Screen Customization
Field Description
l Explain the options for changing the way fields behave on a screen.
l Customize screens with the Client-Side API.
l Add HTML and generic JavaScript to the Custom Content field.
l Create server-side and client-side JavaScript in CRM.
Introduction
You can change the way fields behave on a screen via:
Field Security
A codeless of way securing access rights to fields across all screens. Please refer to Using Field
Security (page 13-7) in Field Customization for more information.
l Field Level functions - changing the way specific fields on a page behave. For example, setting a
background color or hiding a field.
l Page Level functions - changing the way parts of a screen behave. For example, setting an error
message, or adding a Print button to a screen.
l Advanced functions - these can be used in conjunction with other API calls, for example, to make
date comparisons.
Note: Client-side scripting is a tool for easily customizing the appearance of CRM screens and
lists to suit the way your users work. It is not a substitute for effective data validation or security on
your system. This should be still be handled by the existing security features of Sage CRM.
<script>
crm.ready(function()
{
// Add your script here
15-2 Sage CRM
Chapter 15: Advanced Screen Customization
});
</script>
l If you are adding the code into the OnChange Script field, it does not need to be enclosed with
<script></script>.
l Use single quotes only in the OnChange Script field. This also applies to the OnChange Script field
in Workflow Customization actions Set Column Value, Reset Column Value, and Display Fields for
Amendment.
l If you want to try the sample code, please remove any special character formatting which will
interfere with the code before pasting into CRM. Pasting into Notepad or a similar text editor before
copying and pasting for use with Sage CRM is a good way to do this.
l Make sure the first character of the Client-Side API function is lower case. For example,
crm.markRequiredFields.
<script>
crm.ready(function()
{
crm('comp_name').bold().highlight();
crm('comp_type').italic().underline();
});
</script>
4. Save.
5. Return to the Main Menu and search and open a company record. From the Company Summary
tab, the Company Name is bold and highlighted in yellow and the Company Type is italicized and
underlined.
<script>
crm.ready(function()
{
crm.markRequiredFields('pink');
});
</script>
4. Save. Then return to the Main Menu area and select New | Company.
<script>
crm.ready(function()
{
crm.addButton('print');
});
</script>
4. Save. Then return to the Main Menu area, search and open an existing lead.
if(crm('oppo_type').val() == 'Mix')
{
crm('oppo_channelid').val(4);
}
else if(crm('oppo_type').val() ==
'Consulting')
{
15-4 Sage CRM
Chapter 15: Advanced Screen Customization
crm('oppo_channelid').val(3);
}
else
{
crm('oppo_channelid').val(2);
}
crm('oppo_channelid').highlight('pink');
The first part of the script checks to see if the channelid field is present on the screen.
6. Click on the Update button, then the Save button.
7. Add a new opportunity and select Consulting from the Type list. A team value, in this case
Customer Service, automatically fills the Team field. If you change the opportunity type to Mix, a
different team value, in this case Marketing automatically fills the Team field, which is highlighted is
pink.
if (crm('comp_optout').val() == false)
{
crm.infoMessage('This company will not
receive any E-marketing communications');
}
else
{
crm.infoMessage(false);
}
Server-side
l Create Script. This script is run on the server when the screen is being created.
l Validate Scripts. This script is run on the server when the user clicks the Save button on the screen.
15-6 Sage CRM
Chapter 15: Advanced Screen Customization
Client-side
l OnChange Script. This script is run on the browser when the field that the script is attached to is
changed by the user.
You enter these scripts in the CreateScript, OnChangeScript, and ValidateScript fields in
Administration | Customization | <Entity> | Screens.
Note: There is a difference in syntax between server-side scripts and client-side scripts. This is
because server-side scripts have access to the current CRM Object's fields and properties,
whereas client-side scripts have access to the HTML Document Object Model (DOM). Please refer
to the Developer Help for more information on the CRM Object.
In addition, access rights to the field can be defined by the Field Security feature, which can be
selected from the Fields tab for an entity.
15-8 Sage CRM
Chapter 15: Advanced Screen Customization
The Modify Field Security Screen allows you to use check boxes to indicate whether particular
security types (an individual user, a team, a security profile, or "Everyone") has read/write access
to a field.
The JavaScript code written by an administrator cannot grant either read or write access to a user if
it is denied on this screen.
Note: Field-level scripts should use a single quoted character (') instead of a double quoted
character ("). For example, case_channelid=rec('user_primarychannelid'); instead of case_
channelid=rec("user_primarychannelid");. Double quoted characters (") in field-level scripts may
cause issues when installing scripted components.
Create Script (page 15-9)
OnChange Script (page 15-12)
Validate Script (page 15-15)
Create Script
Example 1
You can add a Create Script, which automatically sets the Company Status to None when a user,
whose Primary Team is Direct Sales, creates a new company.
Note: You need to attach Create Scripts to the field that they are to act on.
To add a Create Script:
1. Select Administration | Customization | Company.
2. Select the Screens tab. A list of customizable screens for the Company entity is displayed.
3. Click on the hyperlink of the Company Entry Screen. The Maintain Screen Definition page is
displayed.
4. Highlight the Company : Status field.
5. Enter the following script into the CreateScript field. Note that this script assumes that the
primarychannelid (primary team id) for the Direct Sales team is equal to 1.
if(CurrentUser.user_primarychannelid==1)
{
DefaultValue='None';
}
Note: The DefaultValue property can only be set when a new record is created, or in a field
created by a workflow action.
6. Click on the Update button, then the Save button.
7. Log off and back on as any user whose Primary Team is Direct Sales. Note that you do not need to
log off for the script to be activated, but you need to be in the Direct Sales team to see the effect.
8. Select the New menu button to create a new company. The Status field is automatically set to
None.
Example 2
This example adds a Create Script, which automatically sets a new company type to Competitor
and makes this field read only when William Dolan (DolanW) creates the company.
To add the create script:
1. Click on the hyperlink of the Company Entry Screen.
2. Highlight the Company:Type field.
3. Enter the following script in the CreateScript field:
if (Values("Act")==1200)
{
if(CurrentUser.user_logon=='DolanW')
{
DefaultValue='Competitor';
ReadOnly=true;
}
}
Note: The "if (Values("Act")==1200)" statement checks that the System Action is being
used. This is required to make the script apply during insertion only. Without this statement,
the script will work for updates, which means that the field in the screen is always locked
down as read only for the user. This script assumes that deduplication is enabled. Check in
Administration | System | System Behavior that the Deduplication field is set to Yes.
4. Select the Update button, then the Save button.
5. Log on as William Dolan. When you create a new company, the Type field is automatically set to
Competitor and is read only.
Example 3
This example adds a Create Script, which removes the Archive selection item from the Company
Status list when the System Administrator (Admin) creates a new company.
To add the Create Script:
1. Click on the hyperlink of the Company Entry Screen.
2. Highlight the Company: Status field.
3. Enter the following script in the CreateScript field:
if(CurrentUser.user_logon=='Admin')
{
15-10 Sage CRM
Chapter 15: Advanced Screen Customization
RemoveLookup('Archive');
}
4. Log in as the system administrator. When you create or update a new company, the Archive option
is no longer available on the Status list.
Note: The scripts in Examples 2 and 3 work in conjunction with whatever access settings may
have been defined in the Field Security interface because in both cases the scripts are restricting
access to the fields rather than widening it. In contrast, a script that specifies write access to a field
depending on the user’s ID will not take effect if that user has already been denied access in the
Field Security interface.
OnChange Script
Example 1
You can add an OnChange Script, which changes the Team assigned to an Opportunity depending
on the type of opportunity.
Note: You need to attach the OnChange Script to the field that you want to change.
To add the OnChange Script:
1. Select Administration | Customization | Opportunity.
2. Select the Screens tab. A list of customizable screens for the Opportunity entity is displayed.
3. Click on the Customize button beside the Opportunity Detail Screen. The Maintain Screen
Definition page is displayed.
4. Highlight the Opportunity: Type field within the Screen Contents panel.
5. Type the following script into the OnChange Script field:
if(typeof(oppo_channelid)!='undefined')
{
if(oppo_type.value=='Mix')
{
oppo_channelid.value='4'
}
else if(oppo_type.value=='Consulting')
{
oppo_channelid.value='3'
}
else
{
oppo_channelid.value='2'
}
}
The first part of the script checks to see if the channelid field is present on the screen.
6. Click on the Update button, then the Save button.
7. Add a new opportunity and select Consulting from the Type list. A team value, in this case
Customer Service, automatically fills the Team field. If you change the opportunity type to Mix, a
different team value, in this case Marketing automatically fills the Team field.
15-12 Sage CRM
Chapter 15: Advanced Screen Customization
Example 2
You can add an OnChange Script, which changes the company status to Inactive when the
company type is changed to Partner.
Note that you can use "this.value" in place of the actual field name when the script is being attached
to the actual field that is changing.
To add the OnChange Script:
1. Click on the hyperlink of the Company Entry Screen. The Maintain Screen Definition page is
displayed.
2. Highlight the Company: Type field and enter the following in the OnChangeScript field.
if(this.value == 'Partner')
{
comp_status.value = 'Inactive'
}
When you create or edit a company type and change the company type to Partner, the
Status field automatically defaults to Inactive.
Example 3
You can add an OnChange Script, which disables the Company Revenue field when the Company
Type is set to Partner.
To add the OnChange Script:
1. Click on the hyperlink of the Company Entry Screen.
2. Highlight the Company: Type field.
if (this.value == 'Partner')
{
comp_revenue.disabled='true';
}
Example 4
You can add an OnChange Script, which hides the company revenue field for companies with more
than 500 employees. This example also shows how you can use the visibility property of the HTML
DOM.
To add the OnChange Script:
1. Select Administration | Customization | Company, and select the Screens tab.
2. Click on the hyperlink of the Company Entry Screen.
3. Highlight the Company: Employees field.
4. Enter the following script in the OnChangeScript field.
if(this.value =='501+')
{
comp_revenue.style.visibility = 'hidden';
}
else comp_revenue.style.visibility =
'visible'
15-14 Sage CRM
Chapter 15: Advanced Screen Customization
Note: The above script hides the Revenue (comp_revenue) field when the user selects 501+. It will
not be run if the field is already set to 501+. To make this customization complete, you can add a
Create script to the comp_revenue as follows, and the field then remains hidden:
if (Values('comp_revenue')=='501+')
{
Hidden=true;
}
Validate Script
Example 1
This example adds a Validate Script, which checks the validity of the Opportunity Certainty field. If
the field value is set to less than 25%, it expects the Opportunity Priority to be set to Low. If this is
not the case, a validation error message is displayed to the user.
Note: You need to attach Validate Scripts in the field you want the valid error to show up against.
To add the Validate Script:
1. Select Administration | Customization, and select Opportunity Progress from the Secondary
Entities drop-down.
2. Select the Screens tab.
3. Click on the hyperlink of the Opportunity Status Box. The Maintain Screen Definition page is
displayed.
4. Highlight the OpportunityProgress: Priority field within the Screen Contents panel.
5. Type the following script into the Validate Script field.
custref=Values('oppo_customerref')+'';
if ((Values('oppo_type')=='License') &&
(custref.charAt(0)!='L'))
{ErrorStr='!'+custref+'The customer
reference must begin with L';
Valid=false;}
Validation Error
15-16 Sage CRM
Chapter 16: List Customization
Grids are displayed as the results of a search for a person, lead, case, or opportunity, and so on.
The lists displayed on the Company Quick Look tab are also Grids.
Communications list
You need to move the Stage column next to the Status column and allow ordering by either.
To modify the layout of the Opportunity List:
1. Select Administration | Customization | Opportunity, and select the Lists tab. The list of
Opportunities that can be modified is displayed.
16-2 Sage CRM
Chapter 16: List Customization
2. Click on the Customize button that is positioned to the right-hand side of the Opportunities List. The
Maintain List Definition page is displayed.
3. Highlight the Stage field in the List Contents list, and click on the Up arrow until it is below
Opportunity Status.
4. Set Allow Order By to Yes.
5. Select the Update button.
6. Highlight the Stage field and set Allow Order By to Yes.
7. Select the Update button.
8. Select the Save button.
The new list layout can be viewed by selecting the Opportunity tab from within My CRM or
within a company or person context.
l AllowOrderBy ( )
l CustomActionFile ( )
l CustomIdField ( )
l JumpEntity ( )
l ShowHeading ( )
l ShowSelectAsGif ( )
You can attach HTML and JavaScript content to an entire list or grid (as opposed to a column) in the
Custom Content field.
if(CRM.GetContextInfo("company","comp_
name"))
{
Visible = false;
}
6. Navigate to the Opportunities tab in the context of a company. The Company Name column is no
longer visible.
7. Navigate to the My CRM Opportunities tab. The Company Name column is still visible.
<script>
crm.ready(function(){
16-4 Sage CRM
Chapter 16: List Customization
crm.grids('0').rows(':gt(0)',true)
.filterWhere('quot_grossamt','ge','1000')
.highlightCell('yellow');
crm.grids('0').rows(':gt(0)',true)
.filterWhere('quot_grossamt','ge','10000')
.highlightCell('#E8D7FD');
crm.grids('0').rows(':gt(0)',true)
.filterWhere('quot_status','eq','Active')
.highlightCell('green');
});
</script>
3. Save. Now when you search for a quote, the resulting list shows different highlighting on the list
items.
Field Description
Allow Order By Allows the user to sort the list by this column. The
column header appears underlined. An arrow next to
the column header indicates this is the current sort
order of the list.
Show Select As Gif Displays the icon instead of the description (for
predefined drop-down lists only).
Default Order By The first column in a grid that has ’Default Order By’
set to Yes controls the order in which records are
shown the first time the grid is displayed. For
example, if you set Default Order to Yes for oppo_
Field Description
Create Script Allows you to enter scripts that are run on the server
when the list or grid is created. See Advanced List
Customization (page 16-3) for more information.
16-6 Sage CRM
Chapter 17: Tab Customization
5. Click on the down arrow until Notes is positioned at the end of the list.
6. Select the Update button, then the Save button. Searching for a person and clicking on the
hypertext link displays the Notes tab at the end of the row of tabs.
17-2 Sage CRM
Chapter 17: Tab Customization
It is important that you review the all of the System Actions available to you. Selecting certain
actions saves you the time and effort of creating an ASP page each time you want to run a standard
CRM screen or list.
Each option in the list corresponds to a standard CRM screen, list, or screen area except customfile
and customurl, which display custom files and Web pages, respectively.
List Actions (page 17-3)
Related List Actions (page 17-4)
Summary Actions (page 17-4)
Entry Actions (page 17-5)
Edit and Progress Actions (page 17-5)
Find Actions (page 17-6)
Tab Actions (page 17-6)
Other Actions (page 17-6)
List Actions
List actions enable you to display various kinds of lists from a Tab. In most cases, the action name
is intuitive, that is, addresslist is used to display a list of addresses, caselist is used to display a list
of cases, leadlist is used to display a list of leads, and so on. Lists displayed are associated with
the entity in which the Tab was created, that is, if you add the addresslist to the Person tab group,
the list displayed contains People addresses. However, if you add an addresslist to the Cases tab
group, the list is blank because Cases do not typically have addresses linked to them.
There are many examples of lists displayed from Tabs in CRM. Examples are listed below.
List actions available and examples of their use in CRM are outlined below:
l addresslist—an example of use is in the Company tab group’s Company tab.
l campaignlist—an example of use is in the MarketingTab tab group’s (System Menus) Campaign
List tab.
l callist—used to call a call list.
l caselist—an example of use is in the Company tab group’s Cases tab.
l caseprogresslist—an example of use is in the Case tab group’s Tracking tab.
l communicationlist—an example of use is in the Company tab group’s Communications tab.
l forecast history list—an example of use is in the Forecast tab group’s Forecast tab.
l forecast list—displays a forecast list.
l helplist—can be used to display the help work area.
l leadlist—used to display a leads list.
l leadprogresslist—an example of use is in the Lead tab group’s Tracking tab.
l library list—an example of use is in the Case tab group’s Document tab. ("Documents" has
replaced "Library" as the label for the tab listing documents associated with an entity)
l opportunitieslist—an example of use is in the Person tab group’s Opportunities tab.
l opportunityitemslist—an example of use is in the Opportunity tab group’s Opportunity Item tab.
l opportunityprogresslist—an example of use is in the Opportunity tab group’s Tracking tab.
l pendingmassemaillist—used to display a list of pending e-mails.
l peoplelist—an example of use is in the Company tab group’s People tab.
l reportsandlists—an example of use is in the MainMenu tab group’s (System Menus)
ReportsAndLists tab.
l solutions list—an example of use is in the Cases tab group’s Solutions tab.
l teamlist—an example of use is in the Company tab group’s Team tab.
l sla—not used in the system but you can use this action to display a list of existing SLAs, in
whatever part of the system you want to view it in.
l businesscaledit—not used in the system but you can use this action to display a list of existing
Business Calendars, in whatever part of the system you want to view it in.
Summary Actions
All of the Summary actions behave in a similar way. They allow you to build a screen that shows a
summary of the, call, case, communication, company, lead, opportunity, person, SLA, solution,
wave, or waveitem. The following example shows the Summary tab in the Case tab group:
Summary actions available and examples of their use in CRM are outlined below:
l callsummary—an example of use is in the CallList tab group’s Call List tab.
l casesummary—an example of use is in the Case tab group’s Summary tab.
l communication summary.
l companysummary—an example of use is in the Company tab group’s Summary tab.
l leadsummary—an example of use is in the Lead tab group’s Summary tab.
l opportunitysummary—an example of use is in the Opportunity tab group’s Summary tab.
l personsummary—an example of use is in the Person tab group’s Summary tab.
17-4 Sage CRM
Chapter 17: Tab Customization
l slasummary—an example of use is in the SLA tab group’s Service Level Agreement summary tab.
l solutionsummary—an example of use is in the Solutions tab group’s Summary tab.
l wavesummary—an example of use is in the Wave tab group’s Wave Summary tab.
l waveitemsummary—an example of use is in the Wave Item tab group’s WaveItemSummary tab.
Entry Actions
All of the Entry actions behave in a similar way. They allow you to build a screen that shows an
entry screen from which you can create a new call, case, communication, company, lead,
opportunity, person, SLA, solution, wave, or waveitem. Users typically need to select a New button
to view any of the entry screens in the system.
The following example shows the Solution entry screen, which is displayed when you select New
Solution:
Entry actions available and examples of their use in CRM are outlined below:
l forecast entry—an example of use is in the Forecast tab group’s ForecastEntry tab.
l new—an example of use is in the Main Menu tab group’s (System Menus) New tab.
l newcommunicationedit—an example of use is in the Outbound Calls tab group’s New
Communication Edit tab.
l newcompany—an example of use is in the New tab group’s (System Menus) New Company tab.
l newindividual—an example of use is in the New tab (System Menus) group’s New Person tab.
l newlead—an example of use is in the OutBoundCalls group’s New Lead tab.
l newleaddirect—not used in the system but works in the same way as the newlead action.
l newopportunity—an example of use is in the OutboundLead group’s New Opportunity tab.
l neworder—used to display a new order screen.
l newquote—used to display a new quote screen.
l newperson—an example of use is in the OutboundLead group’s New Person tab.
l newsolution—an example of use is in the New tab group’s (System context) Solution tab.
l callback—an example of use is in the OutBoundMenu tab group’s CallBack tab.
l businesscal—an example of use is in the BusinessCalendar tab group’s Business Calendar tab.
l holidayset—an example of use is in the BusinessCalendar tab group’s Holiday Set tab.
Find Actions
All of the Find actions behave in a similar way. They allow you to build a screen that shows a find
screen from which users can search for cases, communications, companies, leads, opportunities,
people, and solutions. Users typically need to select a Find button and a context to perform a
search within the system.
Find actions available and examples of their use in CRM are outlined below:
l find—an example of use is in the Find tab group’s (System Menus) Find Solution tab.
l casesearch—an example of use is in the Find tab group’s Find Case tab.
l communicationsearch—not used in the system.
l companysearch—an example of use is in the Find tab group’s Find Company tab.
l leadsearch—an example of use is in the Find tab group’s Find Lead tab.
l opportunitysearch—an example of use is in the Find tab group’s Find Opportunity tab.
l ordersearch—an example of use is in the Find tab group’s Find Order tab.
l quotesearch—an example of use is in the Find tab group’s Find Quote tab.
l personsearch—an example of use is in the Find tab group’s Find Person tab.
l solutionsearch—an example of use is in the Find tab group’s Find Solution tab.
Tab Actions
Tab actions can be used to display screen areas. Tab actions available are outlined below:
l marketingtab—not used in the system but could be used to display the Marketing work area and
associated tabs.
l casesolutionstab—an example of use is in the Case tab group’s Solution tab.
l solutioncasetab—not used in the system but could be used to display the Solutions work area and
associated tabs, similar to the casesolutions tab above.
l usertabs—not used in the system but could be used to display the My CRM work area and
associated tabs.
l channeltabs—displays the Team CRM work area an example of use is in the MainMenu tab
group’s (System context) Team Desk tab.
Other Actions
Other actions available in the system allow you to build various screens. Some of the other actions
available and examples of their use in CRM (if applicable) are outlined below:
l campaign report—can be used to display a campaign’s report. An example of use in the system is
in the Campaign tab group’s Report tab.
l companymarketing—can be used to display the company marketing screen. An example of use in
the system is in the Company tab group’s Marketing tab.
l companyorgchart—not used in the system but can be used to display a company organizational
chart.
l componentadd—not used in the system but can be used to display the Component Manager
screen for adding new components.
17-6 Sage CRM
Chapter 17: Tab Customization
l componentinstall—not used in the system but can be used to display the Component Manager
screen for installing components.
l componentscript—not used in the system but can be used to display the Component Manager
screen for scripting components.
l Key Attributes—used to make a screen available to the user that displays dynamic data. An
example of use in the system is the Company tab group’s Key Attributes tab. Please refer to Key
Attribute Profiling (page 23-1) for more information.
l exclude—used to display the Exclude from Call List outbound call handling screen. An example of
use in the system is in the OutBoundMenu tab group’s Exclude tab.
l gotthrough—used to display the Contact Introduction outbound call handling screen. An example
of use in the system is in the OutBoundMenu tab group’s Got Through tab.
l grouplistbrowser—you use this to display the records listed in a Groups screen.
l logout—used to display the Logout screen. An example of use in the system is in the MainMenu
group’s (System entity) Logout tab.
l makecalls—used to display the Introduction outbound call handling screen. An example of use in
the system is in the OutBoundMenu tab group’s Get Another tab.
l myeware—used to display the Dashboard screen. An example of use in the system is in the User
group’s (System entity) Dashboard tab.
l personcampaign—not used in the system but can be used to show a list of campaigns related to a
person.
l personmarketing—can be used to display marketing information for a person. An example of use in
the system is in the Person group’s Marketing tab.
l phoneemail—can be use to display a person or company phone/e-mail list. An example of use in
the system is in the Person tab group’s Phone/E-mail tab.
l quicklook—not used in the system but can be used to display the person or company quick look
screen, depending on the context you add it to.
l replacecall—used to display the Replace call outbound call handling screen.
l reportexecute—used to run a report. An example of use in the system is in the ReportExecute tab
group’s ReportExecute tab.
l territoryadmin—not used in the system but can be used to display the Territory Administration area.
l territoryprofiles—not used in the system but can be used to display the Security Profiles area.
l transfercall—not used in the system but can be used to display the Transfer Call Outbound Call
Handling screen.
l userprefs—used to display the Preferences screen.
l workflowlist—can be used to display a list of available workflows.
l workflowrules—can be used to display the list of available workflow rules.
Tab Fields
The following table describes the fields on the Properties panel of the Tabs page.
Field Description
Field Description
of system actions.
SQL You enter SQL in this field to restrict use of the tab.
You can restrict tabs to specified users or groups of
users. For example, user_userid=4 or user_userid=5
to restrict the tab to certain users. However, avoid
using this format if you intend on restricting several
tabs. This is because the database gets queried
separately for each restricted tab.
Instead, use the following script to query CRM:
U:4,5—to limit the tab to users whose ID is 4 or 5,
for example.
C:4,5— to restrict the tab to certain teams, for
example teams with a Channel ID of 4 or 5.
T:— to restrict the tab to territories, using the
Territory ID (terr_territoryid). For example: T: -
2097151993
You can also restrict the availability of the tab so
that it only appears when the company is a
customer:
comp_type = 'Customer'
As you are not limited to data in the current context,
this clause can be entered in the User tab group. It
hides the Opportunity tab unless the user had any
Opportunities assigned to them:
exists (select * from opportunity where oppo_
assigneduserid = user_userid)
17-8 Sage CRM
Chapter 17: Tab Customization
well as one for the Administration main menu. Within these tab groups, you can change the order of
the items on any of the Administration home pages, or you can add, remove, or edit the items.
Some of the tab groups within System Menus correspond to the tabs within individual
administration areas. For example, the EntityTabs tab group contains all of the standard tabs—
Fields, Screens, Lists, Tabs, Blocks, TableScripts, and Views—you find in Administration |
Customization when you select an entity (such as Company or Solution) in order to customize it.
System Menus also includes a number of end user work areas you may want to customize:
l Main Menu drives the buttons that appear on the left-hand side of the screen, that is, Find, New,
Log Off, and so on.
l User includes the tabs displayed within the My CRM context.
l Channel includes the tabs displayed within the Team CRM context.
l Find and New drive the Find and New pop-out menus, respectively.
l Reports Tab Group allows you to customize the report categories available from the Reports menu
button.
Note: Button Groups are customized in a similar way to System Menus. They can be customized
from the Administration | Advanced Customization page if you have the Extensibility Module.
Please refer to the Developer Help for more information.
To access System Menus and edit an Administration home page:
1. Click on the Administration button and select Advanced Customization from the Administration
home page.
2. Select the System Menus icon.
3. Click on the hypertext link of the Administration home page or other Administration tab group you
want to make changes to.
4. Make the changes you require, such as changing the order of the tabs, removing existing tabs, or
changing existing tabs. Please refer to Modifying Tab Groups (page 17-1) for more details.
5. Select the Save action button.
Prerequisites
To customize views you need to have:
l Experience of SQL views, tables, databases, and data relationships.
l A backup of your system. Please make sure you have a backup of any system views you customize
as these may be overwritten on upgrade.
l Ideally, a test system to test your view customizations before implementing them on your live
system.
Introduction
In relational databases, a view enables you to create a virtual table that represents the data in one or
more tables in an alternative way. Sage CRM employs views to return records in response to user
searches and to present relationships between different entities. For example, a view might list all
the cases associated with a particular company that are assigned to a specific user. Creating
advanced user-defined views entails administrators employing SQL operations such as Joins, and
therefore requires basic SQL scripting skills.
You can view, update, create, and delete database views by selecting Administration |
Customization, choosing an entity that the view belongs to, and then clicking on the Views tab. You
need to exercise caution if you are editing or deleting existing views. Remember that changing or
deleting a view may affect several areas of CRM.
In addition, it is strongly recommended that you create new views within the CRM system rather
than using a database tool, such as SQL Server’s Enterprise Manager, for example. Building a view
outside the system requires an update of the metadata table Custom_Views so that CRM can "pick
up" the new view and list it in the interface. To access and update metadata tables directly in the
context of CRM is analogous to changing Windows Registry settings manually—a procedure to be
undertaken with caution and only by advanced administrators.
Note: When creating a new or modifying an existing view any SELECT statements on primary
entities in a view must also retrieve the _secterr, _assigneduserid (or equivalent), and _channelid
(or equivalent) column for each primary entity referenced in that view. This can be done by selecting
the column explicitly, for example select comp_name, comp_companyid, comp_secterr, comp_
primaryuserid, comp_channelid from Company, or by selecting all columns from the primary
entities in question. Failure to ensure this may result in SQL errors in the CRM user interface when
the view is executed. All “out-of-the-box” CRM views already contain the appropriate _secterr, _
assigneduserid (or equivalent), and _channelid (or equivalent) columns. A message to this effect is
displayed when you add a new or change an existing view.
Customizing Views
There are three types of views in the system:
l Core Views — cannot be edited or deleted. You can review the view details if you need to.
l System Views — are editable, however it is not recommended for most system views as it may
adversely affect system behavior. System views for Mail Merge, Group, Report and Keyword
Search views are commonly edited, however extreme caution must still be exercised as changes
can affect several areas of CRM. An example of customizing an existing Mail Merge view is
included in this section.
l User Views — views that you create yourself are called User Views. You can edit and delete user
views.
When editing either a System View or User View, you can indicate whether to make the generated
views available to Reports, Groups, and Keyword Searches by clicking the relevant check boxes.
User Views can also be exposed for SData (Sage Data) access by clicking the SData View check
box.
18-2 Sage CRM
Chapter 18: View Customization
5. Make the changes you require. In this example, find the Case_CaseId. Add the new field after the
Case_CaseId. This section of the script changes from:
Case_CaseId, Comp_CompanyId
to:
Note: If you make a syntax mistake, then you will not be allowed to save the changes.
6. Select the Save button.
Once you have included the case_description field in the view, you can repeat the mail merge
process, and add the new merge field into the template.
Table Unique ID
Cases case_caseid
Opportunity oppo_opportunityid
Company comp_companyid
Person pers_personid
Order Orde_OrderQuoteID
Quote Quot_OrderQuoteID
Each table exists in relationships and foreign keys exist to link the tables with each other.
18-4 Sage CRM
Chapter 18: View Customization
You will need this information to be able to build the joins between the tables.
2. Select the New button. The new Views page is displayed.
3. Type in the View Name.
Note: Name the view starting with "v", with a single word and no spacing. For example,
vSimpleCaseView.
The View Script field is automatically populated with the start of the script.
4. Select the Reports View check box. This makes the view available when creating a new report.
5. Type in a short description of the view in the Description field.
6. Type in a translation for the view in the Translation field. This is what the user will see on the
screen when the view is selected from the drop-down list.
7. Type in the SQL for the new view. For example, change the existing:
to:
8. The columns in the SELECT statement will be the columns available in the report. If you are familiar
with SQL, then you can concatenate fields and use functions on the data to manipulate the data
further.
Views page
If you want to be able to control how the field appears in reports then you need to make sure that the
field is described in the meta data tables, custom_edits and custom_captions.
The easiest way to do this is to create an extra field on the main table of the view. In the example
above, create a new field on the person table called pers_fullname. You would not hold data in this
field but by creating the field with the same name as your derived field you create the meta data for
it. You can then easily control the fields display properties and captions used in screens.
Case case_caseid
Company comp_companyid
18-6 Sage CRM
Chapter 18: View Customization
Lead lead_leadid
Opportunity oppo_oppoid
Person pers_personid
Orders orde_orderquoteid
Quotes quot_orderquoteid
This example shows you how to make the new case view created in the previous example available
for use in company and person group creation.
To make the view available in groups:
1. Select Administration | Customization | Cases | Views.
2. Click on the hyperlink of the view you want to change. For example, the vSimpleCaseView.
3. Select the Change action button.
4. Check the Groups View check box.
5. Add the person and company unique identifiers into the View Script.
11. Fill in the rest of the fields in this screen and click on the Continue button to proceed to the next
stage of creating a group.
Case vKeywordSearchListCases
Company vSearchListCompany
Lead vKeywordSearchListLead
Opportunity vKeywordSearchListopportunity
Person vSearchListPerson
Communication vSearchListCommunication
Orders vOrders
Quotes vQuotes
Note: You can create a new keyword search for an existing primary entity by clearing the Keyword
Search View check box in the existing view. This allows you to create a new Keyword Search View
for an existing primary entity.
To create a new Keyword Search view for a custom entity:
1. Select Administration | Customization | <Entity>.
2. Select the Views tab.
3. Select the New button. The new Views page is displayed.
4. Type in the View Name. The View Script field is automatically populated with the start of the script.
5. Select the Keyword Search View check box. This makes the view available when carrying out a
keyword search.
6. Type in a short description of the view in the Description field.
7. Type in a translation for the view in the Translation field.
8. Type in the SQL for the new view.
18-8 Sage CRM
Chapter 18: View Customization
9. Select the Save button. The new view is displayed in the list of views. The new custom entity is
available for selection on the Keyword Search page.
to:
8. Click Save.
9. To test the view on the Interactive Dashboard, select My CRM | Dashboard, and make sure you
have a dashboard open.
10. Select Modify Dashboard | Add New Gadget | SData Feed.
11. Select the CRM SData Provider check box, and click Next.
12. Select the new view you created, and click Next.
13. Select the columns to display on the gadget and complete the gadget wizard steps.
The SData view you created is represented in a new gadget on the user's landing page. The
URL to make the view available to another application would take the following format:
http://myserver/sdata/[installname]j/sagecrm/-/vOppoDatesOpen
18-10 Sage CRM
Chapter 18: View Customization
l CRM security (territories, profiles etc.) works on top of a view. In other words, the list of data that is
returned to you in, for example, Query Analyzer, it will be different to the data returned to the user
from the customized view in CRM.
l Do not use TOP in your view select statement.
l Using JOIN ON rather than "where primary_key = foreign_key" type syntax, is the preferred method
for joining tables.
Field Description
The list output is customized from Administration | Customization | <Entity> | Summary Reports,
and selecting the Edit button next to the list you want to customize.
20-2 Sage CRM
Chapter 20: Summary Reports
12. Select the Save button. The Summary Reports page is displayed. You can view the updated layout
by clicking on the Summary Report button on the Company Summary tab.
Notifications screen
Field Description
Notification Name Specify a name for the notification rule in this field.
Condition The operator, for example Equal To, Not Equal To,
or Is Empty.
Choose Field to Insert Into If you want to include any merge fields in the
The Notification notification message displayed, select them from
this field.
Notify User Specify the user you want to be notified when the
conditions you specified are met.
Notification Message Type the notification you want displayed in this field.
You can include merge fields by selecting them from
the Choose Field to Insert Into The Notification field.
This is a required field.
21-2 Sage CRM
Chapter 21: Notifications
Notifications screen
3. Complete the fields on the Notifications and New E-mail Template panels.
l The table in Creating Onscreen Notifications (page 21-1) explains the fields on the
Notifications panel.
l You can specify the details of the e-mail you want to send on the New E-mail Template
panel or you can select from a list of existing e-mail templates. Please refer the User Guide
for details on sending e-mails. Note that you can use the Choose Field To Insert Into The E-
mail field to add merge fields to the e-mail body in the same was as you use the Choose
Field To Insert Into The Notification field, described in the table above. You can also attach
local or global documents to the e-mail notification.
4. Select the Save action button to save the rule.
Web Leads
CRM enables you to create web pages for collecting lead information simply by clicking on a button.
This one-click process generates the HTML to define a web form page for entering lead details. This
HTML page can be inserted into a corporate web site, enabling a seamless transfer of information
from a client-defined interface to the CRM database.
The generated HTML contains the URL of the CRM installation and defines the action to be taken
when the web lead form is submitted. Therefore, although customization allows the user to add or
remove fields from the form, no HTML scripting is required to make the form fully functional.
To access the Web to Lead area in CRM:
1. Select Administration | Customization | Leads and select the Web To Lead tab.
2. Select the Change button to edit the default configuration settings if you need to. Please refer to
Web To Lead Configuration Settings (page 22-2) for more information on the Web To Lead
configuration fields.
3. Select Save to save the changes you made.
4. Select the Web Lead HTML button. The Web Lead HTML screen is displayed.
If you examine the HTML, you’ll notice key material is grouped in the Create Action function.
Written in JavaScript, this function indicates the CRM install that will receive the information
from the web lead form. This area is worth checking in situations when the web lead
information has not successfully transferred to the CRM database. It is possible that in
certain situations when an CRM is reinstalled under a different name, the URL used by the
HTML page generated by an earlier install is no longer valid.
5. You can copy the HTML from this screen to your corporate Web site so that your customers can
create leads in CRM via your Home Page. The raw HTML copied from the Web Lead HTML screen
will create a basic form for capturing lead information.
22-2 Sage CRM
Chapter 22: Web Leads
Field Description
Web Lead Enabled Select this check box to enable the Web To Lead
functionality. When you do this CRM can capture
leads.
Only Accept Web Leads If you want to restrict the ability to generate leads
From The Following IP from any Web site, specify the exclusive IP address
Address that leads can be generated from.
Web Lead Return URL Specify the URL you want the user's browser to be
redirected to after the lead has been created.
You are a Marketing Manager with Info Admin Key Attribute Profiling rights. This gives you access
to the Marketing button and limited access to the Administration area.
You want to invite London-based IT managers to a series of Breakfast Briefings coming up in the
next quarter.
You set up a campaign with waves and wave activities representing the different stages, for
example, Invitation Mailshot, Follow-up Calls, Attendance Confirmation, etc.
One of these Wave Activities is going to be an Outbound Call action, which will generate a call list
for your telesales team to work through. The objectives of this Wave Activity will be:
l To establish whether or not the invited people are interested in the upcoming seminars.
l To establish their preferred dates and locations.
l To find out why they might not attend.
These questions and answers can be set up and captured using key attribute data. The integration
of key attribute data into reporting and group functionality allows you to easily report on who
answered which question in a particular way, and then create a new group for a follow-up campaign.
Here are steps that you will need to go through:
1. Create a tree structure of categories, which will allow you to gather data relevant to the Breakfast
Briefings.
2. If any of the "answers" require you to select from a list of predefined choices (for example, "Yes" or
"No", or "Sheraton Hotel on 15th Jan" or “Marriott Hotel on 12th Feb" or "Radisson Park on 10th
March"), you will need to set these up as Key Attribute Lists.
3. Add the fields to the categories, which will record the data you want to collect.
4. Create a Call Handling Category Group to display the questions and answers you have set up to
the CRM user.
5. Generate the outbound call list so the user knows who to call.
6. Once you have completed the setup, you can run through a few of the calls, and then generate a
report that lists everyone who answered Yes to attending and selected the "Sheraton Hotel on 15th
Jan" event as their first choice. You can also create a group based on this information to send out
an E-mail blast to everyone who said they were unable to attend due to scheduling reasons,
advertising your Q2 Breakfast Briefing series.
Breakfast Briefings
23-2 Sage CRM
Chapter 23: Key Attribute Profiling
4. Highlight the highest level category, All Categories, and type the first category name, Marketing
Events, in the Category Name field.
5. Ensure that the Category Type field is set to Parent Category: No Data Held.
6. Select the Add button. The new category is displayed in the Key Attribute Categories list.
7. Highlight the Marketing Events category, and add the next one, called Briefings and Seminars.
The Category Type should be set to Parent Category: No Data Held.
8. Highlight the Briefings and Seminars category, and add the next one, called Breakfast Briefings.
The Category Type should be set to Parent Category: No Data Held.
Your tree structure should now look like this:
At this point, you can start to enhance the structure and add another category under Breakfast
Briefings called, for example, Q1. Then on the same level as Q1, build another category called Q2,
and so on. However, before you attempt this, think about the fields that you are going to add to
collect the data. If some of these fields are going to be common to several sub-categories, you
should set them up on a higher level category, as they will be inherited by each new category you
add underneath. But you need to set the fields up before adding the lower level categories.
Continue with Step 2 for now, and you will see how this works.
23-4 Sage CRM
Chapter 23: Key Attribute Profiling
l 3rd Preference. Select from Sheraton Hotel on 15th Jan, Marriott Hotel on 12th Feb, or Radisson
Park on 10th March.
l Cannot attend. Select from Not interested, Schedule, or Other.
l Comments. Add free text notes.
Note: Apart from the last field, all of these can make use of predefined Key Attribute Lists, which
make reporting, analysis, and data entry much easier than typing in free text notes.
To add these fields:
1. Select Administration | Advanced Customization.
2. Click on the Key Attributes icon on the Advanced Customization home page.
3. Select the Categories tab.
4. Highlight the Breakfast Briefings category in the Key Attribute Categories list.
5. Select the Edit Fields button. The List of Fields and Field Details panels are displayed.
6. Type Attendance in the Field Name field.
7. Set the Field Type to Selection.
8. Set the Key Attribute List field to YN.
9. Select the Add button. The new field is displayed in the List of Fields panel.
10. Type Cannot Attend in the Field Name field.
11. Set the Field Type to Selection.
12. Set the New Line field to Same Line.
13. Set the Key Attribute List field to NonAttend.
14. Select the Add button.
15. Type 1st Preference in the Field Name field.
16. Set the Field Type to Selection.
17. Set the New Line field to New Line.
18. Set the Key Attribute List field to DateVenue.
19. Select the Add button.
20. Repeat the last five steps for the 2nd and 3rd Preference fields.
21. For the Comments field, set the Field Name to Comments, the Field Type to Multiline Text, set
NewLine to New Line, and set the Entry Width to 80.
22. Select the Add button.
23. Select the Save button.
The Categories page is displayed, showing the fields that you added in the Breakfast
Briefings category.
At the end of Step 1, we mentioned that you might have several sub-categories of the
Breakfast Briefings category, such as Q1 or Q2. Here is where you can use the inheritance
feature.
24. If you now create these two new categories underneath Breakfast Briefings—both categories will
automatically include all the fields you have just added. If the Q2 Briefings have additional
information to collect (for example different Date/Venues), you can add a new field or change the
existing selections within the Q2 category.
25. These categories should be set to Category Type Single Instance Data Category. This means that
no further categories can be added underneath these categories.
Your new tree should look like this:
Don’t worry about making changes to the Q2 fields for now. Onward to Step 4.
23-6 Sage CRM
Chapter 23: Key Attribute Profiling
7. Select the Add button. This moves the Q1 category over to the Categories Within Group list.
8. Make sure the Related Entity field is set to Person.
9. Select the Save button. The new group is displayed on the Category Groups page.
5. Complete the information and select the Get Another Call button.
6. Run through a few calls, then select the Finish Calling button.
The information you have been collecting can now be used in a variety of ways. Here are two
actions you may want to test:
l You can report on who said "Yes" and expressed a 1st Preference of the 15th Jan Sheraton event.
l You can create a group of all the people who were unable to attend because of scheduling
reasons, and send them a follow-up e-mail with Q2 dates.
The next sections return to many of the areas that were touched on briefly during this "Quick Start"
section. They will take you back to the beginning and work through some further examples in more
detail.
Data Type
23-8 Sage CRM
Chapter 23: Key Attribute Profiling
Data Type
Washing Machine
Vacuum Cleaner
Fridge
Data Type
Fridge Category
Manufacturer Field : Selection (Key Attribute List: Manufacturer)
Price Field : Currency
Warranty Expiration Field : Date
Model Field : Selection (Key Attribute List: Fridge Model
Numbers)
You can quickly identify that each category has three fields in common—Manufacturer, Price, and
Warranty Expiration.
23-10 Sage CRM
Chapter 23: Key Attribute Profiling
Instead of creating these fields under each category, you can create a higher level parent category
first called "Home Appliances", which has these three fields associated with it. Then, when you
create "Washing Machine", "Vacuum Cleaner" and "Fridge" as child categories of Home
Appliances, they will automatically inherit the three common fields, and all you have to add under
each child category is the Model key attribute list for each appliance type:
All Categories
Home Appliances
Washing Machine
Vacuum Cleaner
Fridge
Adding fields to the parent level category after the child categories have been created does not
automatically add the new fields to the categories below. If you add a field to the parent level and
then add a new child category, the child category will inherit the existing and new fields.
Data Type
Data Type
If you want to track Trade Show attendance over a number of years, you could make use of
inheritance in the following way:
All Categories
CeBIT
Softworld
CRM Show
Data Type
23-12 Sage CRM
Chapter 23: Key Attribute Profiling
Note: Key Attribute Categories do not store default values—if there is no selection, nothing is
stored—so “Empty” check boxes cannot be reported on. This is why the suggestion is made in this
smarter example to use a “Yes” or “No” Selection instead of a Check Box field.
However, a smarter design would be as follows:
All Categories
Year 1
Year 2
Year 3
Year 4
Data Type
This is recommended because in the future, there may be a new trade show you want to track
attendance for. This can simply be added under the category for the current year, for example, Year
4, and all future years.
In the not-so-smart example, you would have inherited redundant past years for any new category
added. Also, in the not-so-smart example, you would have to anticipate many years into the future
to take advantage of the inheritance, whereas in the "smart" example, you can add the years as you
need them.
Creating Categories
You can use the Training Information example in Designing Key Attribute Profiling Structure (page
23-8) to work through this section.
To set up categories:
1. Click on Administration | Advanced Customization | Key Attributes.
2. Select the Categories tab.
3. On the Categories page, highlight the category that you want your new categories to be
subordinate to.
4. If this is the first category you are creating, highlight All Categories and position the cursor in the
Category Name field.
5. Set the Category Type to Multiple Instance Data Category if you want to allow the end user to
enter information more than once within this category. For example, let’s say you are setting up
data to record the responses from a Training Evaluation Form, and you wish to record the
responses from several evaluation forms within the same Tab. Set the Category Type to Multiple
Instance Data Category.
6. Select the Add button. The new category is displayed in the list of Key Attribute Categories.
7. Position the cursor to highlight the category you want your new category to be subordinate to, and
add the rest of the categories.
23-14 Sage CRM
Chapter 23: Key Attribute Profiling
New Categories
Deleting a Category
To delete a Category:
1. Select the Categories tab.
2. Highlight the category you want to delete on the Key Attribute Categories list.
l If there is no data stored in the system within this category, then you can delete the category
by clicking on the Delete button on the Category Details panel.
l If there is data held within the category you are trying to delete, you will only see a
Deactivate button. When you click on this button, the category is “soft” deleted. The category
is hidden from the Key Attribute Categories list until reactivated.
l The "All Categories" top category cannot be deactivated nor deleted.
3. Select Delete or Deactivate.
4. The category is removed or hidden from the Key Attribute Categories list.
To recover a deactivated category:
1. Select the Categories tab.
2. Select the Show Deactivated check box. All deactivated as well as active categories are displayed
in the Key Attribute Categories list. Deactivated categories are displayed with an asterisk (*) next to
the category name.
3. Highlight the category you want to reactivate.
4. Select the Reactivate button.
5. Select the Continue button.
The normal view of the Key Attribute Categories list is displayed, showing the reactivated category.
For example, one of the pieces of data you want to capture within the category called Training
Profile, is the type of influence on training purchasing decisions. Possible mutually exclusive
options are End User, Buyer, Technical, or Management. The most suitable field type to capture
this data is a key attribute list.
To create a new key attribute list:
1. Select the Key Attribute Lists tab. The Key Attribute Lists page is displayed.
2. Type the name of the list in the New List Name field. The name can be a generic description of the
list rather than map exactly to the field name, since you can reuse the key attribute list if it applies to
a number of fields. For example, questionnaire answers such as Poor, Average, Good, Very Good,
Excellent, will be reused a number of times, linked to separate fields. A generic description for this
reusable list could be Rating.
3. When you click on the Add List button, the Maintain Lookup Selections page is displayed. This
behaves in the same way as the Maintain Lookup Selections page within Field Customization.
Please refer to Field Customization (page 13-1).
4. Add the Codes and Translations for the selections.
5. Select the Save button. The Key Attribute Lists page is displayed.
Not Currently In Use indicates the list has not yet been linked to a category in the Key Attribute
Categories list. When a list is linked to a category, this area is headed: Key Attribute Used In, and a
list of all branches in the tree where the list is used is displayed.
6. Follow the same procedure to add the rest of the lists you need.
7. Select the Change button if you need to go back and edit the selections you have already set up.
23-16 Sage CRM
Chapter 23: Key Attribute Profiling
5. Once you have added all the fields for this category, select the Save button. The Categories page
is displayed, showing the fields you have added.
6. If you need to edit the fields you have added, click on the Edit Fields button.
7. Add other fields you require to the other categories in the same way.
Category Groups
8. Select the Add button. The new tab is displayed in the Tab Group Contents panel.
9. Select the Save button.
The new tab can be viewed by searching for a Person, who works at a company, where the Type is
set to Customer (if you added the SQL statement as above).
3. Add the data and select the Save button. The data is displayed in read-only mode.
4. To edit data in an existing category, select the Change button.
23-18 Sage CRM
Chapter 23: Key Attribute Profiling
7. Select the Continue button to return to the Report Options, Step 1 of 2 page.
8. Select the Continue button and Save the report.
9. To run the report, click on the Run button. The Key Attribute Data search criteria are displayed.
10. Enter the search criteria and select the Run button.
The report output is displayed in a new browser window.
System Categories
System Categories
Default Activities
When you create a group, you can run actions or activities against it, for example, mail merge,
mass e-mail, or task.
You can also create these under Wave Activities.
When you set up actions against a group, you are presented with a default communication screen.
At the end of the communication screen a list of categories is displayed, filled from the Activity
Category Groups.
Each of these hard coded Activity Category Groups is initially filled with a Default Activity
Category. They appear under the System Categories category off the All Categories directory.
The Administrator can go in via Administration | Key Attributes | Category Groups and change the
contents of the Activity Category Group, but this deletes the Category Group. It is set up in this way
because the administrator has no other way to define what appears on that communication screen
from the user side, so they cannot specify a different Activity Category Group. All they can do is
edit the existing one.
When the activity is saved, a new Category is created under the parent selected from the Category
displayed, and all of the people in the group that the action is run against are linked to a piece of Key
Attribute Data (the date of the action). Not only can you tell who is on a group, but you can tell who
had what actions run against them. You can also fill in a number of other fields on the category and
use these to store feedback information.
23-20 Sage CRM
Chapter 23: Key Attribute Profiling
Max Length Defines the maximum length of, for example, a text
field.
Key Attribute List If the Field Type has been set to Selection, the key
attribute list must be specified here.
23-22 Sage CRM
Chapter 24: Workflow Customization
l Lead
l Opportunity
l Case
l Solution
l Campaign
l Wave
l Wave Item
For example, a workflow rule can be applied to opportunities to automatically generate a follow-up
call for the user every time a quotation is sent out.
Or, a workflow rule can be applied to cases to send an e-mail to the customer service supervisor if a
case remains at a stage of "Investigating" for more than twenty-four hours.
If you have already been working with leads, opportunities, cases, and solutions without workflow,
you will have used the Progress button to manually "progress" the entity to the next stage within the
lead, sales, or customer service cycle.
Once workflow is activated, this button is no longer available. It is replaced with bullets appearing
under a common heading Actions.
Workflow Actions
These actions are set up by the system administrator to steer the user through the predefined
business processes. Selecting one of these actions can prompt the user to perform an activity,
such as gathering further information. It can also trigger events not immediately apparent to the
user. For example, sending an SMS notification to the Account Manager.
Note: You can also create workflows for new custom internal CRM tables. Please refer to the
CRMBlockContainerObject section of the Developer Help for more information.
24-2 Sage CRM
Chapter 24: Workflow Customization
Please refer to Workflow/Escalation Settings (page 26-1) for details on all the Workflow
configuration settings.
Workflow Terminology
The following sections provide an overview of the workflow-specific terms in CRM.
Workflow (page 24-3)
State (page 24-3)
Rule (page 24-4)
Action (page 24-5)
JavaScript Conditions (page 24-6)
SQL Trigger Clauses (page 24-6)
Using the ## and # Symbols (page 24-6)
Before You Start (page 24-8)
Workflow
l Workflow is a predefined set of business processes.
l Workflow is made up of States and Rules.
l Rules can be made up of Workflow Actions and JavaScript Conditions.
The Workflow design page is made up of:
l 1. Workflow Tree. A branching tree diagram made up of states and rules.
l 2. States Palette. Existing states can be dragged and dropped from the palette onto the workflow
tree.
l 3. Rules Palette. Existing rules can be dragged and dropped from the palette onto the workflow
tree.
l 4. Dustbin. States and rules can be dragged and dropped onto the Dustbin icon.
l 5. Buttons. Allow you to add to and change the workflow.
State
1. State. A state is like a pending tray or a resting place for the workflow process.
Workflow tree
The user sees a predefined set of business actions based on the entity's (opportunity, case, lead,
and so on) current state in the workflow. Note that the current workflow state is stored in a column
on the record of the corresponding entity.
In addition to normal States, you can also define:
l 2. Entry States. Define the entry points in the workflow. Multiple entry points into the workflow can
be defined using Entry States. The Start state in the workflow tree is by default an entry state.
Usually, a primary rule hangs off this state to create a new entity, which is then automatically part of
the workflow. However, you may have existing records—for example, imported leads—which are
not automatically part of a workflow. If you define an Entry State, which is not followed by a primary
rule, but is followed by transition rules, these transition rules appear as workflow buttons, against
all appropriate entity records not yet part of a workflow.
l 3. Duplicate States. Represent branching and looping in a traditional flow-chart.
Rule
There are five different types of rules in workflow.
Primary. Used at the beginning of a workflow to create a new entity that is part of a workflow.
Primary rules are represented by a light purple arrow in the workflow tree.
To the end user, the primary rule replaces, for example in Opportunities, the standard New
Opportunity button. If you want to maintain consistency in the user interface, you can make the
primary rule display to the user in exactly the same way as the New button. To do this, name the
rule New Opportunity and make sure the Alternative Image for Rule is set to New.gif.
Actions usually associated with Primary Rules are Column Change actions. Campaign actions,
Create Task, Create Lead, Create Opportunity, or Create Case actions cannot be associated with
primary rules.
Primary rules are only effective for Cases, Opportunities, Solutions and Leads (not Companies and
People).
Transition. Used within the workflow to connect one state to the next. Transition rules are
represented by purple arrows in the workflow tree.
24-4 Sage CRM
Chapter 24: Workflow Customization
Conditional. Used within the workflow to create two sets of actions—one is executed when the
JavaScript condition is true, the other is executed when the JavaScript condition is false. Actions
on Conditional rules are executed when the user selects the rule. Conditional rules are represented
by two purple arrows in the workflow tree. One with a green tick on it (True), the other with a red
cross on it (False).
Escalation. Used to trigger an action or series of actions based on an SQL WHERE clause.
Escalation rules are represented by blue arrows in the workflow tree.
Escalation rules that are not related to a workflow should be set up separately in the Escalation tab
(for example, the standard Communication Notification Reminders, refer to Adding Escalation
Rules (page 24-43)).
Note: New escalation rules cannot be added in Sage CRM (Cloud).
Global. If you need the rule to always be available, use the Global rule. Global rules do not move
the workflow into another state. They are represented by blue arrows with a purple circle in the
workflow tree.
Global rules always hang from the Start Entry State. For example, if you want the user to be able to
edit an opportunity at any point in the opportunity’s "life cycle", you can do this using a global rule.
Consequently, if the user makes changes to certain opportunity details, the opportunity is not
progressed to a different state.
Note: To change the name of an existing workflow rule, you must change the translation for all
languages required from Administration | Customization | Translations.
Action
Workflow actions are associated with rules. They are executed when the user selects the rule, or
when a set of conditions is met for the rule to be valid (for example, with Escalation Rules).
For example, you can set up a new action on the Qualify rule within the Opportunity workflow to
display the Create New Communication screen to the user so that they are required to schedule a
callback. You select the Create Task action to set this up.
The System Administrator can select the action(s) to apply to the workflow rule from the Actions
Palette.
Actions Palette
JavaScript Conditions
The JavaScript Condition field on Primary, Transition, Conditional, and Global rules limits whether
or not the rule appears for a given record. You can use # codes within JavaScript conditions. Please
refer to Using the ## and # Symbols (page 24-6) for more details. With JavaScript, you can also
reference other entities that have been created as part of the workflow.
For example, if a communication was created earlier in the workflow with the Create Task action
and the Label "LOI", you can make the rule you specified the condition only appear only when the
communication "LOI" is set to Complete.
JavaScript condition
SQL trigger clause
Note: If the #field_name# fields are used within e-mails, the translations are used. However, if they
are being used in the Execute SQL Statement action, the database values are used.
The ## symbols can also be used in scripts for the following actions:
24-6 Sage CRM
Chapter 24: Workflow Customization
In addition, the use of the # symbol before certain letters in scripts indicates to CRM that these
references should be replaced by internal function calls. One way of understanding these codes is
to see them as "macros"—short functions that return a concrete value.
For example, the following code uses the #T and #U codes to test the current time and the currently
logged on user against the values of the two fields containing escalation information.
The # symbols can be used in where SQL is used directly as the control mechanism to limit the data
returned, as in
l the JavaScript Conditions of Primary, Transition, Conditional, and Global rules.
l the Trigger SQL Clause of Escalation rules.
24-8 Sage CRM
Chapter 24: Workflow Customization
Note: The GIF file name must exactly match the untranslated code of the list choice.
States Palette
24-10 Sage CRM
Chapter 24: Workflow Customization
1. Click on and drag the first state, Lead, from the States Palette onto the Lower Drop Circle (1) of
the Start Entry State.
The Lead state follows on from the Start state, and a transition rule (1) is automatically
created to link the two states (2). The name of the transition rule is [name of the source state]
to [name of the destination state].
You can now edit the transition rule to turn it into a Primary Rule. To do this:
2. Click on the hyperlink of the rule. Alternatively, select the New Rule button, and create a primary
rule. This can be dropped onto the Lower Drop Circle of the State. The Workflow Rule page is
displayed.
3. Make sure the Table or View field is set to the correct table. In this example, Opportunity.
If you select the View option and enter the view’s name in the adjacent field, the Table field
displays the entity on which that view is probably based. For example, if your view is called
vConsultingOpportunities, the Table field displays the Opportunity entity.
However, if this suggestion is not correct, you can change it by selecting the appropriate entity from
the drop-down Table field.
4. Change the Rule Name to New, or New Opportunity, or whatever term you want the user to see on
the screen.
5. Set the Type to Primary Rule.
6. Make sure the Alternative Image For Rule field shows the GIF, that you want the user to see on-
screen.
7. In the Interval field, specify the time in minutes in which the rule will run. If you set the Interval for
say 60 minutes, the escalation rule will run every hour. If you are using the CRM Escalation
Service, this interval has a minimum time of 5 minutes. If you are not using the CRM Escalation
Service, the minimum will be whatever the Notify Interval is set to in Workflow & Escalation
Configuration.
8. Select the Save button. The new Rule Name is displayed on the workflow tree, and the rule arrows
have changed color from green (for a transition rule) to purple (for a primary rule). You can now
view the result from a user's perspective.
9. Select the Save button to save the complete workflow tree. The list of existing workflows is
displayed.
10. Go back into the workflow and select the Activate Workflow button.
11. This allows you to test the workflow from the user's perspective.
12. Select the My CRM button, and click on the Opportunities tab. The standard New Opportunity
button has been replaced with the primary rule you created. If you called your rule New
Opportunity, you may not be able to tell the difference immediately. However, creating a new
opportunity using the primary rule "launches" the opportunity workflow.
24-12 Sage CRM
Chapter 24: Workflow Customization
Next you are going to add the branching and loop transitions of your workflow. For example,
Prospect To No Sale, Quoted To Prospect, and so on.
3. To add the Prospect To No Sale transition rule, follow the same procedure as described above,
dragging and dropping the No Sale state onto the Lower Drop Circle of the Prospect state. It does
not matter that there is already one transition hanging from the Prospect state.
4. To add the Quoted To Prospect transition rule, follow the same procedure as described above,
dragging and dropping the existing Prospect state onto the Lower Drop Circle of the Quoted state.
Note: The small circles with plus and minus signs can be used to expand and collapse
branches in the workflow tree.
In this example, the Prospect state icon has changed to indicate a Duplicate state. If you
hover over either of the Prospect states, the duplicate states on the tree are highlighted.
5. Continue to add the remaining transition rules, then select the Save button to save the whole
workflow tree. Select Cancel to return to the list of workflows.
To complete the workflow tree, you need to edit the transition rules. Each rule needs to be renamed
to reflect the names on your outline workflow diagram. The transition rule names are displayed to
the user as workflow action bullets on the right-hand side of the screen. While editing the transition
rules, you also need to check that they all apply to the correct CRM table, in this example the
Opportunity table.
To edit the transition rules:
4. Select the Prospect workflow action bullet. The workflow action bullets representing the transition
rules from the Prospect state are displayed. Before moving onto the next stage, it is recommended
that you test all the possible paths in your workflow to make sure all the states and transition rules
are set up correctly.
24-14 Sage CRM
Chapter 24: Workflow Customization
6. Fill in the details and select the Save button. The new workflow action is displayed in the list of
actions on the Workflow Rule page.
Overview of Actions
The following workflow actions are available:
Action Description
Set Column Value Puts a value from the current table into a column. For
(page 24-17) example, set the opportunity Stage to Prospect.
Reset Column Takes a value from one field and puts it into another. For
Value (page 24-19) example, assign a case back to the user who created it.
Display Field For Displays the field for adding information or editing the
Amendment (page existing field value.
24-20)
Action Description
Show Notification Displays a notification in red text at the top of the user's
On Screen (page screen.
24-33)
Create Task For Creates tasks, which can be allocated to one or a number of
Group (page 24-36) users, for a group.
24-16 Sage CRM
Chapter 24: Workflow Customization
Field Description
Value The value to be entered into the column. For example, 25.
If the column has a list of selections, the value can be
selected from the list.
Note: If the column to be updated is a date field, setting the
Value to 0 sets the field to the current date/time.
New Line The position of the field on the screen. The possible values
are Same Line or New Line. If no value is entered, the field
is displayed on the same line.
Row Span The number of rows the field takes up on the screen. The
list displays a list of row span values. The possible row
span values are 1, 2, 3, 4 or 5 rows. If no value is entered
then the field is be displayed on one row.
Col Span The number of columns the field takes up on the screen.
The list displays a list of column span values. The possible
column span values are 1, 2, 3, 4 or 5 columns. If no value
is entered, the field is displayed over one column.
Create Script Field level scripting is executed when the progress screen
is presented to the user. Note this scripting applies only to
the rule the action is linked to in the workflow, not every
time the progress screen is displayed. For more
information on field level scripting, please refer to
Advanced Screen Customization (page 15-1).
OnChange Script Field level scripting with JavaScript is executed when the
user changes the value on the progress screen.
Generic JavaScript and/or Sage CRM’s Client-Side API
24-18 Sage CRM
Chapter 24: Workflow Customization
Field Description
Validate Script Field level scripting executed when the user saves the
changes made to the progress screen. Note this scripting
applies only to the rule the action is linked to in the
workflow, not every time the progress screen is saved.
To add a new workflow action type Reset Column Value to a rule, follow the steps described in the
Set Column Value (page 24-17) section, but select the Reset Column Value from the Actions
Palette.
Field Description
Attribute The attribute of the field on the screen. The list displays a
list of all attributes. The possible attributes are Hidden,
Field Description
New Line The position of the field on the screen. The possible values
are Same Line or New Line. If no value is entered, the field
is displayed on the same line.
Row Span The number of rows the field takes up on the screen. The
possible values are 1, 2, 3, 4 or 5 rows. If no value is
entered, the field is displayed on one row.
Col Span The number of columns the field takes up on the screen.
The possible values are 1, 2, 3, 4 or 5 columns. If no value
is entered, the field is displayed over one column.
Create Script Allows you to add field level scripting on the column value
in the rule, which is executed when the progress screen is
presented to the user. Note this scripting applies only to the
rule the action is linked to in the workflow, not every time
the progress screen is displayed.
OnChange Script Allows you to add field level scripting on the column value
in the rule with JavaScript, which is executed when the
user changes the value on the progress screen.
Generic JavaScript and/or Sage CRM’s Client-Side API
library of functions can be used here. Please refer to
Advanced Screen Customization (page 15-1) for more
details.
Note this scripting applies only to the rule the action is
linked to in the workflow, not every time the value in the
column is changed.
Validate Script Allows you to add field level scripting on the column value
in the rule, which is executed when the user saves the
changes made to the progress screen. Note this scripting
applies only to the rule the action is linked to in the
workflow, not every time the progress screen is saved.
24-20 Sage CRM
Chapter 24: Workflow Customization
To add a new workflow action type Display Field For Amendment to a rule, follow the steps
described under Set Column Value (page 24-17), but select Display Field For Amendment from
the Actions Palette.
Field Description
Attribute The attribute of the field on the screen. The list displays a
list of all attributes. The possible attributes are Hidden,
Required and Read Only.
Row Span The number of rows the field takes up on the screen.
Col Span The number of columns the field takes up on the screen.
Create Script Allows you to add field level scripting on the column value
in the rule, which is executed when the progress screen is
presented to the user. Note this scripting applies only to the
rule the action is linked to in the workflow, not every time
the progress screen is displayed.
OnChange Script Allows you to add field level scripting on the column value
in the rule with JavaScript, which is executed when the
user changes the value on the progress screen.
Generic JavaScript and/or Sage CRM’s Client-Side API
library of functions can be used here. Please refer to
Advanced Screen Customization (page 15-1) for more
details.
Note this scripting applies only to the rule the action is
linked to in the workflow, not every time the value in the
column is changed.
Validate Script Allows you to add field level scripting on the column value
in the rule, which is executed when the user saves the
changes made to the progress screen. Note this scripting
applies only to the rule the action is linked to in the
workflow, not every time the progress screen is saved.
To add a new Show Message On Screen workflow action to a rule, follow the steps described in the
Set Column Value (page 24-17) section, but select Show Message On Screen from the Actions
Palette.
Field Description
Value The text of the message that is to appear on the screen. This can
be text or a translatable code (the Capt_Family must be called
ActionText and the Capt_FamilyType should be Tags).
New Line The position of the field on the screen. The possible values are
Same Line or New Line. If no value is entered, the field is
displayed on the same line.
Row Span The number of rows the field takes up on the screen. The possible
values are 1, 2, 3, 4 or 5 rows. If no value is entered, the field is
displayed on one row.
Col Span The number of columns the field takes up on the screen.
Order The order in which the field is placed on the workflow progress
screen.
24-22 Sage CRM
Chapter 24: Workflow Customization
Create Task
The Create Task action can be used to prompt the user to schedule a task as part of a workflow
process, or to automatically create a task with predefined values and without any user input (the
Attribute field must be set to Hidden). Note that the action cannot be used with Primary Rules. The
Opportunity (or other workflow entity) must already exist before tasks, for example, can be linked to
it.
To add a new Create Task workflow action to a rule, follow the steps described in the Set Column
Value (page 24-17) section, but select Create Task from the Actions Palette.
Field Description
Get Default User From The user the task is created for. A parameter, such
as #comm_userid#, #oppo_assigneduserid#, #lead_
assigneduserid#, #case_assigneduserid#, or #soln_
assigneduserid#, can be entered here to insert the
current logged on user. If a specific user has been
hard coded in the User field, leave the field blank.
Label For New Task This label is attached to the task that is created. It
can be used in JavaScript conditions on future
workflow rules to test the values of fields on that
communication. For example, Display the Closed
workflow rule when Status of related communication
labeled "XYZ" is equal to Complete.
Field Description
User The user the task is scheduled for. This can be "hard
coded" here. If this is left blank, the user in the Get
Default User From field is used.
Send Reminder Message If you select the Onscreen Reminder field, then you
can select this check box to receive the reminder in
different formats depending on the priority of the
communication. The different formats and priorities
are set up within the user’s Preferences tab.
Team The team the task is for. The list displays a list of all
teams in the system.
24-24 Sage CRM
Chapter 24: Workflow Customization
Create Opportunity
The Create Opportunity action can be used to prompt the user to create a new opportunity as part of
a workflow process, or to automatically create an opportunity with predefined values and without
any user input (the Attribute field must be set to Hidden).
This can be used, for example, within the Case workflow representing your help desk process. You
can add an action allowing the user to create a new opportunity to "upsell" training on the product,
that the customer is experiencing difficulty with. Note that the Create Opportunity action cannot be
used with Primary Rules. The Opportunity (or other workflow entity) must already exist before
tasks, for example, can be linked to it.
To add a new Create Opportunity workflow action to a rule, follow the steps described in the Set
Column Value (page 24-17) section, but select Create Opportunity from the Actions Palette.
Field Description
Get Default User From The user the opportunity is created for. A parameter,
such as #comm_userid#, #oppo_assigneduserid#,
#lead_assigneduserid#, #case_assigneduserid#, or
#soln_assigneduserid#, can be entered here to
insert the current logged on user. If a specific user
has been hard coded in the Assigned To field, leave
the field blank.
Label For New Opportunity This label is attached to the opportunity that is
created. It can be used in JavaScript conditions on
future workflow rules to test the values of fields on
that opportunity.
Field Description
Current Time Offset Length of time in minutes after the current time
(when the action is executed) that the Opportunity
Opened Date/Time is set for.
Create Case
The Create Case action can be used to prompt the user to create a new case as part of a workflow
process, or to automatically create a case with predefined values and without any user input (the
Attribute field must be set to Hidden). Note that the action cannot be used with Primary Rules. The
Opportunity (or other workflow entity) must already exist before tasks, for example, can be linked to
it.
To add a new Create Case workflow action to a rule, follow the steps described in the Set Column
Value (page 24-17) section, but select Create Case from the Actions Palette.
Field Description
24-26 Sage CRM
Chapter 24: Workflow Customization
Field Description
Get Default User From The user the case is created for. A parameter, such
as #comm_userid#, #oppo_assigneduserid#, #lead_
assigneduserid#, #case_assigneduserid#, or #soln_
assigneduserid#, can be entered here to insert the
current logged on user. If a specific user has been
hard coded in the Assigned To field, leave the field
blank.
Label For New Case This label is attached to the case that is created. It
can be used in JavaScript conditions on future
workflow rules to test the values of fields on that
case.
Current Time Offset Length of time in minutes after the current time
(when the action is executed) that the Case Opened
Date/Time is set for.
Field Description
Create Solution
The Create Solution action can be used to prompt the user to create a new solution as part of a
workflow process, or to automatically create a solution with predefined values and without any user
input (the Attribute field must be set to Hidden). The Create Solution action cannot be used with
Primary Rules. The Opportunity (or other workflow entity) must already exist before tasks, for
example, can be linked to it.
To add a new Create Solution workflow action to a rule, follow the steps described in the Set
Column Value (page 24-17)section, but select Create Solution from the Actions Palette.
Field Description
Get Default User From The user the solution is created for. A parameter,
such as #comm_userid#, #oppo_assigneduserid#,
#lead_assigneduserid#, #case_assigneduserid#, or
#soln_assigneduserid#, can be entered here to
insert the current logged on user. If a specific user
has been hard coded in the Assigned To field, leave
the field blank.
24-28 Sage CRM
Chapter 24: Workflow Customization
Field Description
Create Lead
The Create Lead action can be used to prompt the user to create a new Lead as part of a workflow
process, or to automatically create a lead with predefined values and without any user input (the
Attribute field must be set to Hidden). The Create Lead action cannot be used with Primary Rules.
The Opportunity (or other workflow entity) must already exist before tasks, for example, can be
linked to it.
To add a new Create Lead workflow action to a rule, follow the steps described in the Set Column
Value (page 24-17) section, but select Create Lead from the Actions Palette.
Field Description
Get Default User From The user the lead is created for. A parameter, such
as #comm_userid#, #oppo_assigneduserid#, #lead_
assigneduserid#, #case_assigneduserid#, or #soln_
assigneduserid#, can be entered here to insert the
current logged on user. If a specific user has been
hard coded in the Assigned To field, leave the field
blank.
Field Description
Label For New Lead This label is attached to the lead that is created. It
can be used in JavaScript conditions on future
workflow rules to test the values of fields on that
lead.
Assigned To The user the lead is scheduled for. This can be "hard
coded" here. If this is left blank, the user in the Get
Default User From field is used.
24-30 Sage CRM
Chapter 24: Workflow Customization
Field Description
Field Description
This can be used, for example, in campaigns to delete all communications for a wave item. You can
use the ## symbols to reference any field for the current entity record. You can also have multiple
statements separated by semi-colons.
Field Description
Show Confirmation Gives the user the chance to cancel the action
Message before execution. It is recommended that the Show
Confirmation Message is set to Yes. The
confirmation message can be set up as a translation
where the Capt Family is set to ExecSql and the
Capt Code is the same name as the workflow action
(Capt FamilyType is set to Tags).
24-32 Sage CRM
Chapter 24: Workflow Customization
Note that the name of the stored procedure, [xxx] below, can be any name that you choose. The
parameters in the stored procedure, however, must be as in the example below. The value set in the
@return_value is put into the field that you have specified in the workflow action column. The stored
procedure should always return (1).
Field Description
This can be used, for example, to notify a user that a new Web lead has been assigned to them.
Note: # codes can be used in the Trigger SQL Clause of Escalation rules, which are set up to create
a Notification action. Please refer to Using the ## and # Symbols (page 24-6) for more details.
Field Description
Send E-mail
To add a new workflow action type Send E-mail to a rule, follow the steps described in the Set
Column Value (page 24-17) section, but select Send E-mail from the Actions Palette.
An e-mail server must have been set up by your IT department for this (and other e-mail features of
the system) to work. You must also specify the Notify E-mail Address in Administration |
Advanced Customization | Workflow & Escalation Configuration for the Send E-mail rule to
send the e-mail.
Field Description
24-34 Sage CRM
Chapter 24: Workflow Customization
Field Description
To E-mail address of the recipient. You can use the ## symbols to call
information from the user table - for example, #oppo_
assigneduserid# - as long as the e-mail address of the user has
been correctly entered.
Subject The text that appears in the subject field of the e-mail.
Choose The field you want to insert into the e-mail, for example #oppo_
Field to opportunityid#.
insert into
the E-mail
Field Description
To add a new workflow action type Create Task for Group to a rule, follow the steps described in the
Set Column Value (page 24-17) section, but select Create Task for Group from the Actions
Palette.
Field Description
Label For New Task This label is attached to the task that is created. It
can be used in JavaScript conditions on future
workflow rules to test the values of fields on the
wave item (or related entity).
24-36 Sage CRM
Chapter 24: Workflow Customization
Field Description
Please refer to Create Task Fields (page 24-23) for an explanation of the New Task Default Values
panel.
Field Description
Field Description
Label For New Task This label is attached to the task that is created. It
can be used in JavaScript conditions on future
workflow rules to test the values of fields on the
wave item (or related entity).
24-38 Sage CRM
Chapter 24: Workflow Customization
Field Description
Label For New Task This label is attached to the outbound call list that is
created. It can be used in JavaScript conditions on
future workflow rules to test the values of fields on
the wave item (or related entity).
Condition Description
Restricted To Team This field is standard on all rule types. Select from a
Condition Description
24-40 Sage CRM
Chapter 24: Workflow Customization
2. Click on the hyperlink of the Approved transition rule, which connects Quoted to Negotiation. The
Workflow Rule page is displayed.
Valid=(CurrentUser.user_logon=='DolanW');
Workflow tree
10. Click on the hyperlink of the Signed transition rule, which connects Negotiation to Contract. The
Workflow Rule page is displayed.
11. Enter the following JavaScript into the JavaScript condition field:
Valid=(LOI.comm_status=='Complete');
Conditional Rules
An opportunity cannot be closed until three directors have approved the contract.
A conditional rule has two sets of actions instead of one. One set to be executed when the
JavaScript condition is true, the other when the condition is false. The JavaScript condition on a
Conditional Rule is evaluated when the user clicks on the workflow rule button. This means that
conditional rules always show as long as other conditions (for example, Restrict to Team) are true.
24-42 Sage CRM
Chapter 24: Workflow Customization
The advantage of a conditional rule to the user is that the rule is always displayed as a reminder to
them. Also, when the user selects the rule and the conditions are not met, they can receive a
message advising of the reason.
To set up a conditional rule on the Approved (contract) rule in your sample opportunity workflow:
1. Set up the Create Task actions for Approval1, Approval2 and Approval3 on the Signed rule, which
connects Negotiation to Contract.
2. Click on the hyperlink of the Approved (contract) rule. The Workflow Rule page is displayed.
3. Change the Type list selection from Transition Rule to Conditional Rule. The list of actions is now
divided in two. The left-hand set of actions is executed when the condition is True, and the right-
hand set where it is False.
4. Add a Show Message On Screen action to the list of False actions, to inform the user of the reason
why they are not progressing to the next state.
5. Add the JavaScript condition to check for all three approvals.
Valid=((Approval1.comm_status=='Complete')
&&(Approval2.comm_status=='Complete') &&
(Approval3.comm_status=='Complete'));
4. Type the SQL WHERE clause in the SQL Trigger Clause Field. Once you specify the condition, any
actions you create on the rule will be performed if the condition you specified is met. The condition
is for the value in the opportunity’s Forecast field to be greater than $50,000 and the value in the
Source field to be "Employee".
5. Once you have done this you need to add the Send E-mail action to the rule. Please refer to Send
E-mail (page 24-34) for details on adding this particular action.
6. Use the Custom File Name field if you are setting an escalation rule for a custom entity. If you set
the Custom File Name to be the page that shows the summary details for the entity, when the
notification is displayed on-screen the user can click on it and it will go to the summary page of the
record.
7. Specify the interval (in minutes) at which the rule will run. If you set the Interval to 60, for example,
the escalation rule will run every hour. If you are using the CRM Escalation Service, this interval
has a minimum time of 5 minutes. If you are not using the CRM Escalation Service, the minimum
will be whatever the Notify Interval is set to in Administration | Advanced Customization | Workflow
& Escalation Configuration, Notify Interval (sec) field.
8. Select the Save button to save the new rule and corresponding action. The rule is then added to
the rules Palette.
9. Select the rule and drag it onto the lower drop circle of the Negotiation state.
10. Then drag the Negotiation state from the States Palette onto the blank state image you just created.
This ensures that the new rule is applied to the Negotiation state.
Once the workflow is saved and enabled, the new Escalation rule works as follows: If an
opportunity gets to the Negotiation stage and it was sourced by an employee and is worth in excess
of $50,000, an e-mail is sent to the sales manager.
24-44 Sage CRM
Chapter 24: Workflow Customization
Cloning Rules
You can clone rules and their associated actions in workflow. This is useful when you need to set
up a rule, which is similar to an existing rule, in particular where associated actions or a complex
JavaScript condition are similar.
To clone a rule:
1. Select the rule you want to clone. The Workflow Rule page is displayed.
2. Make sure the Available For Cloning check box is selected.
3. Save the rule.
4. Click on the New Rule button. The Workflow Rule page is displayed.
5. Select the rule you want to clone from the Clone An Existing Rule field.
6. Select Yes or No from the Clone The Actions Associated With The Rule field.
7. Fill in the new Rule Name field, and update the other fields and actions if you need to.
8. Select the Save button. You can now add the cloned rule into your workflow.
CmLi_Comm_NotifyTime<#T AND
cmli_comm_userid=#U AND
Comm_Status='Pending' AND #L = 'DolanW'
#L is useful for creating a trigger specific to a particular user. In the SQL above, #L is the
current user logon as a string, that is, DolanW. #L is used to indicate that notifications are
only to be used if the user is DolanW.
Alternatively, you could use this SQL in the Trigger SQL Clause field. Here #C is used to
indicate that the user is notified if the team is his current team. Note that it also checks that
the Team is null, as Team may not be a mandatory field.
For more information on the use of the # symbols please refer to Using the ## and # Symbols
(page 24-6).
CmLi_Comm_NotifyTime<#T AND
cmli_comm_userid=#U AND
Comm_Status='Pending' AND
Comm_ChannelID = #C OR Comm_ChannelID IS NULL)
6. Add the notification action to the rule. Please refer to Adding Actions to Rules (page 24-14) for
more information.
7. Select Save. The new escalation rule is displayed on the Escalation page.
Note: If you are creating new escalation rules to set off notification reminders for communications
and you are using a custom view, you need to make sure that you exclude (comm_type)
RecuMaster in the view or you will get multiple notifications for each instance of a recurring
communication with a notification reminder. vEscalationComms includes an example for how this
is done.
Field Description
Clone An Existing Rule Select an existing rule, that you want to copy the
properties of. The rule that you are cloning must
have the Available For Cloning check box enabled to
appear in this drop-down list.
Clone The Actions Select Yes to copy the actions of the rule selected in
Associated With The Rule the previous field.
25-2 Sage CRM
Chapter 25: Escalation Rules
Field Description
Table Or View Table or view that the rule is run against. For
example, Opportunity.
Available For Cloning Enable this check box if you want to base other rules
on this rule and its associated actions.
Rule Enabled Check this box to make the rule active on the
system.
Alternative Image For Rule If the rule is visible to the end user, it is represented
on the screen by a small green bullet
(WORKFLOWDEFAULT.GIF) followed by the rule
name.
To change the GIF select an alternative from this
drop-down field. If you want to add a new GIF, make
sure it is in the ...WWWRoot\Themes\Img\[theme
name]\Buttons subdirectory of the CRM install.
Custom File Name Type in the custom file name that you want this rule
to link to. The custom file must reside in the
CustomPages subdirectory of your CRM install.
ASP pages cannot be linked to Escalation rules.
Field Description
25-4 Sage CRM
Chapter 26: Workflow / Escalation Configuration
Workflow/Escalation Settings
You specify Workflow and Escalation settings as follows:
1. Open Administration | Advanced Customization | Workflow & Escalation Configuration.
2. Select the Change button.
3. Once you have finished completing the fields, select Save.
The table below describes the fields on the Workflow / Escalation settings page.
Field Description
Field Description
Notify Interval (Sec) The minimum interval (in seconds) between the
server polling clients for notification reminders or
escalation rules to be run if the CRM Escalation
Service is not being used. If you are using the CRM
Escalation Service, the minimum is 5 minutes by
default.
Notification Display Count The number of notifications that can be shown on-
screen at any one time.
Notify E-mail Name The name that appears on an e-mail sent by the
system. For example, when the system escalates
an unsolved case by sending an e-mail to the team
leader as part of a case workflow, this is the name
that the e-mail comes from.
Notify E-mail Address The valid e-mail account that is used to send the e-
mails. This must be set for the Send E-mail
workflow rule to work.
Default Targets For High Choose the targets that you want high priority
Priority Reminder reminder messages to be sent to. Options are
Messages Desktop e-mail, Mobile e-mail, and SMS.
Default Targets For Normal Choose the targets that you want normal priority
Priority Reminder reminder messages to be sent to. Options are
Messages Desktop e-mail, Mobile e-mail, and SMS
Default Targets For Low Choose the targets that you want low priority
Priority Reminder reminder messages to be sent to. Options are
Messages Desktop e-mail, Mobile e-mail, and SMS.
Maximum SLA Actions Specify the number of Action fields you want to be
26-2 Sage CRM
Chapter 26: Workflow / Escalation Configuration
Field Description
Use Escalation Service Set to Yes by default. When set to Yes, the CRM
Escalation Service is used to run escalation rules.
This is a Windows service, so you switch it on and
off in Control Panel | Administrative Tools |
Services. Setting this option to No means that the
Web server will run escalation rules, which requires
someone to be logged on to CRM.
l Enable deduplication.
l Customize the deduplication search screens.
l Set up match rules.
l Create company name clean up lists.
l Set Company Name Cleanup Configuration Settings.
Enabling Deduplication
Deduplication aims to prevent the user from adding duplicate entries by searching for similar entries
and warning the user before the new record is added.
The Merge functionality, described in the User Guide, can be used to clean the data if the
duplication has already occurred.
Deduplication is enabled by default if you selected the "install demo data" option during the CRM
installation. If not, Deduplication is set to "No" by default.
To check that deduplication is enabled:
1. Click on the Administration | System | System Behavior.
2. Click on the Change button. The System Behavior page is displayed.
3. Ensure that the Deduplication field is set to Yes.
4. Select the Save button. Deduplication is now enabled.
Before it can be used, the Deduplication Screens must be customized, and Match Rules must be
set up for the entities you want deduplication to work on.
When Deduplication is enabled, it provides match rules of type "contains" set up on Company
Name and Person Last Name fields.
To set up a Dedupe Search Screen for the Person entity, follow the steps described above, but
select the Person from the Customization home page, then select the Customize button next to the
Person Dedupe Search Screen.
Starting With The user could enter, for example, Des or Design
for the system to detect a duplicate with Design
Right Inc.
Does Not Match The user could enter, for example, Design Right
Inc., and the system would detect duplicates in
every company except Design Right Inc.
27-2 Sage CRM
Chapter 27: Deduplication
l The fields that you set up match rules on are used to deduplicate when a user adds or edits the
record.
l Only one match rule can be set up per table column. In other words, you have to decide on one
type of match rule for Company Name, one for Address City.
l The fields on the Deduplication search screens are based on logical "AND"s. In other words, the
more information the user enters into the Deduplication search screen, the less likely that the
system will detect a duplicate, since ALL the search criteria entered must be met—company name
AND address AND city AND postcode.
To set up the match rules for the Company Dedupe Search Screen:
1. Click on Administration | Data Management | Match Rules.
2. Select Company from the Match Rules page and select Continue. The match rules page for the
Company Dedupe Search screen is displayed.
3. Select the New button. The New Match Rule page is displayed.
4. Enter the Match Field and Match Type and select the Save button.
5. Repeat these steps to set up a match rule for each field on the Company Dedupe screen, then
repeat for the Person Dedupe screen.
Please refer to the User Guide for information on using the dedupe functionality.
Field Description
List To View Select the type of list you want used for Data
Cleaning. The options are Characters Or Strings To
Remove and Characters Or Strings To Replace. For
more information on Company Name Clean Up,
please refer to Deduplication (page 27-1).
27-4 Sage CRM
Chapter 28: Data Upload
28-2 Sage CRM
Chapter 28: Data Upload
5. Enter the details. Refer to Data Upload Fields (page 28-4) for more information.
6. Select the Save button. The Data Upload, Step 2 of 4 page is displayed.
Field Description
Data File If this is a new configuration, you must select the file
to be used for the import. If it is an existing
configuration, it will use the last file used. If the initial
Data Upload caused an Error File or a Duplicate File
to be created, these will be available as radio button
options.
File Date Format If there are any date fields in the Date File, use this
to select the format in which they appear.
Merge Rule Merge duplicate data with current data. Select this
option to merge any new data from the upload file
with the existing data.
Overwrite current data with duplicate data. Select
this option to overwrite the current data with the data
in the upload file.
Max Contacts Per Row This is the number of People that appear on each
row of the Data File.
Preview Rows This is the number of rows from the Data File that
will be shown in the Preview Screen in Step 3,
before the Upload is started.
Max Addresses Per Row This is the maximum number of Addresses that
28-4 Sage CRM
Chapter 28: Data Upload
Field Description
Max Notes Per Row This is the maximum number of Notes that appear
on each row of the Data File.
Make a Group Tick this if you want all the contacts that are
imported to be available in a group.
Overwrite Person Default If you select this option, the address mapped as the
Address person address will always become the person’s
default address - replacing their existing default
address. It is also added as a company address. If
there is more than one address on a line, the rule
applies to the first address.
Map Selection Fields To When this option is selected, the system tries to
Codes match selection field translations from your .CSV file
to caption codes in CRM. For example, a person title
of Chief Executive Officer gets mapped to the caption
code CEO, and stored in the database. If a selection
does not yet exist in CRM, it gets added to the
database. In this case, the caption code will be the
same as the selection.
When this option is not selected, selection list
choices entered in the .CSV file as translations rather
than caption codes are not added to the database.
The translation, for example, Chief Executive Officer,
is displayed on the person summary page for viewing,
but not added to the database. This means that when
you select the Change button, you must set the drop-
down field to a selection that already exists in the
CRM database.
The following fields are displayed in addition to the Data File, Description, File Data Format,
Preview Rows, and Make A Group fields, if you are performing a Lead data upload.
Field Description
Field Description
l The first time a data file is imported, the system will best guess which fields in CRM the columns
should relate to, based on the column name. This is intended to give a reasonable first estimate for
the mappings.
l The mappings can be previewed and edited to achieve the correct result.
l The list is sorted and grouped by table.
l The Fields Not Mapped Yet (Will Be Ignored) section can be edited to set up the mapping
manually, otherwise the fields will be ignored.
l The Data File column shows the column heading from the data file.
l The Sample Data column shows an example of the way the data will be imported.
l The Actual Field column shows the name of the CRM table column that the data file column will
map to.
Creating a Mapping
To create a column mapping—for example, you want to map Town to City:
1. Click on the Town hyperlink.
2. Select Company from the Belongs To field.
3. Select Address from the Data Table field.
4. When the amended Data File: Town page is displayed, select Address: City from the Field Name
field and select Business from the Company Address Type field.
28-6 Sage CRM
Chapter 28: Data Upload
5. Select the Save button. If you do not want to proceed to Preview the Data Upload, but you do want
to save the mappings and return to the upload at a later stage, select the Save button. Town is now
mapped to City.
Note: You can amend a column mapping in the same way as you create new mapping, that is,
by selecting the hypertext link of the existing mapping and making changes to the fields on the
Data File page.
Field Description
Field Description
Match User Fields This field allows you to specify what value on the
user table you want to match when you are mapping
a column in your data file to a User Select field. For
example, if the file you are uploading contained the
full user name, you would be able to pick "Firstname
Lastname" and the correct User ID would be filled in.
Note: The Match User Fields drop-down only
appears when you have selected a column that is a
User Select.
Order (After Belongs To) This field is available if the Belongs To field is set to
Person and the number of People on each Row has
been set to more than one. Use this to specify which
Person record this field belongs to.
Order (After Data Table) This field is available if the Data Table field has been
set to Address or Notes and the number of
Addresses or Notes on each row has been set to
more than one. Use this to specify which Address or
Note record this field belongs to.
28-8 Sage CRM
Chapter 28: Data Upload
4. Select Person: First from Select Field and click on the Add button. This displays the column name
within # characters in the Format Mask field.
5. Select Person: Lastname from the Select Field field and click on the Add button. This adds the
column name to the Format Mask field.
6. Separate the string in the same way that it is separated in the data file, by adding a space in
between #pers_firstname# and #pers_lastname# if this is how they are separated in the data file
(or a comma if they are separated by a comma).
7. Select the Save button. The Data File: Surname page is displayed.
8. Select the Save button. The data will map to the two separate fields in the upload.
system. For example an imported company name, Design Right Inc., would be detected as
a duplicate of Design Right Inc.
l Phonetic - the imported data would have to phonetically match the existing field in the
system. For example an imported company name, Greatecom, would be detected as a
duplicate of Gatecom.
l First Letter Match - the imported data would have to start with the same first letter as the
existing data. For example an imported company name, Design Right Inc., would be
detected as a duplicate of Davis & Son Publishing Ltd.
l Begins With - the imported field would have to begin with the same letters as the existing
data. For example an imported company name, Design Right Inc., would be detected as a
duplicate of Des Barnes Sign Makers.
l Contains - the imported field would have to contain a part, or parts of the existing field in the
system. For example an imported company name, Design Right Inc., would be detected as
a duplicate of Right & Shine Ltd.
l Not Equal To - the imported field would have to not match the existing field in the system.
For example an imported company name, Design Right Inc., would be detected as a
duplicate of Cheshire Cats Petcare.
3. Select the Save button. The Data Upload, Step 2 of 4 page is displayed. The dedupe rule is
displayed in the Dedupe Rule column.
4. Click on the hyperlink of the Last Name data file column.
5. Set up a dedupe rule on the Last Name data file column, for example, Exact Match. The Data
Upload, Step 2 of 4 page is displayed. The dedupe rule is displayed in the Dedupe Rule column.
When you run the upload with the Process Duplicates Interactively option selected, any person
lastname matches are detected once all company matches have been found. If a duplicate
company is detected and you choose to merge it with the duplicate, it will detect any person
matches according to any dedupe rules on the Person table fields.
Once you have decided what to do with field level dedupe matches, the data is merged or
overwritten according to the merge rule selected in the first step of configuration.
28-10 Sage CRM
Chapter 28: Data Upload
5. Click on the Save button. The User Info column has been successfully mapped to the
corresponding "actual" field in CRM.
A similar approach can be taken when mapping territories in an upload file. For example, if the
upload files use the term "Market" to describe entries that CRM treats as "territories," you can use
the mapping screen for the data file column to select Company: Territory or Person: Territory as the
CRM field to map to. The upload will be successful as long as the values in the uploaded file—"US
East," "US West," "Canada," and so on—match the territory names in the system.
Field Description
Append To Log File Select this radio button to append to the log file.
Overwrite Log File Select this radio button to overwrite the log file.
Field Description
28-12 Sage CRM
Chapter 28: Data Upload
Mapping Addresses
When mapping addresses, if an address is associated with a particular person being uploaded,
attach them to the person and they will also be made available to the company.
Checking Mappings
Check carefully that all the mappings have been made correctly. Also check the mappings that
have been made automatically. Do this by entering each mapping and by reviewing the list verifying
that each column belongs to the correct entity. This is a critical step as it is easy to make a mistake
mapping data.
Multiple Files
If uploading multiple files, copy any error logs or upload.txt files to a backup location (from
..\Library\Data Upload) for tracking purposes so that you can account for all data processed.
Interactive Mode
When the data upload is processed in interactive mode, then possible duplicate records are shown
to the user as they are found for the user to choose if they are duplicates or are to be added. The
data upload uses the standard Company and Person dedupe screens to display the data from the
file that is a possible duplicate. Note that only fields from the main tables will have their values
shown here.
SQL Cleanup
If you have chosen to upload data with Deduplication disabled and have turned off all mandatory
fields, then if your data is not complete you may have many redundant person and address records
created. After the upload has been run, run the following SQL commands against the database.
PEOPLE!
28-14 Sage CRM
Chapter 28: Data Upload
ADDRESSES!
Frozen Screen
If you get a frozen screen without an error, your data file may be too large, and you may not have
indicated the number of rows to process. Limit your file to approximately 5000 rows.
28-16 Sage CRM
Chapter 29: Products
Option Description
Quotes and Orders The Quotes and Orders product functionality is used.
Field Description
Use Pricing Lists Allows you to create different pricing lists so that
products can be sold at different prices. For
example, you may want to set up a Wholesale
pricing list and a Retail pricing list. If set to No, there
is one price for each product.
Once you have created Price Lists and applied them
to Products, you cannot disable this option until you
deactivate the Price Lists.
Note if you set this option to No, the Price Lists tab
will not be visible after you click on the Save button.
Use Units Of Measure When set to Yes, products can be sold in single
units or in different multiples, for examples packs of
6 and packs of 12. Pricing can be then applied to the
Unit of Measure (UOM). If set to No, prices are
applied to single products only.
Note if you set this option to No, the Units of
Measure tab will not be visible after you click on the
Save button.
29-2 Sage CRM
Chapter 29: Products
Field Description
Order Level Discount When set to Yes, adds an order level discount
section to the Quote and Order screen. This enables
users to apply a discount to an entire order, not just
to individual line items.
Default Quote Expiration Select the number of days after the day it was
Date After created that you want quotes to expire in.
With the default configuration settings, three tabs are available within Administration | Data
Management | Products. These are:
l Products
l Product Families. Note that although you can set up Product Families within this simple Product
structure, instructions on how to do it are covered in Setting up Product Families (page 29-6).
l Product Configuration
Note: If your system contains demo data, you need to deactivate all existing UOMs and Price Lists
(except the Default one) before setting up a simple product structure.
Setting up Products
To set up a simple pricing structure:
1. Select Administration | Data Management | Products.
2. Click on the Products tab and select the New action button. The New Product input page is
displayed.
3. Type the name of the product in the Product Name field.
4. Type the code for the product in the Product Code field.
5. Select Save and then select the Change button.
6. Add a price for the product.
7. Click on the Save button and then select Continue.
8. You can continue to add several products in the same way. The list of new Products you set up is
displayed.
When a user adds a Line Item with this pricing system, they select the product they want using the
Product search select field, the List Price and Quoted Price fields are completed automatically.
29-4 Sage CRM
Chapter 29: Products
UOM Family list
6. You can create more UOM Families by selecting the New action button on this screen if you wish.
4. Type a name for the UOM in the Name field, for example 5 User Pack.
5. Type a description in the Description field if you wish.
6. Type a quantity of units that are contained in this UOM in the Units field, in this example the quantity
is 5.
7. Select Save and add three more UOMs in the same way—10 User Pack, 20 User Pack, and 50
User Pack. The UOMs are displayed on the Unit Of Measure screen.
UOM List
29-6 Sage CRM
Chapter 29: Products
Please refer to the User Guide for full details on working with Quotes, Orders, and Products.
Pricing matrix
You can add prices for all of the currencies that are specified on the Product Configuration tab.
Users can create Quotes and Orders and add Line Items to them based on the prices and
currencies are included in the pricing matrix.
If prices have not been specified for Products in a particular currency, users cannot add the product
(in that currency) to a Line Item.
29-8 Sage CRM
Chapter 29: Products
Deleting a Product
You can delete a product as long as it is not associated with a quote or an order.
If a product is no longer used, but is already associated with a quote or an order, then you can set
the status to Inactive. This will prevent users from selecting that product in the future.
You can also delete a Product Family from the Product Families tab, as long as the Product Family
has no products associated with it.
To delete an existing product:
1. Select Administration | Data Management | Products.
2. Type the product name in the Products Find page.
3. Select the Find action button.
4. Click on the hypertext link of the product you want to delete. The Product Details page is
displayed.
5. Select the Delete button.
6. Select the Confirm Delete button. The Product is now deleted.
Currency Considerations
Before setting up currencies and currency fields, please note the following:
l Decide on the base currency at the beginning of your implementation and do not change it.
l Decide on a process for maintaining the currency rates against the base currency—how often, and
by whom. For some organizations, a quarterly update may be sufficient. Others may decide on daily
or weekly.
l Currency fields allow you to specify a value and a currency. The value remains the same on the
record regardless of exchange rate changes. If a customer is quoted USD 100,000 for a project, it
will remain USD 100,000. This is the value stored in the database. However, a user reporting on
the data in another currency may see a change in the project value, if the exchange rates have
been changed since the last time the report was run.
l The converted values of currency fields are calculated by triangulation. The monetary value
entered by the user is divided by the currency specified to get the value in the base currency, then
multiplied by the exchange rate specified for the user's preferred currency.
Currency page
List of currencies
30-2 Sage CRM
Chapter 30: Multicurrency Support
Field Description
The Description of the currency is maintained within Administration | Translations, using the
Caption Family CurrencyCodes. If the correct description does not automatically appear when you
save the currency, check that you have entered the correct symbol. If the description is still not
displayed, then you need to set up a new translation, using the Currency Symbol as the Caption
Code.
Please refer to Translations (page 11-1) for more information.
30-4 Sage CRM
Chapter 31: Sales Forecast Configuration
Forecast Settings
You specify Sales Forecast configuration settings in Administration | Data Management |
Forecasts. These settings are applied to all Forecasts created by users.
To change Sales forecast configuration settings:
1. Select Administration | Data Management | Forecast.
2. Select the Change action button and make the changes you require.
3. Select Save.
The following table describes the fields on the Forecasts settings page.
Field Description
Fiscal Year Start Month Select the month that your fiscal year starts in from
this field. For example, if your fiscal year starts in
April, your Q2 comprises July, August, and
September.
Overwritable Forecast When set to Yes, the user can override the forecast
figures, which is calculated automatically in the
Forecasts tab.
Relationship Type
In this example the Relationship Type is Parent/Child; the Parent Entity is the Person, who
Directs (Relationship Name on Parent) the Company (Child Entity). The Company is
Directed By (Relationship Name on Child) the Person.
4. Select Save. The new relationship type is displayed in the list of Relationship Definitions. The User
can now set up relationships between Directors and Companies from either the Person
Relationships tab or from the Company Relationships tab.
Please refer to the User Guide for more information on working with the Relationships tab.
As the needs of your business grow, you may be asked to define further relationship types. For
example:
l Tracking Contractors and the companies where they are currently active.
Follow the steps described above to add these new relationship types. The Contractors example
could be set up using the Parent/Child Relationship Type (Company/Person). The Cases example
could be set up using the Sibling (Company/Case) Relationship Type.
32-2 Sage CRM
Chapter 32: Related Entities
helps the End User "read" the Relationship screen from the current context at the top downwards:
[noun] + [verb] + [noun].
6. Navigate to a Relationships tab where a Case relationship can be set up. For example, a new
sibling relationship in the Company Relationship tab.
7. Select the Relationship Name, and click on the Search Select Advanced magnifying glass icon.
The customized search select advanced list is displayed.
For more information on Search Select Advanced fields please see Example: Adding a Search
Select Advanced Field (page 13-3).
Field Description
Relationship Name (On The relationship name of the Parent or first Sibling
Parent/Sibling Entity) Entity. For example, Directs.
Relationship Name (On The relationship name of the Child or second Sibling
Child/Sibling Entity) Entity. For example, Directed By.
Display Color The color of the heading of the entities grouped into
this relationship type.
32-4 Sage CRM
Chapter 33: E-Mail Configuration and E-mail Status
E-mail/SMS Settings
You specify E-mail / SMS settings as follows:
1. Open Administration | E-mail And Documents | E-mail Configuration.
33-2 Sage CRM
Chapter 33: E-Mail Configuration and E-mail Status
Field Description
Use CRM's Embedded E- Defaults to Yes. This gives access to the Send E-
mail Editor mail button within all Communications tabs. It also
activates the Embedded Editor when the user clicks
on an e-mail hyperlink in CRM.
Allow Send Using Outlook Defaults to Yes. This gives access to the Send
Using Outlook button within the embedded e-mail
editor. Clicking on this button opens an Outlook
window. The Outlook window will take over any
address and text already added within CRM. It will
not take over attachments. These need to be
reattached. The advantage of using this button is
that the e-mail is saved in your Outlook Sent Items.
The disadvantage of using this button with the
standard CRM e-mail functionality, is that any
additional text or addresses added from the e-mail in
Outlook will not be reflected in the CRM E-mail Out
Communication record. This can be handled more
efficiently by combining this feature with E-mail
Management.
Send E-mail As HTML Set to Yes, if you want to send HTML e-mails.
Outbound E-mails Should Selecting CRM means that for outbound e-mails,
Be Filed By CRM files the e-mails. The standard CRM outbound
filing is to store a copy of the e-mail in the
communication record saved against the company
or person the e-mail was sent to. Selecting E-Mail
Management Server means that the Mail
Management Server Filing address gets "BCCed"
on all outbound e-mails. The outbound e-mail gets
filed according to the business rules applied to the
BCC e-mail address in the associated script file, or
the rulesets defined in CRM.
Mail Manager Server Filing Type the e-mail address of the mailbox you want E-
Address mail Management to run on. For example,
[email protected].
Mail Manager Server Filing This gets added in between the mailto recipient and
Address Prefix the Mail Manager Server Filing Address for mailto
Field Description
Outgoing Mail Server Specify the name or the IP address of your mail
(SMTP) server, if you are using Internal SMTP.
SMTP User Name Enter the User Name for the SMTP server, if your
mail server is using Basic SMTP authentication.
SMTP Password Enter the password for the SMTP server, if your mail
server is using Basic SMTP authentication.
SMS domain name The SMS gateway needed to pick up the messages
from the incoming mail folder of an e-mail server.
The address format it recognizes to send as the
SMS message is <phone number>@<SMS
domain>. For example
[email protected].
SMTP Server For SMS This is the name of the mail server or IP address of
Messaging the machine on which it is installed. This is used to
receive the e-mails to be sent as SMS messages.
Use SMS Features Specify whether you want to use SMS features. You
need to restart the application if you set this field to
Yes.
SMS From Address The SMS From Address is any valid e-mail address .
It is used by the Send SMS workflow action. If this
field is left blank the workflow rule will try to use the
logged on user’s e-mail address. If the logged on
user’s address is not available then the SMS From
Address will not be populated.
33-4 Sage CRM
Chapter 33: E-Mail Configuration and E-mail Status
Field Description
Manager Logon The logon name of a CRM user who has sufficient
permissions to access information in the database.
For example, the Admin user.
Debug Set to Yes when you are first setting up and testing
the service. This sends information to a log file in the
CRM install directory by polling the mail server every
20 seconds. Set to No the rest of the time for
improved performance. This polls the mail server
less frequently, and sends less detailed information.
The log file can be accessed from the main system
directory, for example, ...\Program
Files\Sage\CRM\Services\logs. The filename
assigned to it is:
<TODAYS_DATE><INSTALL
NAME>MAILMANAGER.LOG
The script is also sent to the administrator's address
specified on the E-mail Management Server Options
page in Administration | E-mail Management Server
Options. The section where the script failed is
highlighted in the e-mail.
E-mail Status
The E-mail Status screen enables you to check the status of the E-Mail Management Service and
sent e-mails.
To check e-mail status:
l Select Administration | E-mail and Documents | E-mail Status. The E-mail Status screen is
displayed.
33-6 Sage CRM
Chapter 34: Embedded E-Mail Editor
Configuration Settings
Before you can begin working with the Embedded E-mail Editor, you need to set up a number of
Configuration options.
To set up the Configuration options:
1. Select Administration | E-mail And Documents | E-mail Configuration. The E-mail/SMS settings
page is displayed.
2. Select the Change button.
3. Ensure that the Use CRM’s Embedded E-mail Client field is set to Yes.
4. If you also you want the ability to send e-mails using Microsoft Outlook, set the Allow Send Using
Outlook field to Yes.
5. From the Send Mail Using field, select the method by which you want CRM to send the mails.
Options available are CDONTS/CDOSYS and Internal SMTP.
6. If you want the ability to send e-mails in HTML format, set the Send E-mail As HTML field to Yes.
7. If E-mail Management is set up, you can select the way in which you want outbound e-mails to be
handled from the Outbound E-mails Should Be Filed By field. The options available are:
l CRM and E-mail Management Server - Selecting this option means that CRM files
34-2 Sage CRM
Chapter 34: Embedded E-Mail Editor
You can now check if there are problems with e-mail delivery by navigating to
C:\Inetpub\mailroot\badmail and examining the listed files.
3. In the E-mail Address field, enter an e-mail address you want the ability to send e-mails from.
4. Type the display name you want used in the Display Name field. This is the name that the recipient
sees in the From field when the e-mail is delivered.
5. Select the Enabled As A From Address check box to allow e-mails to be sent from the e-mail
address specified above (for example, [email protected]).
6. Select the teams you want to put the restriction on from the Restrict to Teams field. In this example,
selecting Customer Service and Operations means that only users in the Operations and
Customer Service teams can send e-mails from [email protected].
7. You can also select specified people outside of these teams that can send e-mails from this
address by selecting their names from the Restrict To Users field.
8. Select the Enabled As A Reply To Address check box to allow e-mails from a specified address to
be replied to.
9. From the Restrict To Teams field, select the team or teams you want reply e-mails to be sent to. In
this example, when an e-mail sent to a customer from [email protected] is replied to, the
recipient is the Customer Service team.
10. If you want to specify users outside the Customer Service team to send Reply To mails to, you can
select them from the Restrict To Users field.
11. Select the Save button.
Users can send e-mails from the address set up on the From and Reply To E-mail Addresses page.
For more details on sending e-mails, refer to the User Guide.
34-4 Sage CRM
Chapter 34: Embedded E-Mail Editor
7. You can format the text you entered with the formatting buttons at the top of the body field. You can
also include HTML content and inline images in the body. For more information on adding HTML
content and inline images to the e-mail body and formatting text, please refer to the Groups chapter
in the User Guide.
l You can attach global documents and local files.
l To attach a global document, use the Search Select Advanced icons to locate the file,
select the file and then select the Upload Attachment button.
l To attach a local file, select the Browse button, navigate to the file, and select the Upload
Attachment button.
8. You can add inline image to the template by browsing to the file and selecting Upload Inline Image.
You must have the Send E-mail As HTML field set to Yes in Administration | E-mail and Documents
| E-mail Configuration to upload an inline image.
9. You can remove the attachment by selecting the Delete button that is displayed once the file is
uploaded.
10. Select the Save button. The new e-mail template is added to the list of currently available templates
and is available for reuse. All of the values and content you entered in the template, including
attachments, are part of the template.
There are four translatable templates for this information, with the following caption codes:
l replytemplate
l replytemplatehtml
l forwardtemplate
l forwardtemplatehtml
For more information of changing translations, please refer to Translations (page 11-1).
Prerequisites
The prerequisites for E-mail Management are:
l The CRM Mail Management Service (EWAREEMAILMANAGER.EXE) must be installed. Please
refer to Running the CRM Mail Management Service Application (page 35-3) for more information.
35-2 Sage CRM
Chapter 35: E-mail Management
folder that it was registered from. If you have problems starting the service application, you may
need to install it manually.
Note: There should be just one eWareEmailManager.exe on the server.
35-4 Sage CRM
Chapter 35: E-mail Management
3. Complete the fields on the E-mail Address Options page. Please refer to E-mail Address Options
Fields (page 35-19) for more information.
4. Select the Save button. The E-mail Address Options you set up are displayed on a list. You can
continue to set up more addresses in the same way.
A View Log Files button is available so that you can view logging information when the
service is up-and-running.
E-mail Out
l For e-mails sent out from the system, one communication is created, which has a communication
link to each recipient with a match in the database. If no match is found, the e-mail is saved as a
completed communication against the CRM user only.
l The sender must be a valid CRM user, and their e-mail address must be contained in the CRM
database with their user information.
l The specified Mail Manager Server Filing Address should be in the BCC field.
To send an e-mail from a CRM User to a customer:
1. Search for the customer record, and click on the hyperlink of the customer’s Last Name.
2. Click on the hyperlink of the customer’s e-mail address. The E-mail panel is displayed in the lower
half of the page.
35-6 Sage CRM
Chapter 35: E-mail Management
Communication in CRM
Note: It may take a few moments for the communication to appear to display in CRM,
depending on the polling interval set in the Advanced E-mail Management Server Options.
l The Log file being updated with the handling details of the e-mail.
Log file
E-mail In
l For e-mails received by users and then forwarded to the Mail Manager Server Filing Address, this
e-mail address must be the only address in the To field.
l The original sender's e-mail address must be the first e-mail address contained in the body of the
e-mail that is forwarded to the mailbox. This is because E-mail Management recognizes the first
address in the body as being the original sender's address.
To file an e-mail sent from a customer to a CRM user:
1. Simulate the sending of an e-mail from your test customer account to a test CRM User.
2. Access the mail box of the test CRM User and open the e-mail.
3. Click on the Forward button.
4. Type the Mail Manager Server Filing Address in the To field.
Note: E-mail Management will recognize the first e-mail address in the forwarded e-mail, and
file the e-mail with this customer record. If the e-mail address does not appear in the header
or body of the e-mail, or it appears after another e-mail address, then you can type or paste
35-8 Sage CRM
Chapter 35: E-mail Management
the correct customer e-mail address at the top of the forwarded e-mail to ensure that the e-
mail gets filed correctly.
5. Click the Send button.
This should result in:
A communication record is created against the customer record containing details of the e-mail
forwarded from the CRM User.
E-mail In communication
Attachments to E-mails
Attachments to e-mails are stored with the Communication record created by the filing of the
inbound or outbound e-mail.
To file an e-mail with attachments sent from a customer to a CRM user:
1. Simulate the sending of an e-mail with attachments from your test customer account to a test CRM
User.
2. Access the mail box of the test CRM User and open the e-mail.
3. Click on the Forward button.
4. Type the Mail Manager Server Filing Address in the To field.
l You can click on the E-mail In icon to review the details of the e-mail and attachments.
35-10 Sage CRM
Chapter 35: E-mail Management
l An E-mail In communication created to signal the receipt of the e-mail—there is no need for a case
to be created.
The setup tasks for this scenario involve:
l Specifying and reviewing the settings in Administration | E-mail & Documents | E-mail
Configuration. Please refer to E-mail Management Configuration Settings (page 35-5).
l Set up the e-mail addresses in Administration | E-mail & Documents | E-mail Management Server
Options that you want the E-mail Management Server to run on. This scenario describes how to set
up one, [email protected].
The scenario will then be extended to show how you can further tailor the e-mail handling to suit
more customized business needs by:
l Setting up rulesets and customizing templates associated with the different e-mail addresses.
l Using the E-mail Objects to further customize the template script files—for example, to change the
way in which e-mail attachments are saved.
The following steps are involved:
Adding E-mail Addresses to E-mail Management (page 35-11)
Handling Support E-mails (page 35-12)
Adding Rulesets to the E-mail Service (page 35-13)
Rules Panel Fields (page 35-15)
l The first two fields are used to specify which User and Team the e-mail will be filed against.
The third field is used to specify what action you want performed on e-mails. Actions you
can select in this customer service example are Create Case, Create Communication, or
Track Case.
11. Leave the Default Ruleset Assigned User field blank for this example because you do not want the
Case or Communication created to be assigned to a specific user.
12. In the Default Ruleset Assigned Team field, specify Customer Service as the team you want the
Case or Communication assigned to.
13. In the Default Ruleset Action field, select Track Case. Selecting Track Case means that e-mails are
filed as Cases and tracked as the cases are progressed. The Track Case action means that most e-
mails will be filed as cases and assigned a Case ID but if the e-mail already contains a Case ID, a
Communication is filed to track the case.
14. Select the Save button.
2. The following happens as a result of his e-mail being sent to the [email protected] mailbox:
l An auto reply is sent to Kieran to inform him that a case has been logged.
35-12 Sage CRM
Chapter 35: E-mail Management
l The case can be viewed in the list of cases associated with Kieran O’Toole. It can also be
viewed from Team CRM | Customer Service, because you specified Customer Service in
the Default Ruleset Assigned Team field earlier.
Cases list
3. Two communications are recorded against Kieran, one to acknowledge receipt of his e-mail and
another to signal that an auto reply was sent.
Communications list
The E-mail Out communication is also included in Team CRM | Customer Service.
When Kieran replies to the e-mail he received from [email protected] to say that he has
managed to get the software up and running, an E-mail In communication is recorded against
Kieran and in Team CRM | Customer Service to signal this.
12. There are three other fields on the Rules input form that you may need to complete: the RuleSet
Execution Order, Enabled, and Exit Rule. These are described in detail in the table below.
13. Select the Save button, and select Continue. The new ruleset is added to the current list of rulesets.
35-14 Sage CRM
Chapter 35: E-mail Management
14. Select the Add Ruleset button to add additional rulesets or select Continue to return to the list of
services.
Field Description
Column Name The database column on which you want the Rule to
act.
Operator The operator, for example, Equal To, Not Equal To.
Exit Rule Selecting this check box means that if this Ruleset
is executed, the action is performed but no other
rulesets are executed.
The following three core functions are at the base of the SUPPORT.JS file and are run in the
following order:
1. BeforeMainAction
2. MainAction
3. AfterMainAction
BeforeMainAction and AfterMainAction are declared in the SUPPORT.JS file. MainAction is not
declared. The MainAction function is generated from the rules defined on the Rules input form in
CRM. The function should never be declared in any JavaScript file used with E-mail Management.
If you require any complex functionality, it can be coded into the BeforeMainAction or
AfterMainAction functions.
Note: It is recommended that you use one of the existing scripts provided with CRM, however if
none of the custom scripts are suitable, you may need to write a new script. Any new scripts written
must be implemented in a test environment before they are installed on a live system. Please
contact your Certified CRM Consultant before writing new scripts.
You can use the objects described in the next section to further customize the script templates.
Object Reference
This section provides an overview of what happens once a service is activated using a mailbox,
such as [email protected], and any associated Rulesets.
This section also provides an overview of the Objects deployed within E-mail Management.
1. When the service application is started up it creates an CRM Object and logs onto the system using
registry entries.
2. Using the CRM Object, the service application queries the custom_emailaddress table. This is the
table that holds the information regarding each service for the install.
3. The data is read in and the following takes place:
l The Script file specified is read in.
l Another CRM Object is created and logged onto using the CRM User logon ID.
l Using the e-mail account information, the mailbox is logged onto and the e-mails are read.
An interface object to the e-mail is created. This is called the MsgHandler Object.
4. Using the From address in the e-mail, the database is queried to:
l Check if the e-mail belongs to a user. A UserQuery CRM Query Object is created, which
runs the following script.
l Check if the e-mail belongs to a company. A CompanyQuery CRM Query Object is created,
which runs the following script.
35-16 Sage CRM
Chapter 35: E-mail Management
l Check if the e-mail belongs to a person. A PersonQuery CRM Query Object is created,
which runs the following script.
5. All the Objects mentioned here are passed into the script context and the specified actions are
performed.
You can further customize the features of E-mail Management using the following Objects.
Please refer to the CRM Developer Help for detailed descriptions of the methods and
properties of the objects.
l MsgHandler Object: The MsgHandler Object provides basic access to the Email Object and
functionality for the system. It is the top level object within the scripting. It is passed into the
script at run time.
l Email Object: The Email Object provides access to the e-mail itself through its properties
and methods. This object is passed into the script by default as the Email Object but can
also be accessed from the MsgHandler Object as follows:
myemail = MsgHandler.msg
l AddressList Object: Part of the Email Object, this object provides access to the To, CC and
BCC lists of addresses. You can access this object as follows:
myaddresslist = email.CC;
l MailAddress Object: This object provides access to an individual address from the
AddressList Object. You can return an individual MailAddress object as follows:
myaddress = email.CC.Items(1);
l AttachmentList Object: This object provides access to the e-mail attachments. You can
access this Object as follows:
myAttachmentList = email.Attachments;
l Attachment Object: This object provides access to an individual attachment. You use the
AttachmentList Object's "items" property to access this object.
myAttachment = email.Attachments.Items(1);
Troubleshooting Tips
The following sections provide troubleshooting tips for setting up E-mail Management and making
sure e-mails are being handled to suit your business requirements.
E-mail Mail Management is not Filing Outbound E-mails (page 35-17)
E-mail Management is Creating Two Communications (page 35-18)
CDOSYS is Having Problems Sending E-mails Out (page 35-18)
1. Ensure that you have configured the Mail Manager Filing Address and set a prefix for it in
Administration | E-mail and Documents | E-mail Configuration. Please refer to E-mail Management
Configuration Settings (page 35-5) for more details.
2. Check that you have created an entry for the above E-mail Management Filing Address in
Administration | E-mail and Documents | E-mail Management Server Options. Please refer to E-
mail Management Server Options (page 35-5) for more details.
Having completed Steps 1 and 2 above, outbound e-mail should be getting into the Mail Manager
Filing Address mailbox. To check this:
3. Open the E-mail Management Filing Address entry you checked in Step 2, and unselect the
Enabled check box so that E-mail Management does not run on this mailbox.
4. Send an e-mail from CRM.
5. Check the actual Mail Manager Filing Address mailbox to see if the e-mail has been sent to it.
6. Now re-enable the E-mail Management Filing Address entry by selecting the Enabled check box.
If the E-mail Management is running on the mailbox and reading the e-mails successfully, then the
e-mail you sent out should disappear from the mailbox. If it doesn’t disappear, recheck Step 2
above, specifically the E-mail Account Logon and Password you specified.
7. From Administration | E-mail and Documents | E-mail Configuration set the Debug field to Yes to
switch on debugging.
8. Check the log file (yyyymmdd<installname>MailManager.log) in ...\Program
Files\Sage\CRM\Services\Logs.
If the message "cannot log" is displayed in the file, it means that the E-mail Account Logon and
Password you specified in Step 2 is incorrect.
9. Check the RogueMails folder to make sure that e-mails are being formatted in a way that E-mails
Management can handle. The folder is located in
...\Program Files\Sage\CRM\Services\CustomPages\Scripts\RogueMail
35-18 Sage CRM
Chapter 35: E-mail Management
l E-mails in the Queue or Pickup folders suggest that CDOSYS may not be running, or e-
mails are not being relayed from the mail server. If this is the case, ensure that the mail
server is configured to relay e-mails from the CRM server.
4. Make sure that CDOSYS can find the mail server. To do this, open IIS Manager, right click on
Default SMTP Server and select Properties | Delivery/Advanced. Type the IP address of the mail
server in the Smart Host field, and restart CDOSYS.
5. Check that the mail server allows relaying. If it doesn’t, then e-mails may be delivered to internal
company mail boxes but not to external ones. The mail server administrator can enable relaying for
you.
Field Description
Mail Box Access Method Select the method by which you want the mailbox to
be accessed. Options are POP and MAPI.
E-mail Address The e-mail address of the mailbox you want E-mail
Management to run on.
If you are configuring options for the "outbound e-
mail" mailbox, you type the Mail Manager Server
Filing Address in this field (this is the address you
specified in Administration | E-mail and Documents |
E-mail Configuration).
Field Description
Settings.
For example, MS Exchange Settings.
SMTP Server Use this field to specify the name of your SMTP
server if your SMTP server is different to your POP
server. If this field is left blank, E-mail Manager will
use your POP server for outbound mails. The field is
not required for MAPI.
POP3 Port Specify the port that POP3 can use to send e-mails.
SMTP Port Specify the port that SMTP can use to send e-mails.
SMTP User Name Enter the User Name for the SMTP server, if it is
required by the Mail Administrator.
POP/MAPI Password Enter the password for the POP or MAPI server.
Administrator E-mail The e-mail address that all service messages are
Address sent to when the service starts or if there is a
problem with the service.
Template Select the script file that you want to use to process
the e-mail from the Template field. For example,
Communication.
Default Ruleset Assigned The user you want the Case or Communication
User assigned to by default—if the conditions of the rules
are not met or if rules have not been set in CRM.
35-20 Sage CRM
Chapter 35: E-mail Management
Field Description
Default Ruleset Assigned The team you want the Case or Communication
Team assigned to by default—if the conditions of the rules
are not met or if rules have not been set in CRM.
Default Ruleset Assigned Specify the default action (for example, a Case
Action created, a Communication created, or a Case
tracked) if the conditions of the rules are not met or if
rules have not been set in CRM.
36-2 Sage CRM
Chapter 36: Exchange Integration
3. Using Outlook Web Access, log on as the impersonated user account to initialize.
4. Set the EWS virtual directory Authentication to the following settings:
3. Using Outlook Web Access, log on as the impersonated user account to initialize.
4. Set the EWS virtual directory Authentication to the following settings:
36-4 Sage CRM
Chapter 36: Exchange Integration
1. From Administration | System | System Behavior, and click the Change button.
2. Set the Use Exchange Server Integration field to Yes. Note: Once this is set to Yes, it is not
recommended to switch it back to No (which re-enables the Classic Outlook Integration feature)
unless under guidance from a Sage CRM support professional.
3. Click Save. A new option menu option called Exchange Server Integration is available from
Administration | E-mail and Documents.
Enabling Exchange Server Integration also results in the following changes to other areas of Sage
CRM:
l In Administration | Users | User Configuration, all Classic Outlook Integration plug-in fields are
no longer visible. Please refer to User Settings (page 8-1) for more details.
l In My CRM | Preferences, the Install / Re-install CRM Outlook Integration button and the Full
Menu In Outlook field, are no longer available.
l Classic Outlook Integration and Exchange Integration cannot be used simultaneously. Any user
who tries to work with the Classic Outlook Integration plug-in to connect to Sage CRM, receives an
error message.
l In Administration | Users | Users, two new fields are displayed: Synchronize With Exchange
Server (read-only check box), and Show Exchange Server Integration Logs. Please refer to User
Panel Fields (page 3-3) for more information.
l Records linked to Outlook clients via Classic Outlook Integration will no longer be synchronized.
2. Enter the Exchange Web Services URL, Domain, and Password for an Exchange Server
Impersonated User, and the CRM User Name of the CRM user, used to communicate between
CRM and the Synch Engine. This must be a CRM user with full Administrator rights. All fields on
this page are described in Exchange Server Connection Fields (page 36-6).
Note: If you choose to deploy the Sync Engine remotely, and select No in the Use Default
Sync Engine Location field, an additional check list screen is displayed before the
connection is attempted. Read and confirm the check boxes, or return to the Connection
Management page by selecting Cancel. Please refer to Deploying the Exchange Sync
Engine on a Remote Server (page 36-15) for more information.
3. Click Save. The progress on the connection status is displayed on-screen. A message is displayed
once the connection has been successfully established.
4. Select Continue. The Exchange Server Connection and User Mailbox Management tabs are
displayed.
Note: The Exchange Integration is not yet enabled for synchronization. Before the synchronization
process is enabled, you should first select the user mailboxes that you want to enable for
synchronization, and review the synchronization options.
l No Impersonation rights. The Exchange Server User Name specified in the Exchange Server
Connection Setting requires Impersonation rights in Exchange. To rectify, check the user rights in
Exchange.
l Cannot access EWS URL. If the EWS URL cannot be accessed, the connection cannot be set up.
Paste the EWS URL into a browser and check it can be accessed using the impersonated user’s
username and password.
l jdbc.properties or syncengine.properties contain incorrect server or port information. The
jdbc.properties file contains the wrong server name or port number, or the syncengine.properties
file contains the wrong server name. These files are typically located in ..\Program Files\Sage\CRM\
[installname]\tomcat\webapps\[installname]ExchangeSyncEngine\WEB-INF.
l Tomcat is not running. The Apache Tomcat service is required for the Exchange connection to be
established, and for the synchronization engine to run. If the Tomcat service is not running, you
usually also get errors in other areas of CRM reliant on this service - for example, the Interactive
Dashboard. Restart the Tomcat service if it has stopped.
l Wrong authentication settings on EWS folder. If the EWS folder in IIS on the Exchange server has
the wrong authentication settings, the connection cannot be set up. Please refer to Preparing the
Exchange Server (page 36-3) for more information.
Field Description
Exchange Web Service Enter the Exchange Web Services (EWS) URL of
URL the Exchange Server. Http and Https are supported.
For example, https://myserver/ews/exchange.asmx
36-6 Sage CRM
Chapter 36: Exchange Integration
Field Description
Use Default Sync Engine Once the connection is saved and established, the
Location Sync Engine is deployed by default in the Program
Files\ Sage\CRM\[install name]\Tomcat\Webapps
directory of the CRM install. If you want to deploy
the Sync Engine in an alternative location, select
No. See Deploying the Exchange Sync Engine on a
Remote Server (page 36-15) for more information.
Outlook Plug-in Version Read-only field. Displays the version of the Outlook
Plug-in for Exchange Integration.
Allow Users to Manually Set to Yes, users can install the Outlook plug-in by
Install Plug-in selecting the Install Outlook Plug-in for Exchange
Integration button from My CRM | Preferences. The
button displays for all users, who have been set up
to synchronize with Exchange.
Set to No if you do not want users to have access to
this button. The plug-in can also be distributed by via
MSI/Active Directory Group Policy. Please see
Installing the Outlook Plug-in for Exchange
Integration (page 36-26) for more information.
Field Description
If a connection to a mailbox is unsuccessful for any reason, a Failed "x" icon is displayed in the
Synchronization column. Note: If two different e-mail addresses in CRM map to one primary e-mail
address in Exchange, then the first user should connect successfully, but the second user will
display as failed. Further information on any failed connections can be viewed in the log files.
36-8 Sage CRM
Chapter 36: Exchange Integration
Note: Syncing with mailboxes that have been exposed to an Exchange Server via Federated Trust
is not supported for 7.1.
2. Change the settings you need to. All fields are described in Synchronization Management Fields
(page 36-9).
3. Click Save.
4. If you have finished making changes, select Enable to start the synchronization process. If you want
to make any other changes, such as enabling further user mailboxes, then leave the status as
Disabled until those changes are complete.
Field Description
Exchange Web Displays Exchange Web Services URL, entered when setting up
Service URL the connection to the Exchange Server.
Field Description
Next Sync Date/time of the next scheduled sync. This is the time that the
Time last Sync finished + the Sync Interval (minutes).
Errors in Last Displays the total number or errors in the last sync.
Sync
Skipped Items Displays the total number of skipped items in the last sync
in Last Sync (regardless of the selected logging level).
Sync Contacts Set to Yes or No. When set to Yes, the contacts sync as per the
sync direction defined in Contact Sync Direction. When set to
36-10 Sage CRM
Chapter 36: Exchange Integration
Field Description
Task Conflicts Select from Most Recent Update Wins (default), Exchange
Always Wins, or CRM Always Wins.
If there is a duplicate or conflict on a task record, this setting
determines which update "wins".
This field is disabled if the Task Sync Direction is set to one-way
(either Exchange to CRM Only or CRM to Exchange Only), or if
the Sync Tasks Modified in the last field is set to Never Sync.
Field Description
to No.
Archived Task As per Archived Appointment Policy above, but applies to Tasks.
Policy (days) The task Last Modified date is used (instead of the End Date) to
calculate whether to delete or break the link.
Sync Interval Set the number of minutes after the end of the last sync, when
(minutes) the next sync starts. Defaults to 5.
For example, if the last sync finished at 09:07, the next starts at
09:12. Zero can be entered in this field. This means the next sync
starts as soon as the last sync ends.
Response Number of seconds, which CRM waits for a response from either
Timeout the Exchange Web Services endpoint or the Sync Engine. Once
(seconds) this limit is exceeded,this is treated as a fatal error. Please refer
to Understanding Synchronization Errors (page 36-23) for more
information on error types.
Defaults to 300. If timeouts are experienced for the first
synchronization, it is recommended this is increased for the first
sync, and then dropped down again. If subsequent syncs result
36-12 Sage CRM
Chapter 36: Exchange Integration
Field Description
Max Errors Set the number of standard errors allowed before the sync fails.
Allowed Defaults to 100.
Overview
The first sync between Sage CRM and user mailboxes will take longer than any subsequent syncs
for the following reasons:
l Data has not yet synchronized from one system to the other and therefore the volume of data to
synchronize is greater.
l The sync engine’s deduplication process is going to be more active since there is a higher
possibility that records exist in CRM which also exist in Exchange. For example both Exchange and
CRM were, in the past, both used for calendar management but independently of each other. This
means that, for example, William Dolan frequently created appointments in Outlook (Exchange)
and then also created the same appointments in the CRM system.
Note: Since large volumes of data will be transferred during initial syncs, it is strongly advised that
all initial syncs be performed during CRM and Exchange downtime, for example, outside of core
office hours.
Assuming that Appointments, Tasks and Contacts are all set to synchronize bi-directionally then
on the initial sync between Sage CRM and Exchange, the sync engine will do the following:
From Exchange to CRM
l Sync appointments/meetings where the appointment End Date/Time is within the last 14 days (from
when the initial sync was started) or where the appointment End Date/Time is at any point in the
future (from when the initial sync was started).
l Sync all occurrences of recurring appointments/meetings where the End Date/Time of the
recurrence pattern is within the last 14 days (from when the initial sync was started) or where the
End Date/Time of the recurrence pattern is at any point in the future (from when the initial sync was
started).
l Sync tasks that have been modified/created within the last 14 days (from when the initial sync was
started).
36-14 Sage CRM
Chapter 36: Exchange Integration
5. Move this folder and file from the CRM server location:
l \Program Files\Sage\CRM\[Install Name]\tomcat\webapps\
to
9. Restart the Apache Tomcat service on the remote server (required when the properties have been
changed).
10. Install the rewriter module, so that CRM can access the CRMRewriter. To do this:
a. Copy the CRMRewriter folder from the CRM server (..Program
Files\Sage\CRM\Services\IISUtils) to the remote server.
b. On the remote server, add an sdata application to IIS, which points to the CRMRewriter
folder.
c. Edit the CRM.Rewriter.rules file as follows:
o Remove all lines except the line containing: RewriteRule ^(/sdata/test.html)
/sdata/Default.aspx?r=$1 [R,NC] and, for example, RewriteRule ^/sdata/[install
name]ExchangeSyncEngine/(.*)$ http://[remote server name]:10009/[install name]
ExchangeSyncEngine/$1?%{QUERY_STRING} [P]
o Change the line: RewriteRule ^/sdata/[install name]ExchangeSyncEngine/(.*)$
http://pl-crm70-vm:10009/[install name]ExchangeSyncEngine/$1?%{QUERY_
STRING} [P] to match the Exchange Sync Engine folder and port that Tomcat is
using.
d. Restart IIS and check that the rewriter module works. For example, the following URL
should return an unauthorized access page: http://localhost/sdata/[install name]
ExchangeSyncEngine/$service/status.
11. Check that the Sync Engine is visible from the CRM server. For example, the following URL should
return an unauthorized access page: http://<sync engine host
name>/sdata/<appname>ExchangeSyncEngine/$service/status
12. Create a connection to the Exchange Server, using the Sync Engine deployed on the remote
server. These steps are described in Creating a Connection to the Exchange Server (page 36-5).
36-16 Sage CRM
Chapter 36: Exchange Integration
What is Synchronized?
The following rules are a high level guide to the how data gets synchronized between Exchange
and CRM in Exchange Integration.
Synchronization Process
1. The Sync Engine syncs data from Exchange to CRM.
2. CRM performs deduplication and conflict management and records are inserted/updated/deleted
in CRM.
3. The Sync Engine then syncs data from CRM to Exchange.
4. The Sync Engine performs inserts/updates/deletes (and deduplication if CRM to Exchange only) on
the mailboxes.
Note: Only default calendar, task list and contacts folders are synchronized (no sub-folders). If your
Exchange users have data that they do not want to synchronize to CRM, then it is recommended
these items are created in secondary folders.
Contacts
The following mappings are a guide to the data that gets synchronized in Exchange Integration.
36-18 Sage CRM
Chapter 36: Exchange Integration
Exchange, the
address that is
flagged in CRM as
the default address
results in the
associated
address in
Exchange being
set as the Mailing
Address.
Appointments
The following mappings are a guide to the data that gets synchronized in Exchange Integration.
36-20 Sage CRM
Chapter 36: Exchange Integration
organizer's
Exchange
mailbox.
All
required/optional
attendees
(organizer
excluded but
including resource
users) that match
CRM users (i.e.
the attendee e-mail
address matches a
CRM user e-mail
address) should
appear as those
CRM users in the
User selection list
on the CRM
appointment
provided that the
Response of the
attendee is
Accepted,
Tentative or
Unknown. The
appointment in
CRM should be
linked to these
CRM users.
Any attendees
(that match CRM
users) whose
Response is
"Declined" should
not be present on
the appointment in
CRM at all.
Tasks
The following mappings are a guide to the data that gets synchronized in Exchange Integration.
36-22 Sage CRM
Chapter 36: Exchange Integration
Task Status
This table summarizes the mapping of Task Status when synching from Exchange to CRM.
Outlook/Exchange CRM
In Progress In Progress
Deferred Pending
Completed Complete
This table summarizes the mapping of Task Status from CRM to Exchange.
CRM Outlook/Exchange
In Progress In Progress
Complete Completed
Standard Errors
Cannot Connect to The CRM user mailbox, which could not be connected
Mailbox to is flagged with a red X in the User Mailbox
During the course of a Management list.
synchronization, CRM is The Last Sync column in the User Mailbox
unable to connect to a Management list displays the last time that a sync was
specific Exchange successfully started for that user. CRM will not
Mailbox that has been attempt to re-connect to this mailbox during the current
flagged to synch with sync, but the next one.
CRM. Failure to connect to the mailbox is logged as per the
set logging level.
Fatal Errors
No response from EWS endpoint or For all these scenarios, CRM handles this
CRM Sync Engine within the time as a fatal error and stops all sync activity
specified in Response Timeout for the current synchronization.
Fatal errors are logged as per the set
CRM unable to connect with the
logging level.
EWS URL. For example, due to an
Synchronization is attempted again at the
authentication problem
next scheduled synchronization time.
CRM connected to the Exchange
Server, but not to any of the flagged
mailboxes
36-24 Sage CRM
Chapter 36: Exchange Integration
The logs can be viewed per user (User Log Files), and for all user mailboxes and the whole
configuration (Generic Logs). The logs can also be viewed from the CRM install in ..\Program
Files\Sage\CRM\[install name]\Logs\Exchange Integration.
Users, who have been enabled by the Administrator to do so (from Administration | Users | Users),
can view their own logs in My CRM | Exchange Integration Logs.
The logging level can be set in Administration | E-mail and Documents | Exchange Server
Integration | Connection Management. Please refer to Exchange Server Connection Fields (page
36-6) for more information.
Exchange Contains all conflicts for the Exchange Integration for any given day,
Conflicts for all mailboxes involved in a sync that day.
The file name for this log is [date]ExchangeConflictLog.log. Also
available as a user log, User Conflicts - [date][username]_
ConflictLog.log.
Sync Contains all sync activity and sync-related errors for any given day
Activity - for all mailboxes involved in the sync that day when synchronizing
CRM to from CRM to Exchange.
Sync Contains all sync activity and sync-related errors for any given day
Activity - for all mailboxes involved in the sync that day when synchronizing
Exchange from Exchange to CRM.
to CRM The file name for this log is [date]
SyncActivityExchangeToCRM.log. Also available as a user log -
[date][username]_SyncActivityExchangeToCRM.log
36-26 Sage CRM
Chapter 36: Exchange Integration
installed on the individual client machines before the Sage CRM Client Applications.MSI file is
deployed:
l .NET Framework 4. This applies to Office 2007 and Office 2010.
36-28 Sage CRM
Chapter 36: Exchange Integration
36-30 Sage CRM
Chapter 37: Classic Outlook Integration
37-2 Sage CRM
Chapter 37: Classic Outlook Integration
number
Note: If an Outlook contact address is more than four lines long then the additional lines will be
concatenated into the CRM address line 4.
All Day Event All Day Event in Outlook becomes an All Day Event in
CRM (midnight to 23:59). An All Day Event in CRM
(midnight to 23:59) becomes an All Day Event in
Outlook.
37-4 Sage CRM
Chapter 37: Classic Outlook Integration
In Progress In Progress
Deferred Pending
Completed Complete
This table summarizes the mapping of Task Status from CRM to Outlook.
In Progress In Progress
Complete Completed
37-6 Sage CRM
Chapter 38: E-marketing Configuration
What is E-marketing?
Sage E-marketing for Sage CRM is an integration with Swiftpage (http://www.swiftpage.com). All E-
marketing activity is initiated from within the Sage CRM user interface.
The following section gives you a behind-the-scenes look at how the integration works.
Synchronization Times
The CRM Sync time is configured (for all regions) to 23:00 local time.
The Swiftpage Sync time, which collates all of the daily results, completes at 03:00 Mountain Time.
Mountain Time is GMT -6 hrs (Mountain Daylight Time) or -7 hrs (Mountain Standard Time). This
38-2 Sage CRM
Chapter 38: E-marketing Configuration
includes information about anyone who has "opted out" of receiving E-marketing e-mails from your
company.
Note: This means that it may take up to 48 hrs for the "opt-out" information to reach CRM. For
example (all times GMT), a recipient opts out at 3 PM on the February 20th. Swiftpage collates the
results at 10 AM on February 21st. CRM synchronizes this information back at 11 PM on the
February 21st — 32 hrs after the opt-out occurred.
Users can change the CRM Sync time by editing the SyncEngineConfiguration.xml at ..\Program
Files\Sage\CRM\<installname>\tomcat\webapps\<installname>SPSyncEngine\WEB-INF
The syntax is:
Note: It is recommended to keep the CRM Sync time outside of office hours.
3. Click Continue.
4. Enter the User & Contact and E-mail details. These are required for Swiftpage to comply with US
anti-spam laws. They will be used in standard footers for E-marketing e-mail templates, but can be
modified later. All the fields are explained in E-marketing Account and User Fields.
5. Click Save. The full E-marketing Configuration menu is displayed, and a blue banner giving you
your account status. A verification e-mail is sent to the E-mail Address specified in the User Details
panel.
38-4 Sage CRM
Chapter 38: E-marketing Configuration
6. Click on the link in the verification e-mail. The Sage E-marketing for Sage CRM Account Setup
page is displayed. Note: Check your Junk E-mail folder if you have not received the e-mail.
7. Read the terms and conditions. Select I accept to continue. The Account Management page is
displayed, which gives you the option to purchase a full Swiftpage account. This can also be done
later.
You can start creating E-marketing campaigns from the Marketing menu button. Please refer to the
User Guide for more details.
Field Description
Field Description
Field Description
E-mail Address Type in the e-mail address for the E-marketing user.
When this user sends out e-mails, this will be the
From address. Note: This can be changed by the
user from My CRM | E-marketing User Profile.
Field Description
38-6 Sage CRM
Chapter 38: E-marketing Configuration
Field Description
Field Description
Copy contact details from Select to copy the details entered in the User
above & Contact Details panel. The information in the E-
mail panel is used in standard e-marketing e-mail
templates, including footer information. This is to
comply with anti-spam regulations.
l From the E-marketing Configuration area of Administration, by selecting Add a User to the
Account.
l When you are adding a new user to CRM, by selecting the E-marketing User check box in the first
step of the New User wizard. Please refer to New User Setup, Step 1 of 3 (page 3-1) to set up a
new CRM user. The E-marketing Account and User fields are completed as Steps 4 and 5 of user
setup wizard.
To add a new user to the E-marketing account from Administration | E-mail and Documents:
1. Select E-marketing Configuration| Add a User to the Account.
2. Complete the fields on the New E-marketing User Setup, Step 1 of 2, and click Continue.
3. Complete the fields on the New E-marketing User Setup, Step 2 of 2, and click Save. The fields in
Steps 1 and 2 are described in E-marketing Account and User Fields. A verification e-mail is sent
to the new user.
4. To review and edit, for example, the new E-marketing user's Send Allowance, go to Administration
| E-mail and Documents | E-marketing Configuration | Edit Users.
38-8 Sage CRM
Chapter 38: E-marketing Configuration
2. Click Change to edit the e-mail send allowance allocation and/or the E-marketing settings for all
users in the list. You cannot change the send allowances or E-marketing/Drip Marketing User
check boxes on Trial accounts.
3. To edit settings for a specific user, click on the hyperlink of the user. Please refer to E-marketing
Account and User Fields (page 38-5) more information. E-marketing users can edit their own user
details from My CRM | Preferences | E-marketing User Profile tab. They can view, but not change
their allowance or E-marketing rights.
4. If you change the e-mail address, the verification e-mail is automatically resent. The user must
click on the verification link for the change to take effect. The Resend Verification E-mail button
can be used if the user deleted the first e-mail by mistake before completing the verification
process.
2. Select Cancel the Account to confirm. The E-marketing Configuration menu changes to display a
Re-activate Account button. To reactivate, follow the on-screen instructions.
Note: If you create a new account, when there are still campaigns associated with an old cancelled
account, then the campaigns associated with the old account will be deleted when the new account
is created.
38-10 Sage CRM
Chapter 39: Document Templates
name>> is replaced by an actual Company name when the merge between the template and the
database data is executed.
l The merge fields that are available to you depend on the context you are in, so you need to make
sure that you start the merge in the correct context. For example, if you want to include merge fields
from the opportunity table, you need to start the merge process from within the context of an
opportunity.
l You should only enter merge fields from one primary entity when creating a new template in
Microsoft Word. For example, when creating a template for use with case records, you can enter
case, person, company, address and user merge fields but not quote merge fields.
l Mail merge templates are available to you only in the context with which they are associated. For
example, only case templates are available in the case context. If you attempt to use a template
outside of its context - for example a quotation mail merge template in the case context - none of
the merge fields will convert successfully.
l The amount of memory required for mail merge depends on the number of records being merged
as well as the size of the template (number of graphics included, amount of text, etc.). The mail
merge memory can be set by adjusting the Max Mail Merge Memory setting in Administration | E-
mail and Documents | Documents and Reports Configuration. The default setting is 1GB, but this
can be increased if required.
l The number of users who can perform concurrent mail merges is set to a default maximum value of
5, but this can also be increased from Administration | E-mail and Documents | Documents and
Reports Configuration | Max Mail Merges Allowed. If this setting is increased, more memory will
be required, so the Max Mail Merge Memory setting should also be increased.
l If more than 1500 .DOCX records are merged, the merged documents will be saved in .DOC
format.
Note: Any examples in this chapter that require Microsoft Word work through the steps in Word
2010 under Windows 7. The steps may vary slightly for other Word versions and operating
systems.
39-2 Sage CRM
Chapter 39: Document Templates
Note: When carrying out a Solution mail merge using vMailMergeSolution, the Solution must be
linked to a Case for the merge to work.
7. Insert any CRM merge fields from the Insert Sage CRM Field drop-down list.
If you need a merge field that is not available, make sure that you started the merge in the
correct context. For example, if you wanted to include merge fields from the opportunity table,
the merge process should have started from within the context of an opportunity.
If you have checked the context of the mail merge, and still do not have all the merge fields you
want, you can customize the mail merge view for the main entity of the mail merge. For example
vMailMergeCase. Please refer to Customizing Views (page 18-2) for more information.
8. Click the Save Template button. The new template is saved in HTML format. To make the template
available to all users, you have to upload it. For more information, please refer to Uploading a New
Template (page 39-5).When you click the Save button, a Delete button appears. Clicking this
button will delete any newly created template. It is also possible to delete templates from
Administration | E-mail and Documents | Document Templates. Please refer to Deleting a
Template (page 39-10) for more information.
Any new templates you create are saved in HTML format and made available as shared templates.
You can edit these HTML templates in the rich text editor when performing a mail merge.
You can also edit these templates from Administration | E-mail and Documents | Document
Templates if you are working with IE, and when the Active X plug-in is being used. The ability to
39-4 Sage CRM
Chapter 39: Document Templates
use the Active X plug-in is controlled by the System Administrator from Administration | E-mail and
Documents | Documents and Reports Configuration. To edit a template using this method, the
Status field must be set to Draft and the default program you use to open .HTM and .HTML files is
set to a text editor program such as Notepad.
Note: Editing HTML templates using this method is recommended only for people with HTML
experience. Incorrect changes to the HTML code can result in templates no longer working properly.
6. Select the Save button. All valid (green check mark in non-IE) files are saved as Shared Templates.
Users can access the new document template when carrying out a mail merge. Note: If you are
uploading an HTML template that you have created in Sage CRM, the filename will be the same
but with a figure in parentheses after it, unless you rename it locally first.
The table below describes the fields on the Shared Template Details page.
Field Description
39-6 Sage CRM
Chapter 39: Document Templates
list. The first is available in all browsers. The second method is available in IE only.
Whichever method you use, please ensure that:
New merge fields are added using the Insert | Quick Parts method
Select Insert | Quick Parts | Field, then selecting MergeField from the Field Names drop-down list
in the Please Choose A Field panel of the Field dialog box, then entering the name of the CRM
merge field (e.g. comp_name) in the Field Name field on the Field Properties panel.
TableStart and TableEnd tags are used for nested items in Quote or Order
templates.
To display nested items in a quote (or order) template, a specific structure is required. if you want to
include a table with nested (child) item merge fields, you need to insert start and end tags for both
the main table (Quotes or Orders) and the child table (Quote Items or Order Items). You must also
include a TableStart and TableEnd tag in the same template section, table row or table cell. For
example, if you want a row of order item data to display, the first column in that row must include a
TableStart:OrderItems tag, and the final column must include a TableEnd:OrderItems tag.
Column, section or page breaks are removed from the MS Word document
Please remove column, section, or page breaks from the MS Word document.
1. Select Administration | E-mail and Documents | Document Templates, and click on the hyperlink
of the template you want to change.
2. Set the Status field to Draft, and Save.
3. Click on the hyperlink of the template you want to change. An Edit Attachment button is available.
4. Select the Edit Attachment button to open up the Word template.
5. Make the changes you require to the Word template, then save and close the document.
6. In CRM, set the Status field to Final.
7. Select the Save button. Users can access the updated shared document template when following
the steps described in Performing a Mail Merge (page 39-3) and in the User Guide.
39-8 Sage CRM
Chapter 39: Document Templates
You must include TableStart and TableEnd in the same template section, table row or table cell.
For example, if you want a row of quote item data to display, the first column in that row must
include a TableStart:QuoteItems tag, and the final column must include a TableEnd:QuoteItems
tag.
6. You can preview how the merged document will look by clicking the Preview Merge button.
Note: If you are merging multiple records, the preview will show only the first record in the group.
7. When you are happy with the template, click the Save button. The template is saved in
HTML format. To make the template available to all users, you have to upload it. for more
information, please refer to Uploading a New Template (page 39-5).
1. Create a new blank document and insert a one row table with as many columns as you need for
the labels you want to print onto, as well as the cells sized to the dimensions of the label you are
using, and any required margins to align to your selected labels
2. Insert a TableStart:Labels tag in the top left label placeholder. To do this, select Quick Parts from
the Text part of the Insert tab, then select the Field option. The Field dialog box is displayed.
3. Select the MergeField option from the Field Names drop-down in the Please Choose A Field
panel.
4. Type TableStart:Labels in the Field Name field of the Field Properties panel.
5. Use the same method to insert any Sage CRM merge fields you want to include after the
TableStart:Labels tag, this time typing the name of the Sage CRM merge field in the Field Name
field of the Field Properties panel.
6. In each subsequent cell, insert a Next field. To do this, open the Field dialog box once more and
select Next from the Field Names list. After the Next field, copy the Sage CRM merge fields from the
label placeholder you created earlier. Note: You will not see the Next field unless you have the
Show Field Codes Instead Of Their Values option selected in Word Advanced Options.
Alternatively you can see the field codes by pressing ALT+F9.
7. Insert a TableEnd:Labels tag after the Sage CRM merge fields you entered in the rightmost cell.
8. Save and upload the template. You can save it in .DOCX format. Please refer to Uploading a New
Template (page 39-5)
9. To test the merge document, navigate to a customer record.
10. In the Documents tab, select Start Mail Merge.
11. Click the hyperlink of your new template, preview the merge, and check the customer data is
merged.
Deleting a Template
To delete a template:
39-10 Sage CRM
Chapter 39: Document Templates
Documents/Reports Settings
You specify Document and Report settings as follows:
1. Open Administration | E-mail and Documents | Documents and Reports Configuration
Documents/Reports page
Field Description
Physical Root Directory For The path to the directory that documents are stored
Mail Merged Documents in.
HTTP Alias For Physical This is set up in IIS. It should point to the physical
Root Directory For Mail root for mail-merged documents.
Merged Documents
Field Description
Default Document The default path where the templates for mail merge
Templates Location For are kept.
Mail Merge
Root Directory For Reports This is the physical directory where reports are
saved on the server.
Reports Export Visible For Set to Yes, all users can export reports to PDF or
Non Admin Users spread sheet format and view reports on-screen. Set
to No, only a user with Info Manager or full
Administrator rights can export reports to PDF or a
spread sheet format. All users can continue to view
reports on-screen.
This setting relates to reports run from the Reports
menu button and does not affect Summary Reports.
Access to Summary Reports can be
enabled/disabled from the Summary Reports Enabled
setting.
Desktop Size Limitation The size limit in Kb of the report for desktop clients.
(Kb) It is an approximation, as it is counting the size of
the XML and not the resulting HTML. This is to stop
very large reports being run and taking all of the
bandwidth, especially for dial-up clients.
If you regularly run large reports, it is recommended
that this is set to 60 MB (61 440 Kb). Note: This
setting must not exceed 120 MB (122 880 Kb).
PocketPC Size Limitation The size limit in Kb of the report for PocketPC
(Kb) clients. It is an approximation as it is counting the
size of the XML and not the resulting HTML. This is
40-2 Sage CRM
Chapter 40: Document And Report Configuration
Field Description
ActiveX Viewer for Crystal There are two types of viewer for Crystal reports,
Reports ActiveX or HTML viewer. Select "Yes" if you are
using the ActiveX viewer. Note: Crystal is not
currently supported by Sage CRM. This setting
remains for backward compatibility for customers
who are continuing to use unsupported versions of
Crystal.
Crystal Reports Version Select the version of Crystal reports installed on the
Web server. Note: This version of Crystal is not
supported by SAP or by Sage CRM. This setting
remains for backward compatibility for customers
who are continuing to use unsupported versions of
Crystal.
Crystal Reports Viewer Location of virtual directory in IIS required for Crystal
Path Viewer support. Note: Crystal is not currently
supported by Sage CRM. This setting remains for
backward compatibility for customers who are
continuing to use unsupported versions of Crystal.
Adobe Converter Path And This field allows the administrator to specify a
Filename different Adobe converter program. Specify the full
path and file name of the Adobe converter program
here.
Adobe Converter Parameter Parameters used when calling the Adobe converter
String program. The %1 and %2 are place holders for the
source and destination file names and should not be
Field Description
Number of Concurrent Set to 1, processes for mail merges and Excel report
Processes generation will be carried out sequentially. This
setting can be increased to allow new processes to
be started before the previous process has been
completed – for example, so that one user’s mail
merge will not delay another user’s Excel report
output.
Export To File Available On Determines what users the Export To File action
Search / Groups button is available to for search lists and groups. For
example, set to Info Manager, only users with
Administration rights of Info Manager or higher are
able to use the Export To File action button.
Send E-mail Available On Determines what users the Send E-mail action
Search / Groups button is available to for search lists and groups.
File Extension Restrictions List the extensions of the file types, which will be
blocked from being uploaded into Sage CRM.
Separate by commas. For example: exe, asp, bat.
File Size Limitation (Mb) Select the size limit per file which can be uploaded
when using the Add File feature. In Sage CRM
(Cloud), it also applies to Document Drop.
File Upload Limitation Set the limit on the total number of files per upload
when using the Add File feature. For example, with
the limit set to 10, a user can select up to 10 files to
upload in a single transaction.
40-4 Sage CRM
Chapter 40: Document And Report Configuration
Field Description
Allow ActiveX Document Set to Yes to allow users to work with the Document
Drop Drop and Edit Attachment features.
Document Drop lets users drag and drop files onto a
Document Drop icon in the Documents,
Communications, and Calendar tabs. The Edit
Attachment button is available on the Document
Details panel if the document you are viewing has a
Draft status. Both features require users to download
to an ActiveX plug-in file, which is only supported in
IE. The user is prompted to download the file the first
time they view a page where the Document Drop
feature can be accessed, for example, My CRM |
Calendar.
Max Mail Merge Memory The maximum amount of memory you want to
(MB) allocate to the mail merge process. The default
setting is 1024MB (1GB).
Mail Merge Timeout This is the timeout value in seconds, which is passed
to the server-side process for a mail merge. If a mail
merge takes longer than the number of seconds this
is set to, the user receives a timeout error and the
mail merge process stops. If users are frequently
receiving timeout errors during mail merges, the
System Administrator can increase this value. The
default value is 300 seconds (5 minutes).
l The pipeline-style graphic breaks the contents down into different library item types and the CRM
database size.
l Excess shows by how much you are currently exceeding your storage limit. Additional charges
may be incurred for data exceeding the storage limit (Cloud only).
l Library Management gives you an easy way to delete library items, which can improve your
storage efficiency.
1. From Administration | Library Management | Library Management, select the library items from
the Library Items list. You can sort on any of the columns to help find and group related items. Use
the View drop-down to filter the list by library item type. The check box at the top of the Library
Items list selects or deselects all records. Note: Select/deselect all applies to all the library items
matching the View filter – not just the library items visible on the current page.
2. Once your items are selected, click the Delete button.
The library items are permanently deleted. The storage pipeline adjusts to show the updated storage
capacity.
41-2 Sage CRM
Chapter 42: System Settings
l Database
l Metadata
l System Behavior
l Keyword Search
l Lock System
l License Key Details
l Other options on the System home page are:
l Locks. Please refer to the Locks (page 43-1) section.
Logging Panel
Logging settings
Field Description
System Logging Level Select the logging level you require in the CRM
System Log file, options range from "0 - Off" to "5 -
Maximum". The log file, ewaresystem.log is stored
in wwwroot\crm, and new files are created daily,
which can be used for diagnosing problems.
SQL Logging Level Specify the logging level you require in the SQL Log
file. Options are Off; Errors only; and All queries over
the threshold. The threshold is specified in the Query
Duration Logging Threshold (Milliseconds) field. The
log file, ewaresql.log, is stored in ...[installname]
\logs, and new files are created daily, which list all the
SQL being executed, how long it took (in
milliseconds), and any errors that came back.
Reviewing this file may prove easier than carrying out
SQL traces.
Query Duration Logging Specify the query’s duration over which you want
Threshold (Milliseconds) queries to be logged. When a query takes longer
than this, the number of milliseconds it will be
logged.
Database Settings
Changes to database settings should be carried out with care by an experienced database
administrator. Incorrect changes to the configuration may prevent CRM from running. Changes to
most of the fields result in automatic updates to CRM's Java properties to ensure features
42-2 Sage CRM
Chapter 42: System Settings
dependent on these continue to work - for example the Interactive Dashboard and Exchange
Integration. If the automatic update is not successful, a message is displayed on-screen.
Field Description
Database Password This is the password of the SQL Server user. Set up
in SQL Server Enterprise manager.
Use Integrated Windows If this is checked then the IUSR account is used to
NT Security connect to the database. The Database User ID and
the Database Password are ignored. This is for SQL
Server only. The Administrator must ensure that
IUSR is added as a user to SQL Server and enables
access to the database.
Default Database Driver Sets the type of driver you are connecting to using
MDAC.
Default Database Server Indicates the name of the server where the default
(SQL Server Only) SQL database is located.
Always Use Default Set to Yes, the logon page prompts the user for user
Database name and password. "Yes" is the mandatory setting
for production environments. Set to No, the logon
page prompts the user for user name, password, and
the database name. Note: An IIS reset is required
before an alternative database can be logged onto.
"No" is strictly for use in a development environment
only.
Port Number SQL Server port number added during the install -
default is 1433.
Field Description
Refreshing Metadata
To refresh metadata:
1. Select Administration | System, and select Metadata from System home page.
2. Select the check boxes beside items you want to refresh.
3. Click on the Execute Refresh action button. The items you specified are selected.
The following table describes the different types of metadata you can refresh.
Refresh Description
42-4 Sage CRM
Chapter 42: System Settings
Field Description
Use Country Code "Yes" or "No". Whether country codes are displayed
in the application.
Use Area Code "Yes" or "No". Whether Area codes are displayed in
the application.
Default Language The default language of the Logon screen and the
default language set for new users added in
Administration | Users.
Maximum Number Of Upper limit for task or meeting creation using the
Occurrences Recurring Communications feature.
Home Page URL When this option is specified a new button appears
on the menu with a link to the URL.
Server Time Zone Time zone of the server. There are 75 time zones to
select from. The one you select defines what
daylight settings are used, so you must be careful in
selecting the correct zone. The zone selected must
correspond exactly to the server setting. Therefore,
you must stop and restart IIS if you change the time
zone in CRM.
Communication Refresh The refresh rate in seconds for the Calendar list. It is
Interval disabled when set to zero.
Case Refresh Interval The refresh rate in seconds for the Case My CRM
list. It is disabled when set to zero.
Default User Date Format Specify the default date format for all users. For
example, mm/dd/yyyy or Month/Day/Year.
Individual users can override the default date format
Field Description
Show Pipeline For When set to yes, users can see the opportunity and
Company/People case pipeline from the company and person level.
The option is typically set to No to prevent other
users from viewing their colleagues’ forecasting
information.
Allow Mass Update And Specify whether to make the mass update and
Update Territory update territory functionality available to users.
Recent List Length Specify the size of the Recent List. The maximum
length is 40.
Search Select Advanced Specify the size of Search Select Advanced lists.
Fields Grid Size
Default System Theme Specify the default system theme. This is the
default theme applied when a new user is added to
the system. It is also the theme applied if the user
clicks the Set To System Defaults button in the My
CRM | Preferences tab in edit mode.
If users are working with IE 6, it is recommended
that the Classic theme is used. Other out-of-the box
themes are not fully compatible with IE 6. Users can
change to their preferred theme from My CRM |
Preferences. Please see Changing the Default
42-6 Sage CRM
Chapter 42: System Settings
Field Description
Default CSV File Export Set the delimiter to comma, semi-colon, or tab.
Delimiter When you use the Export To File button on, for
example, the results of a company search, the CSV
export will use the delimiter you have set. This
makes for easier conversion to suit your native
version of MS Excel. Users can override this setting
by selecting their preferred CSV File Export
Delimiter from My CRM | Preferences. Please refer
to CSV Input/Output Matrix (page 3-17) for more
details.
This setting also impacts data uploads from CSV
files. Please make sure the delimiter in the import
file matches the delimiter set in User Preferences.
User Rights To See If your license includes the System Expiry option,
System Expiry Warning you can choose the level of user who will see the
expiry warning message. If No Admin Rights is
selected, all users see the warning message. If Info
Manager is selected, Info Managers and
Administrators see the message. If System Admin
is selected, only Administrators see the message.
The message is displayed after each logon when the
expiry date is within thirty days or less.
Keyword Search
Keyword Search allows users search for keywords across all primary entities, simultaneously if
desired. Keyword searches can also feature wildcard characters to encompass a variety of text and
characters to check against in the database. For more information on using keyword searches
please refer to the User Guide.
The following areas are important to the maintenance of Keyword Searches:
l CRM Indexer Service (page 42-7)
l Keyword Search System Settings (page 42-8)
System Administrator needs to start the keyword search service. If it is a new install, the keyword
search service begins indexing the full database automatically.
Note: If you choose not to make keyword searching available to users, it is recommended practice
for performance reasons to stop the CRM Indexer Service.
To start or stop the CRM Index Service from the Services console:
1. In Windows, open the Control Panel and select Administrative Tools.
2. In the Administrative Tools screen, click on the Services icon. The Service console is displayed.
3. Right-click on the CRM Indexer Service to view the options for starting and stopping it. If the
service is running, the Start option on the pop-up menu is grayed out and other options (such as
Stop and Restart) can be clicked. You can also select the Properties option to define more
advanced settings. For example, you can specify the startup type so that the service starts
automatically when the system starts.
2. Click on the Change button to change the values in the lower panel, Keyword Search
Configuration.
The following table describes the Keyword Search Configuration fields.
Field Description
42-8 Sage CRM
Chapter 42: System Settings
Field Description
Field Description
Max Number of Concurrent This field is only displayed if your license includes
Users the Logged On Users License Scheme (concurrent
or mixed licensing) option.This shows the number of
users specified in license activation code.
Number of Named Users This field is only displayed if your license includes
the Logged On Users License Scheme (concurrent
or mixed licensing) option.This shows the total
number of users with a license type of Named.
Please refer to User Panel Fields (page 3-3) for more
information on setting the license type for a user.
Number of Active Users Number of users set up and enabled for use on the
system. Resource, deleted or disabled users are not
included in the total.
Registration Date Date and time the product was registered with Sage
CRM.
If the product has not yet been registered, follow the
instructions in the Manual Registration section of the
page.
System Expiry Date This field is only displayed if your license includes
the System Expiry option. Displays the date when
your system expires. No users can log on from this
date onwards, and a new license key is required. A
warning is displayed after each logon when the
expiry date is within thirty days or less.
42-10 Sage CRM
Chapter 42: System Settings
Proxy Settings
Proxy Settings allows System Administrators to set up a single generic user for proxy security for
features requiring Internet access - for example, gadgets calling external Web addresses on the
Interactive Dashboard.
If the Proxy details were entered during the install process, the details are displayed here for editing.
Field Description
Proxy User Name Proxy user name. This field is required if the first check
box is selected.
Proxy Domain Proxy domain. This field is required if the first check
box is selected.
Proxy Address Proxy address. This field is required if the first check
box is selected.
What is a Lock?
The system implements a number of different levels of multi-user data handling. Because of its
Web-centric nature, the system must handle each Web request on a secure level, without any
possibility of conflicts of data access and deadlock.
There are three levels of locking:
l Session Locks
l Table Locks
l Record Locks
Session Lock
A Session Lock is implemented for every individual user. Even though the interface may look
similar for every user, the Session Lock uniquely identifies the connection that they have with the
server, which is inherent in every request that the user makes. A request can be anything from the
click of a Run Report button, to a simple hyperlink, to a Contact Name. Basically any interfacing
that the user instigates requires the identification of the Session lock in question.
This is handled automatically, as every hyperlink and every button, for example, is generated by the
system with the Session Lock built into it.
The Session Lock is uniquely created when the User logs in, and is maintained during their Login
Session.
Field Description
Created By This is the user that the Lock is being held for, on the
record in question.
Created Date This is when the Lock was initially created for the
record in question.
When updating third party databases using the extensibility features, it is the responsibility of the
Database Administrator to ensure that it is not possible for a third party application and CRM to both
update the same record at the same time.
Locking notification
Note: This can be switched off within ASP pages using the CheckLocks property. Please refer to
the Developer Help for more details.
43-2 Sage CRM
Chapter 44: Timings
Introduction to Timings
The Timings functionality tracks the duration of a Lead, Opportunity, or a Case from when the
record is opened to when it is closed. It also calculates the length of time a Lead, Opportunity, or
Case spends at each stage along the way. If you open an existing Lead, Opportunity, or Case, you
can review the Duration information from the Tracking tab.
For a more accurate measurement of duration, this information can be combined with a Business
Calendar, which defines standard business days and work times. You can also define Holiday Sets
for different regions, and set up Service Level Agreements (SLAs) which take Case Duration,
Business Calendars, and Holiday Sets into account so that warnings and escalations can be
triggered when a Case comes close to, or breaches a customer’s SLA.
Note: Holiday Sets affect Case duration only, they have no impact on Lead or Opportunity duration.
The default Business Calendar, Standard Working Week, is used to calculate Lead and Opportunity
durations for any newly created Leads or Opportunities.
If you change the default Business Calendar, or if you set a different Business Calendar to be the
default calendar, you will probably want all existing Opportunity and Lead durations to be updated to
reflect the changes in the Business Calendar.
To recalculate Lead and Opportunity durations:
44-2 Sage CRM
Chapter 44: Timings
1. Open Administration | System | Timings and select the Business Calendar tab.
2. Select the hypertext link of the Business Calendar you updated or set as the new default calendar.
3. Select the Update Lead Records button to update all Leads to reflect the new or changed calendar
or select the Update Opportunity Records button to update all Opportunities. The records are
updated.
When the Opportunity (described above) is assigned the Standard Working Week calendar, the
elapsed time between each stage of the Opportunity is calculated based on that calendar.
You can view the elapsed time calculations when you open the Opportunity Summary page and
select the Tracking tab and view the Duration column.
The first duration that has been calculated is 6 days, 7 hours and 17 minutes. This is the time from
when the Opportunity was created and to when it was progressed to Proposal Submitted. Although,
the amount of days that elapsed between March 3rd and March 11th is 8 days, when the Standard
Working Week calendar is taken into account (that is, five working days in the week), the elapsed
time amounts to six days. In addition, hours and minutes are calculated.
Other durations have been calculated in the same way (the weekend is not counted because it is a
five-day working week).
When the Opportunity (described earlier) is assigned the Seven Day Week calendar, the elapsed
time between each stage of the Opportunity is calculated based on that calendar.
You can view the elapsed time calculations when you open the Opportunity Summary page and
select the Tracking tab and view the Duration column.
The first duration that has been calculated is 8 days, 7 hours and 17 minutes. This is the time
between when the Opportunity was created and when it was progressed to Proposal Submitted.
This time, the amount of days that elapsed between March 3rd and March 11th is 8 days, and the
time calculated by the system is also 8 days. This is because the elapsed time scales are based on
a seven-day working week (weekends are counted as working days). As you can see, hours and
minutes are also calculated.
44-4 Sage CRM
Chapter 44: Timings
1. From Administration | System | Timings, select the Holiday Set tab. The Available Holiday Sets
page is displayed with a list of existing Holiday Sets.
2. Select the New action button. The Holiday Set input form is displayed.
3. Type a name for the holiday set in the Holiday Set field.
4. Type the name of the public holiday you want to include in the company’s Holiday Set in the
Holiday Name field.
5. Enter the date on which the holiday falls in the Holiday Date field.
6. Select the Add button. The holiday you added is displayed on the Existing Holidays panel and the
Add New Holiday panel becomes available again for you to add another new holiday to the
Holiday Set.
7. Continue to add other holidays in the same way.
8. If you make a mistake, you can remove an existing holiday by selecting the Delete button beside
the holiday you want to remove.
9. Select the Save button. The Holiday Set you created is added to the list on the Available Holiday
Sets page.
You can open an existing Holiday Set at any point and clone it. This will save you time because
many public holidays will be common to the various Holiday Sets you needs to create.
To clone a holiday set:
1. From the list of available Holiday Sets, select the hypertext link of the Holiday Set you want to
clone. The Holiday Set is displayed in edit mode.
2. Select the Clone button. When you do this, the Holiday Set field becomes blank so that you can
enter a name for the cloned Holiday Set.
3. Enter a name in the Holiday Set field. A banner is displayed to inform you that you have just cloned
the Holiday Set.
4. Add or delete holidays from the list if required.
5. Select the Save button. The cloned holiday set is added to the list of available Holiday Sets.
Setting up SLAs
In Sage CRM Service Level Agreements define the time frames in which customer cases should be
resolved and the steps that should be taken to reach an appropriate solution. Typically, customers
pay for different SLA agreements (Gold, Silver, Bronze, for example) depending on the level of
service they require. Moreover, individual SLAs will specify varying response times and actions to
match the severity of the reported problem.
To set up an SLA:
1. Open Administration | System | Timings and ensure that the Service Level Agreement tab is
selected. The list of current SLAs is displayed showing the default SLA, Gold. The list can be
filtered using the filter panel on the right-hand side of the screen.
2. Select the New action button. The New Service Level Agreement page is displayed.
3. On the Details panel, enter a name for the SLA, for example, Priority Customers.
4. If you wish, you can type a percentage value in the Warning Percent field. This figure represents
the point in time at which you want the Case to be flagged in a certain way. The point in time is
based on the percentage complete of the Case in the time frame specified in the SLA.
For example, let’s say the Warning Percent specified in the SLA is 80%, and you specified in the
SLA that all Cases should be closed within 30 hours. As a result, if a Case to which that SLA is
assigned has not been closed within 24 hours, the Case is flagged accordingly.
5. Select the Default SLA check box if you want this to be the default SLA. If another SLA is already
specified as the default SLA, you need to unselect it first because only one SLA can be specified as
the default SLA at a given time.
Note: The Default SLA is used for new companies, which have not been assigned an SLA.
New cases will default to the Company SLA - even if it is set to "--None--". If you change the
SLA on the company record, existing associated case SLAs don't change. The new or
changed company SLA is only applied to new cases.
6. If SLA default is set then when creating new company the SLA field will be automatically set with
default SLA. The same for cases except when parent company have SLA set (even if it is none then
case SLA will also be none).
7. Select the Business Calendar you want to apply to the SLA from the Business Calendar field.
8. If you want to apply a Holiday Set to the SLA, select it from the Holiday Set field.
9. For High, Low, and Medium priority Cases, specify the total amount of hours the Case should be
closed in, in the Close In field.
10. From the SLA Timings in Hours panel, specify the number of hours that each stage of the Case
should be closed by in the Action fields. You need to do this for High, Low and Medium priority
Cases.
11. Select the Save button. The SLA is added to the current list of SLAs.
Note that the Number of action fields available depends on the number specified in Administration |
Advanced Customization | Workflow & Escalation Configuration | Maximum SLA actions.
44-6 Sage CRM
Chapter 44: Timings
2. Select the hypertext link of the action you want to add the escalation rule for. This example shows
how to add an escalation rule for Action 4, High severity. A dialog box is displayed to confirm that
you want to add the rule.
3. Click OK. The new Workflow Rule page is displayed with the new SLA escalation rule. All the fields
are automatically completed, and the rule name is automatically generated according to the action
number and severity you are creating the rule for.
4. To save the rule, select the Save button. When you do this, the escalation rule is applied to the
SLA.
If you want to add a notification action to the escalation rule, you do this from the Escalation Rule
tab, which you are currently in.
Note that if you decide to create a notification action, you need to ensure that the table is set to
escalations and that the time column is escl_datetime. Please refer to Workflow Customization
(page 24-1) and Escalation Rules (page 25-1) for more information.
5. The default SQL in the Trigger SQL Clause field sends a notification to the assigned user if the
case is not progressed within the time specified in the SLA action. You can edit the rule if you wish
by amending the SQL script. For example, you may wish to add additional conditions or remove the
assigned user.
6. Click on the Save button to confirm any changes to the escalation rule script or settings
7. A page displays a list of workflow rules, including escalation rules for SLA actions. To return to the
SLA tab, click on the Timings hyperlink at the end of the "breadcrumb trail", Administration > System
> Timings.
44-8 Sage CRM
Chapter 44: Timings
Cases list
l A green symbol with a "check mark" indicates that the Case is within the time specified in the SLA, it
has not yet reached the warning percentage level, or that no Warning percentage has been
specified in the SLA.
l A yellow symbol with a "minus sign" indicates that the Case has reached the warning percent level
without being closed.
l A red symbol with a "cross symbol" means that the Case has not been closed within the time
specified in the SLA.
If you make a change to an SLA’s timings in the SLA Timings In Hours panel, flags for Cases
associated with the SLA may be affected—in fact, the way in which the flag is determined will
change, but the flag itself may not necessarily change color immediately.
You may want to update SLA timings if, for example, you have a number of Cases attached to an
SLA but at a later date agree with a customer that you will solve high-priority Cases in a shorter
length of time than was agreed on initially.
Updating SLA Records
To update SLA records:
1. Open Administration | System | Timings and select the hypertext link of the SLA you want to make
changes to.
2. Change the Close In action for high-priority Cases to 9 hours, and change the value in the Action 1
field for high-priority Cases to 1.
3. Select the Save button. The Service Level Agreement Summary page is displayed.
44-10 Sage CRM
Chapter 45: Web Services
Field Description
Maximum Number The maximum number of records you want Web Services to
Of Records To be able to return at one time.
Return
Make WSDL When set to Yes, the WSDL file can be viewed by anyone
Available To All from:
http://CRM-
server-
name/CRMinstallname/eWare.dll/webservices/CRMwebservice.wsdl
- for On-Premise, or for example,
Field Description
https://[cloud.eu.sagecrm.com]/[accountname123]
/eware.dll/webservices/CRMwebservice.wsdl for Cloud.
This address can be check from Administration | Manage
My Account | Web Services.
Users will not need to be logged in to view the file.
Enable Web Set to Yes to enable the Web Services functionality. Set to
Services No to disable Web Services.
Note: This setting overrides the Web Services setting on the
External Access tab on individual entities. Please refer to
Changing External Access Settings (page 19-1) for more
information.
Dropdown Fields Default is No. Drop-down fields are displayed in the WSDL
As Strings In as enumerated types, for example comp_status as an
WSDL File enumeration with the drop down values in it. When set to
Yes, makes the enumerated types "Strings". This means
that, for example, within Company there is a field called
status that is of type com_type. When this Option is set to
Yes, it is still called status but its type is now "String".
Send and Return Use UTC (standard for Coordinated Universal Time) timing
All Dates and and format for display of times and dates.
Times in Universal
Time
Accept Web Specify the unique IP address that you want the WSDL file to
Request From IP be accessible from. When you do this, the Make Web
Address Services Available To All field should be set to No.
Force Webservice If the connection between the web service client and the
Log On service is unexpectedly broken, that client remains logged on
to the server hosting the service. This means that a new
instance of the client will be blocked from logging on to the
server. However, if you set the Force Webservice Log On
setting to Yes, the old instance of the client is automatically
logged out when a new instance attempts to log on. By
forcing new log ons, this field prevents users from being
"locked out" of a web service following a failed connection or
unsuccessful log out.
45-2 Sage CRM
Chapter 46: Themes
2. Copy an existing theme to base your new theme on. For example, copy COLOR1.CSS and rename
to PANOPLY_BLUE.CSS.
3. Create copies of all theme folders within the subdirectories of ..\WWWRoot\Themes. For example,
copy:
..\Program Files\Sage\CRM\[installname]\WWWRoot\Themes\Img\Color1
and rename to
..\Program Files\Sage\CRM\[installname]\WWWRoot\Themes\Img\panoply_blue
l Specific style changes. The CSS contains comments to help you identify the areas you may
want to change. For example:
/*Tab Off colour controlled here*/
l You can change style attributes in the CSS, but not the style itself or the formatting of the
CSS file.
l Instances of the copied theme in paths. Check and replace with the new theme name. For
example replace:
url(img/color1/backgrounds/ListRow2.gif);
with
url(img/panoply_blue/backgrounds/ListRow2.gif);
6. Review and edit the copied style sheets in
..\Program Files\Sage\CRM\[installname]\WWWRoot\Themes\Reports\[theme name]
for changes to be made for the new theme. The only recommended change to
STDGRIDS.CSS and STDPLAIN.CSS is:
46-2 Sage CRM
Chapter 46: Themes
l Replacing the dark shade (for example, #336633 from the Color1 theme) with the new
shade for your theme.
7. Review and edit the copied BASICHTML.XSL file in
..\Program Files\Sage\CRM\[installname]\WWWRoot\Themes\XSL\[theme name]
for changes to be made for the new theme. The areas for review may include:
l General color scheme changes. Replacing the dark and mid shades (for example, #336633
and #338433 from the Color1 theme) with the new shades for your theme.
8. Review and edit the copied THEME.CSS file in
..\Program Files\Sage\CRM\[installname]
\WWWRoot\Themes\InteractiveDashboard\Themes\[theme name]
for changes to be made for the new theme.
9. Review and replace images to fit your new theme. The table at the end of this section describes
some of the most frequently used images you may need to review and replace for your new theme.
10. Stop and restart IIS.
11. Test out and make the new theme available in CRM. Please refer to "Making a New Theme
Available in CRM" in this chapter for more information. If you do not immediately see the changes
you expect to see in your new theme, it is recommended that you empty your cache. For example,
in IE 7.0 go to Tools | Delete Browsing History | Temporary Internet Files | Delete files.
The following table describes some of the most frequently used images you may need to review and
replace for a new theme. The full set of images can be found in the \Img directory
Logos
..\Img\[theme name]\Logo EWARETOPLEFT.JPG
..\Img\[theme name] TOP.JPG
\Backgrounds
Tabs
..\Img\[theme name] TABONLEFT.GIF
\Backgrounds TABOFFLEFT.GIF
TABONREPEAT.GIF
TABOFFREPEAT.GIF
TABONRIGHT.GIF
TABOFFRIGHT.GIF
TABSPACE.GIF
Coaching Captions
..\Img\[theme name]\Icons COACHING.GIF
..\Img\[theme name]\Buttons COH_MINIMIZE.GIF
COH_PROMPT.GIF
COH_HIDEALL.GIF
Buttons
Mobile
.\Img\[theme name]\Logo LOGO.GIF
..\Img\[theme name] Review graphics containing mid shade of
\Menu\BasicHTML background color:
MENUBUT_FIND.GIF
MENUBUT_LOGOUT.GIF
MENUBUT_MYCRM.GIF
MENUBUT_MYDESK.GIF
MENUBUT_NEW.GIF
MENUBUT_REPORTS.GIF
ON_MENUBUT_FIND.GIF
ON_MENUBUT_LOGOUT.GIF
ON_MENUBUT_MYCRM.GIF
ON_MENUBUT_MYDESK.GIF
ON_MENUBUT_NEW.GIF
ON_MENUBUT_REPORTS.GIF
46-4 Sage CRM
Chapter 46: Themes
Using FusionWidgets
FusionWidgets allow Developers to create custom charts and elements for data visualization. The
widgets can be found in ..\Program Files\Sage\CRM\[installname]\WWWRoot\fusioncharts.
Detailed documentation on FusionCharts Widgets is available at
http://docs.fusioncharts.com/widgets .
display of static images. This should only be carried out by an experienced System Administrator.
More information is available on the Sage CRM Community web site.
46-6 Sage CRM
Glossary of Terms
Absolute Territory
The system administrator can assign security profile rights within a territory, which will act as a
logical OR to the existing profile and territory rights. For example, a profile, which currently has
no rights to Opportunities, can be given absolute territory rights to view Opportunities within the
Europe (and child) territory. Even if the user's home territory is one of the child territories of
Europe, the Absolute Territory right of their profile acts as an OR to their existing rights.
Actions
Workflow actions are associated with rules. They are executed when the end user selects the
rule, or when a set of conditions is met for the rule to be valid (for example, with Escalation
Rules).
Base Currency
The currency through which all currency conversions are made. Define the base currency at the
beginning of the implementation and do not change it afterwards.
Caption Code
The system code for what should appear on the screen to the user. The system stores multiple
language translations for one caption code. The translation for the code appears when the user is
logged in that language.
Conditional Rule
Used within workflow to create two sets of actions—one is executed when the JavaScript
condition is true, the other is executed when the JavaScript condition is false. Actions on
Conditional rules are executed when the user selects the rule. Conditional rules are represented
by two green arrows in the workflow tree. One with a green tick on it (True), the other with a red
cross on it (False).
CTI
Computer Telephony Integration. CRM CTI provides CTI-enabled users with telephony
functionality from their desktops, via the Sage CRM interface.
Duplicate State
Used in workflow to represent branching and looping in a traditional flow-chart.
Entry State
Defines the entry point or points into the workflow. Multiple entry points into the workflow can be
defined using Entry States. The Start state in the workflow tree is by default an entry state.
Escalation Rule
Used in workflow to trigger an action or series of actions based on an SQL Where clause.
Escalation rules are represented by blue arrows in the workflow tree.
Global Rule
Global rules are always available within a workflow and do not move the workflow into another
state. They are represented by light blue arrows with a pink circle in the workflow tree. Global
rules always hang from the Start Entry State.
Grid
Grids are displayed as the results of a search for a person, lead, case or opportunity, and so on.
The lists displayed on the Company Quick Look tab are also Grids.
Home Territory
Security territory of a user, for example, UK. A user with a Home Territory of US can access
records in the UK territory, and records in subordinate territories—for example, South East,
West, Midlands, North. If no security territories have been set up, this defaults to the World
Wide territory. The World Wide territory allows access to records in all territories.
JavaScript Condition
The JavaScript Condition field on the Workflow Rule record limits whether or not the rule will
appear for a given record. With JavaScript, you can also reference other entities that have been
created as part of the workflow.
List
Lists are displayed when you select a tab within the context of company, case, opportunity, or
person.
Match Rules
The match rules determine the criteria against which the data that the user enters in the Dedupe
Search Screen, is compared to the company or person records in the system.
Parent Territory
The parent territory is a territory within the security territory tree, which has other territories
hierarchically subordinated to it.
Primary Rule
Used at the beginning of a workflow to create a new entity that is part of a workflow. Primary
rules are represented by a purple arrow in the workflow tree.
Profile
A profile is a way of grouping users together when defining access rights (View, Update, Insert,
Delete).
Rebalancing
The process of updating the territory structure to facilitate the adding of territories when the
structure reaches temporary capacity as well as the merging and moving of territories.
Related Entities
Related Entities allow users to build reciprocal relationships in the Relationships tab of primary
entities. Relationship Types are defined by the System Administrator. These can be
Parent/Child, for example, between a holding company and its subsidiaries, or Sibling/Sibling,
for example between a "must fix" case and a number of companies that it is affecting.
Sibling Territory
If you want, for example, all users associated with the Sales profile, and whose Home Territory
is at the lowest level within Europe (for example, Germany, Benelux, UK, or Ireland) to be able to
view opportunities at the same level within the territory tree, then setting up additional rights
within the user's sibling territories will achieve this.
State
A state is like a pending tray or a resting place for the workflow process. The end user sees a
predefined set of business actions based on the entity's (for example, opportunity, case, or lead)
current state in the workflow.
Territory
In addition to basic access rights profiles, you can also further divide users rights by territory.
For example, you may want users in the Europe territory to view all Opportunities within the USA
territory, but not to be able to update them.
Theme
Themes allow you to customize look and feel of the CRM user interface. System Administrators
can define new themes based on existing ones. Themes are held in the ..\wwwroot\themes
subdirectory of the CRM install.
Transition rule
Transition rules are the most common type of rules in workflow. They define the possible paths
between workflow states, and make up the business actions, which appear to the user on the
right hand side of the entity (for example, Opportunity) workflow screen.
Workflow
Workflow automates business processes using a predefined set of rules and actions.
Appointments Changing
Exchange 36-20 Classic Outlook settings 37-1
Archiving context area 14-3
user activity records 6-2 default themes 46-1
Assigning default user template 9-1
opportunity to a team 5-2 document template 39-6
security profiles 4-4 external access settings 19-1
territories 4-6 field properties 13-6
user to a team 5-3 fields 13-5
D Disabling
S Setting
U V
User 18-2