1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?> 2*b1cdbd2cSJim Jagielski 3*b1cdbd2cSJim Jagielski 4*b1cdbd2cSJim Jagielski<!--*********************************************************** 5*b1cdbd2cSJim Jagielski * 6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 7*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 8*b1cdbd2cSJim Jagielski * distributed with this work for additional information 9*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 12*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 13*b1cdbd2cSJim Jagielski * 14*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 15*b1cdbd2cSJim Jagielski * 16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 21*b1cdbd2cSJim Jagielski * under the License. 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski ***********************************************************--> 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski<helpdocument version="1.0"> 28*b1cdbd2cSJim Jagielski<meta> 29*b1cdbd2cSJim Jagielski<topic id="textsharedguidedata_addressbookxml" indexer="include" status="PUBLISH"> 30*b1cdbd2cSJim Jagielski<title id="tit" xml-lang="en-US">Registering an Address Book</title> 31*b1cdbd2cSJim Jagielski<filename>/text/shared/guide/data_addressbook.xhp</filename> 32*b1cdbd2cSJim Jagielski</topic> 33*b1cdbd2cSJim Jagielski<history> 34*b1cdbd2cSJim Jagielski<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 35*b1cdbd2cSJim Jagielski<lastedited date="2007-02-05T13:07:37">FPE: Deleted screenshots. Cleaned.</lastedited> 36*b1cdbd2cSJim Jagielski</history> 37*b1cdbd2cSJim Jagielski</meta> 38*b1cdbd2cSJim Jagielski<body> 39*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3152823"><bookmark_value>data sources; registering address books</bookmark_value> 40*b1cdbd2cSJim Jagielski<bookmark_value>address books; registering</bookmark_value> 41*b1cdbd2cSJim Jagielski<bookmark_value>system address book registration</bookmark_value> 42*b1cdbd2cSJim Jagielski<bookmark_value>registering; address books</bookmark_value> 43*b1cdbd2cSJim Jagielski</bookmark> 44*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3152823" xml-lang="en-US" l10n="E" oldref="1" localize="false"/> 45*b1cdbd2cSJim Jagielski<paragraph role="heading" id="hd_id3154228" xml-lang="en-US" level="1" l10n="U" oldref="2"><variable id="data_addressbook"><link href="text/shared/guide/data_addressbook.xhp" name="Registering an Address Book">Registering an Address Book</link> 46*b1cdbd2cSJim Jagielski</variable></paragraph> 47*b1cdbd2cSJim Jagielski<section id="adressbuch"> 48*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3154927" xml-lang="en-US" l10n="U" oldref="3">In <item type="productname">%PRODUCTNAME</item> you can register different data sources. The contents of the data fields are then available to you for use in various fields and controls. Your system address book is such a data source.</paragraph> 49*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="4"> 50*b1cdbd2cSJim Jagielski<item type="productname">%PRODUCTNAME</item> templates and wizards use fields for the contents of the address book. When activated, the general fields in the templates are automatically replaced with the fields from the data source of your address book.</paragraph> 51*b1cdbd2cSJim Jagielski</section> 52*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3147399" xml-lang="en-US" l10n="CHG" oldref="5">In order for the replacement to take place, you must tell <item type="productname">%PRODUCTNAME</item> which address book you use. The wizard asking for this information appears automatically the first time you activate, for example, a business letter template. You can also call the wizard by following the steps listed below.</paragraph> 53*b1cdbd2cSJim Jagielski<paragraph role="note" id="par_id5941648" xml-lang="en-US" l10n="NEW">The address book data is read-only in %PRODUCTNAME Base. It is not possible to add, edit, or delete address data from within Base.</paragraph> 54*b1cdbd2cSJim Jagielski<paragraph role="heading" id="hd_id3149096" xml-lang="en-US" level="2" l10n="U" oldref="35">Address Data Source Wizard</paragraph> 55*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3147008" xml-lang="en-US" l10n="CHG" oldref="36">To call the <link href="text/shared/autopi/01170000.xhp" name="Address Data Source">Address Data Source</link> wizard, choose <emph>File - Wizards - Address Data Source</emph>.</paragraph> 56*b1cdbd2cSJim Jagielski<paragraph role="heading" id="hd_id3149811" xml-lang="en-US" level="2" l10n="CHG" oldref="6">Registering An Existing Address Book Manually</paragraph> 57*b1cdbd2cSJim Jagielski<list type="ordered"> 58*b1cdbd2cSJim Jagielski<listitem> 59*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="8">Choose <emph>File - Templates - Address Book Source</emph>. The <link href="text/shared/01/01110101.xhp" name="Templates: Address Book Assignment"><emph>Templates: Address Book Assignment</emph></link> dialog appears.</paragraph> 60*b1cdbd2cSJim Jagielski</listitem> 61*b1cdbd2cSJim Jagielski<listitem> 62*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3148491" xml-lang="en-US" l10n="U" oldref="10">In the <emph>Data source</emph> combo box, select the system address book or the data source you want to use as an address book.</paragraph> 63*b1cdbd2cSJim Jagielski</listitem> 64*b1cdbd2cSJim Jagielski<listitem> 65*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3149669" xml-lang="en-US" l10n="CHG" oldref="11">If you have not yet registered the system address book in <item type="productname">%PRODUCTNAME</item> as the data source, click the <emph>Address Data Source ...</emph> button. This takes you to the <emph>Address Book Data Source Wizard</emph>, in which you can register your address book as a new data source in <item type="productname">%PRODUCTNAME</item>.</paragraph> 66*b1cdbd2cSJim Jagielski</listitem> 67*b1cdbd2cSJim Jagielski<listitem> 68*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="13">In the <emph>Table</emph> combo box, select the database table you want to use as the address book.</paragraph> 69*b1cdbd2cSJim Jagielski</listitem> 70*b1cdbd2cSJim Jagielski<listitem> 71*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3147084" xml-lang="en-US" l10n="U" oldref="15">Under <emph>Field assignment</emph>, match the fields for first name, company, department, and so on to the actual field names used in your address book.</paragraph> 72*b1cdbd2cSJim Jagielski</listitem> 73*b1cdbd2cSJim Jagielski<listitem> 74*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_idN10784" xml-lang="en-US" l10n="NEW">When finished, close the dialog with <emph>OK</emph>.</paragraph> 75*b1cdbd2cSJim Jagielski</listitem> 76*b1cdbd2cSJim Jagielski</list> 77*b1cdbd2cSJim Jagielski<paragraph role="paragraph" id="par_id3149983" xml-lang="en-US" l10n="U" oldref="18">Now your data source is registered in <item type="productname">%PRODUCTNAME</item> as the address book. If you now open a template from the <emph>Business Correspondence</emph> category, <item type="productname">%PRODUCTNAME</item> can automatically insert the correct fields for a form letter.</paragraph> 78*b1cdbd2cSJim Jagielski<section id="relatedtopics"> 79*b1cdbd2cSJim Jagielski<switch select="appl"> 80*b1cdbd2cSJim Jagielski<case select="WRITER"><embed href="text/swriter/guide/form_letters_main.xhp#form_letters"/> 81*b1cdbd2cSJim Jagielski</case> 82*b1cdbd2cSJim Jagielski</switch> 83*b1cdbd2cSJim Jagielski<embed href="text/shared/guide/database_main.xhp#database_main"/> 84*b1cdbd2cSJim Jagielski</section> 85*b1cdbd2cSJim Jagielski</body> 86*b1cdbd2cSJim Jagielski</helpdocument> 87