# 新建连接文件

创建或者修改一个连接文件前，必须有相应的在线数据库的 Z39.50 客户端配置说明，可以在数据库主页或者向当地图书馆进行查询

**注：**&#x5982;果数据库没有 Z39.50 服务器，就不能使用 EndNote 的在线检索功能检索该数据库。作为替代方法，可以在其主页先进行检索，然后通过[导入](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/07Import/Importing_Ref_Data_intoEN.htm)的方法把文献导入到 EndNote 本地数据库内

手头有了 Z39.50 客户端配置说明，就可以通过以下步骤进行创建新的连接文件了

### 创建连接文件并输入基本信息

1. 依次打开菜单 Edi >> Connection Files >> New Connection File
2. 创建新连接文件窗口首先显示的是 About this Connection 面板，这里是输入连接文件的一些描述信息的，这些信息不影响连接文件的功能
3. 选择 [Connection Settings](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/connection-files/The_Connectn_Settings.htm) 选项输入连接信息，这里是数据库服务器的连接信息
4. 如有需要选择 [Search Attributes](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/connection-files/Search_Attributes.htm) 面板输入检索方法
5. 依次打开菜单 File >> Save As 保存连接文件

### 检测连接文件

1. 依次打开菜单 Tools >> Online Search，选择刚创建的连接文件。如果连接不成功，检查 Connection Settings 面板中的设置看是否正确，然后保存再试一下
2. 如果能正确连接，搜索面板会自动打开，输入检索词进行检索。如果不能正确检索，检查 Search Attributes 面板中的设置，然后修改保存再尝试一下

### 检测文献匹配情况

1. 如果能够连接并检索，会返回很多检索结果，在这些检索结果中选择一个文献双击打开，看看检索到的文献的各个字段是否匹配。注意如果如果在线数据库需要花钱才能检索，可能返回的检索结果很少或者没有，所有文献自动保存在连接文件的[日志文件](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/06Remote/The_Log_File.htm)中
2. 如果文献的数据不正确，需要查看连接文件的 templates 面板设置是否正确。打开[日志文件](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/06Remote/The_Log_File.htm)查看检索得到的原始文件信息，一点点调节滤件，参阅[滤件简介](/filters.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.howsci.com/connection-files/creating-connection-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
