Add and Disable and Enable and Remove Attachments, Generate Attachment Match Table Tools
Add Attachments
How to use Add Attachments Tool in ArcToolbox ArcMap ArcGIS??Add Attachments
Path to access the tool
:
Add
Attachments Tool, Attachments Toolset,
Data Management Tools Toolbox
Add Attachments
Adds file attachments to
the records of a geodatabase feature class or table. The attachments are stored
internally in the geodatabase in a separate attachment table that maintains
linkage to the target dataset. Attachments are added to the target dataset using
a match table that dictates for each input record (or an attribute group of
records) the path to a file to add as an attachment to that record.
1. Input Dataset
Geodatabase table or
feature class to add attachments to. Attachments are not added directly to this
table, but rather to a related attachment table that maintains linkage to the
input dataset.
The input dataset must
be stored in a version 10.0 or later geodatabase, and the table must have
attachments enabled.
2. Input Join Field
Field from the Input
Dataset that has values that match the values in the Match Join Field. Records
that have join field values that match between the Input Dataset and the Match
Table will have attachments added. This field can be an Object ID field or any
other identifying attribute.
3. Match Table
Table that identifies
which input records will have attachments added and the paths to those
attachments.
4. Match Join Field
Field from the match
table that indicates which records in the Input Dataset will have specified
attachments added. This field can have values that match Input Dataset Object
IDs or some other identifying attribute.
5. Match Path Field
Field from the match
table that contains paths to the attachments to add to Input Dataset records.
6. Working Folder (optional)
Folder or workspace
where attachment files are centralized. By specifying a working folder, the
paths in the Match Path Field can be the short names of files relative to the
working folder.
For example, if loading
attachments with paths like C:\MyPictures\image1.jpg, C:\MyPictures\image2.jpg,
set the Working Folder to C:\MyPictures, then paths in the Match Path Field can
be the short names such as image1.jpg and image2.jpg, instead of the longer
full paths.
Disable Attachments
How to use Disable
Attachments Tool in ArcToolbox ArcMap ArcGIS??Disable Attachments
Path to access the tool
:
Disable
Attachments Tool, Attachments Toolset,
Data Management Tools Toolbox
Disable Attachments
Disables attachments on
a geodatabase feature class or table. The tool deletes the attachment
relationship class and attachment table.
1. Input Dataset
The geodatabase table or
feature class for which attachments will be disabled. The input must be in a
version 10 or later geodatabase.
Enable Attachments
How to use Enable
Attachments Tool in ArcToolbox ArcMap ArcGIS??Enable Attachments
Path to access the tool
:
Enable
Attachments Tool, Attachments Toolset,
Data Management Tools Toolbox
Enable Attachments
Enables attachments on a
geodatabase feature class or table. The tool creates the necessary attachment
relationship class and attachment table that will store attachment files
internally.
1. Input Dataset
The geodatabase table or
feature class for which attachments will be enabled. The input must be in a
version 10 or later geodatabase.
Generate Attachment Match Table
How to use Generate
Attachment Match Table Tool in ArcToolbox ArcMap ArcGIS??Generate Attachment Match Table
Path to access the tool
:
Generate
Attachment Match Table Tool, Attachments Toolset,
Data Management Tools Toolbox
Generate Attachment Match Table
Creates a match table to
be used with the Add Attachments and Remove Attachments tools.
1. Input Dataset
Input dataset that
contains records that will have files attached.
2. Input Folder
Folder that contains
files to attach.
3. Output Match Table
Table that will be
generated which contains two columns: MATCHID and FILENAME.
4. Key Field
The values in this field
will match the names of the files in the input folder. The matching behavior
will ignore file extensions, which allows multiple files with various file
extensions to match with a single record in the input dataset.
For example, if the
input Key Field value is lot5986, a file on disk named lot5986.jpg would match
with this record.
5. Input Data Filter (optional)
This parameter is used
to limit the files the tool considers for matching. If the file name does not
meet the criteria in the file filter parameter it will not be processed and
therefore will not show up in the output match table. Wild cards (*) can be
used in this parameter for more flexible filtering options. Multiple
semicolon-delimited filters can be used as well.
For example, consider a
directory that contains the following files: parcel.tif, parcel.doc,
parcel.jpg, houses.jpg, and report.pdf.
To limit the possible
matches
6. Store Relative Path (optional)
Determines if the output match table field FILENAME will contain a full path to the dataset or only the file name.
- Checked—The output FILENAME field will contain relative paths. This is the default.
- Unchecked—The output FILENAME field will contain full paths to the data.
Remove Attachments
How to use Remove
Attachments Tool in ArcToolbox ArcMap ArcGIS??Remove Attachments
Path to access the tool
:
Remove
Attachments Tool, Attachments Toolset,
Data Management Tools Toolbox
Remove Attachments
Removes attachments from
geodatabase feature class or table records. Since attachments are not actually
stored in the input dataset, no changes will be made to that feature class or
table, but rather to the related geodatabase table that stores the attachments
and maintains linkage with the input dataset. A match table is used to identify
which input records (or attribute groups of records) will have attachments
removed.
1. Input Dataset
Geodatabase table or
feature class from which to remove attachments. Attachments are not removed
directly from this table, but rather from the related attachment table that
stores the attachments. The Input Dataset must be in a version 10 or later
geodatabase, and the table must have attachments enabled.
2. Input Join Field
Field from the Input
Dataset that has values which match the values in the Match Join Field. Records
that have join field values that match between the Input Dataset and the Match
Table will have attachments removed. This field can be an Object ID field or
any other identifying attribute.
3. Match Table
Table that identifies
which input records will have attachments removed.
4. Match Join Field
Field from the match
table that indicates which records in the Input Dataset will have specified
attachments removed. This field can have values that match Input Dataset Object
IDs or some other identifying attribute.
5. Match Name Field (optional)
Field from the match table that has the names of attachments to remove from Input Dataset records. If no name field is specified, all attachments will be removed from each record specified in the Match Join Field. If a name field is specified, but a record has a null or empty value in the name field, all attachments will be removed from that record. This field's values should be the short names of the attachment to remove, not the full paths to the files used to make the original attachments.
Comments
Post a Comment