1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3226a8927SAndrew Rist<!--*********************************************************** 4cdf0e10cSrcweir * 5226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6226a8927SAndrew Rist * or more contributor license agreements. See the NOTICE file 7226a8927SAndrew Rist * distributed with this work for additional information 8226a8927SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the 10226a8927SAndrew Rist * "License"); you may not use this file except in compliance 11226a8927SAndrew Rist * with the License. You may obtain a copy of the License at 12cdf0e10cSrcweir * 13226a8927SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14cdf0e10cSrcweir * 15226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing, 16226a8927SAndrew Rist * software distributed under the License is distributed on an 17226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18226a8927SAndrew Rist * KIND, either express or implied. See the License for the 19226a8927SAndrew Rist * specific language governing permissions and limitations 20226a8927SAndrew Rist * under the License. 21cdf0e10cSrcweir * 22226a8927SAndrew Rist ***********************************************************--> 23226a8927SAndrew Rist 24cdf0e10cSrcweir<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textsharedguidedata_addressbookxml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Registering an Address Book</title> 28cdf0e10cSrcweir<filename>/text/shared/guide/data_addressbook.xhp</filename> 29cdf0e10cSrcweir</topic> 309f45b63aSmseidel<comment>Deleted screenshots. Cleaned.</comment> 31cdf0e10cSrcweir</meta> 32cdf0e10cSrcweir<body> 3382a98929Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3152823"> 3482a98929Smseidel<bookmark_value>data sources; registering address books</bookmark_value> 35cdf0e10cSrcweir<bookmark_value>address books; registering</bookmark_value> 36cdf0e10cSrcweir<bookmark_value>system address book registration</bookmark_value> 37cdf0e10cSrcweir<bookmark_value>registering; address books</bookmark_value> 38cdf0e10cSrcweir</bookmark> 393db955a2Smseidel<paragraph role="paragraph" id="par_id3152823" xml-lang="en-US" l10n="E" localize="false"/> 403db955a2Smseidel<paragraph role="heading" id="hd_id3154228" xml-lang="en-US" level="1" l10n="U"><variable id="data_addressbook"><link href="text/shared/guide/data_addressbook.xhp" name="Registering an Address Book">Registering an Address Book</link> 41cdf0e10cSrcweir</variable></paragraph> 42cdf0e10cSrcweir<section id="adressbuch"> 433db955a2Smseidel<paragraph role="paragraph" id="par_id3154927" xml-lang="en-US" l10n="U">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> 443db955a2Smseidel<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U"><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> 45cdf0e10cSrcweir</section> 463db955a2Smseidel<paragraph role="paragraph" id="par_id3147399" xml-lang="en-US" l10n="CHG">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> 47cdf0e10cSrcweir<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> 483db955a2Smseidel<paragraph role="heading" id="hd_id3149096" xml-lang="en-US" level="2" l10n="U">Address Data Source Wizard</paragraph> 493db955a2Smseidel<paragraph role="paragraph" id="par_id3147008" xml-lang="en-US" l10n="CHG">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> 503db955a2Smseidel<paragraph role="heading" id="hd_id3149811" xml-lang="en-US" level="2" l10n="CHG">Registering An Existing Address Book Manually</paragraph> 51cdf0e10cSrcweir<list type="ordered"> 52cdf0e10cSrcweir<listitem> 533db955a2Smseidel<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U">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> 54cdf0e10cSrcweir</listitem> 55cdf0e10cSrcweir<listitem> 563db955a2Smseidel<paragraph role="paragraph" id="par_id3148491" xml-lang="en-US" l10n="U">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> 57cdf0e10cSrcweir</listitem> 58cdf0e10cSrcweir<listitem> 59*b5a5306aSmseidel<paragraph role="paragraph" id="par_id3149669" xml-lang="en-US" l10n="CHG">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 Data Source Wizard</emph>, in which you can register your address book as a new data source in <item type="productname">%PRODUCTNAME</item>.</paragraph> 60cdf0e10cSrcweir</listitem> 61cdf0e10cSrcweir<listitem> 623db955a2Smseidel<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U">In the <emph>Table</emph> combo box, select the database table you want to use as the address book.</paragraph> 63cdf0e10cSrcweir</listitem> 64cdf0e10cSrcweir<listitem> 653db955a2Smseidel<paragraph role="paragraph" id="par_id3147084" xml-lang="en-US" l10n="U">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> 66cdf0e10cSrcweir</listitem> 67cdf0e10cSrcweir<listitem> 68cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10784" xml-lang="en-US" l10n="NEW">When finished, close the dialog with <emph>OK</emph>.</paragraph> 69cdf0e10cSrcweir</listitem> 70cdf0e10cSrcweir</list> 713db955a2Smseidel<paragraph role="paragraph" id="par_id3149983" xml-lang="en-US" l10n="U">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> 72cdf0e10cSrcweir<section id="relatedtopics"> 73cdf0e10cSrcweir<switch select="appl"> 74cdf0e10cSrcweir<case select="WRITER"><embed href="text/swriter/guide/form_letters_main.xhp#form_letters"/> 75cdf0e10cSrcweir</case> 76cdf0e10cSrcweir</switch> 77cdf0e10cSrcweir<embed href="text/shared/guide/database_main.xhp#database_main"/> 78cdf0e10cSrcweir</section> 79cdf0e10cSrcweir</body> 80cdf0e10cSrcweir</helpdocument> 81