This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Addressbook"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Document templates)
(Document templates)
Line 44: Line 44:
  
 
==Document templates==
 
==Document templates==
You can create document templates for OpenOffice.Org and Microsoft Office 2007 (You can use older versions but then you must install the [http://www.microsoft.com/downloads/en/details.aspx?FamilyId=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en compatibility pack]) and up in Group-Office. This way you can have a document template filled with data from the addressbook automatically. To create a template use OpenOffice.Org or Microsoft office to create a new document(in '''.docx''' format) and upload it at:
+
You can create document templates for OpenOffice.Org and Microsoft Office 2007 (You can use older versions but then you must install the [http://www.microsoft.com/downloads/en/details.aspx?FamilyId=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en compatibility pack]) and up in Group-Office. This way you can have a document template filled with data from the addressbook automatically. To create a template use OpenOffice.Org or Microsoft office to create a new document (in '''.docx''' format) and upload it at:
  
 
Addressbook -> Administration -> Templates -> Add document template
 
Addressbook -> Administration -> Templates -> Add document template

Revision as of 16:08, 20 February 2012

Contact information panel

The addressbook is a very powerful tool to manage contacts. It's very easy to share addressbooks with other users. Some default addressbooks (Customers, Prospects and suppliers) have been created. They are shared with the default group "Internal".

At each contact you can create linked items like tasks, appoinments, files, notes etc. as you can see in the Contact information panel screenshot. The latest links are shown immediately. To browse and manage all links of the contact, click at the "Links" button.

Sharing an addressbook

To share an addressbook with other users or user groups two things need to be setup. The user must have access to the addressbook module and to the addressbook. To setup the permissions for an addressbook go to :

Addressbook -> Administration -> Double click addressbook -> Permisssions.

Here you can add the users and user groups you want to grant access. Read more about managing permissions here.

If you want to create a global shared addressbook it is recommended to add this addressbook as the "admin" user so it won't be deleted along with a regular user when this employee leaves the company for example. This is a very common mistake.

Importing contacts

The addresbook can import contacts from another application. To import contacts you will have to export contacts to a comma seperated values file (*.csv) or a vCard (*.vcf) file from the other application first. Consult the documentation of that application on how to do this.

If you made a CVS file then you goto:

Addressbook -> Administration -> Double click the addressbook -> Import

Select the CSV file and click at 'Ok'. The address book file you have selected will be scanned for columns containing data. You can then select which columns from the old program should go to which columns in the Group-Office addressbook.

After clicking on 'OK' your address book will be filled with all the data from the addressbook file. If you open the new addressbook you will see that it has been filled with all the exported contacts information.

Note: Group-Office uses separate companies and contacts. If you are importing Companies and contacts separately it's wise to import the companies first. Group-Office will attempt to find an existing company to link to the contact. If it can't find a matching company it will create a new empty one. So if you import contacts first and after that the companies, you will end up with duplicates.

Tip: If the fields in your CSV file match the column names in Group-Office (Look at a Group-Office export for reference of these names). Then Group-Office will match the fields automatically and will save you from matching the fields each time.

Exporting contacts

It is also possible to export the group office address book to a Comma Seperated Values (*.csv) or vCard (*.vcf) file, you can either export Contacts or Companies. This process creates a file which can be used as a backup, to send it to a colleague for example or import it into another program.

To export an addressbook go to:

Adressbook -> Administration -> Export

Document merging for sending paper letters

To create a merged document to send a letter by regular mail you need to make an export to CSV first and then use that as a datasource for OpenOffice.Org or Microsoft Word.

Document templates

You can create document templates for OpenOffice.Org and Microsoft Office 2007 (You can use older versions but then you must install the compatibility pack) and up in Group-Office. This way you can have a document template filled with data from the addressbook automatically. To create a template use OpenOffice.Org or Microsoft office to create a new document (in .docx format) and upload it at:

Addressbook -> Administration -> Templates -> Add document template

You can use the following values in the document:

Testing fields

For testing you can simply add these tags:

  1. {event}
  2. {contact}
  3. {company}
  4. {note}
  5. {project}

They will show you which tags you can use.


Custom fields

You can use custom fields like this:

{project:Custom field category:Custom field name}

{contact:Custom field category:Custom field name}

{company:Custom field category:Custom field name}


Common fields

{date} Current date


Fields of the logged in user:

{my_name}

{my_first_name}

{my_middle_name}

{my_last_name}

{my_initials}

{my_title}

{my_email}

{my_home_phone}

{my_fax}

{my_cellular}

{my_address}

{my_address_no}

{my_zip}

{my_city}

{my_state}

{my_country}

{my_company}

{my_department}

{my_function}

{my_department}

{my_work_phone}

{my_work_address}

{my_work_address_no}

{my_work_zip}

{my_work_city}

{my_work_state}

{my_work_country}


Fields of the contact / company:

<bNote:</b> Replace contact with company for company fields.

{contact:salutation} The salutation

{contact:beginning} Dear sir / madam

{contact:first_name} First name

{contact:middle_name}

{contact:last_name}

{contact:initials}

{contact:title}

{contact:email}

{contact:home_phone}

{contact:fax}

{contact:cellular}

{contact:address}

{contact:address_no}

{contact:zip}

{contact:city}

{contact:state}

{contact:country}

{contact:company}

{contact:department}

{contact:function}

{contact:work_phone}

{contact:work_fax}

{contact:work_address}

{contact:work_address_no}

{contact:work_city}

{contact:work_zip}

{contact:work_state}

{contact:work_country}

{contact:work_post_address}

{contact:work_post_address_no}

{contact:work_post_city}

{contact:work_post_zip}

{contact:work_post_state}

{contact:work_post_country}

{contact:homepage}


Project fields

{project:name}

{project:customer}

{project:description}

{project:ctime} Creation time

{project:mtime} Modification time

{project:status}

{project:type}

{project:start_time}

{project:due_time}

{project:units_budget}

{project:responsible_user_name} The manager


After you created the document go to:

Addressbook -> Manage templates -> Add Document template

Enter a name for the template and click at browse to select your document.

Click at 'Ok' to save it.

Now lookup a contact, company or project and click at:

New -> Document from template -> Select the template if you have more then one.

callto: links

Group-Office generates callto:+123456890 links for phone numbers. You can customize this link by putting this in your config.php for example:

$config['callto_template']='callto:{phone}+type=phone';

If you need to pass additional variables to a script that handles the call you might want to create a custom script to handle that:

You could create a custom php script in GO:

callto.php:

<?php
require('Group-Office.php');
header('location: someothercalltoscript.php?callto='.$_GET['phone'].'&user='.$_SESSION['GO_SESSION']['username']);
?>

Now just put that script in the calllto_template:

$config['callto_template']='callto.php?phone={phone}';