Any hosted feature layer in the portal can be configured to allow portal members to export data from it.You, and the people you share the hosted feature layers with, can visualize the layer data in maps and apps and analyze the data.
Or, you can add individual feature classes to maps in ArcGIS Pro and publish hosted feature layers to your portal.
The people you share it with can download the file geodatabase and access its contents. If you're a member of a role that has privileges to create content, you can add a file geodatabase to your portal and share it with other members of your portal.If you're a member of a role that has publishing privileges, you can publish the file geodatabase contents as a hosted feature layer that can be used in maps, apps, and analysis.ĭepending on your privileges, you can do the following with file geodatabases in an ArcGIS Enterprise portal: To share an entire file geodatabases with other portal members or the public, compress the file geodatabase and add it to your ArcGIS Enterprise portal. You can also add the services you publish to stand-alone ArcGIS Server sites as layer items in your portal or use the services in maps you create in a portal map viewer. The map, feature, and image services you publish to federated ArcGIS Server sites are automatically available to you in your portal as layers. Publish an image service from raster datasets or mosaic datasets to a federated or stand-alone ArcGIS Image Server site.ĪrcGIS Enterprise portals and file geodatabases.In a file geodatabase to a federated or stand-alone ArcGIS GIS Server site.
Publish image services from raster datasets.Publish map services from feature classes and tables in a file geodatabase to a federated or stand-alone ArcGIS GIS Server site.ArcGIS Server sites and file geodatabasesĪdd feature classes, tables, mosaic datasets, and raster datasets from the file geodatabases in your registered folders to maps in ArcGIS Pro, configure the data in the map to look and behave as you require, and publish the data as web layers that reference the data in your file geodatabase as follows: For information about creating and managing file geodatabases, see the ArcGIS Pro help. The following sections explain how you can use file geodatabases and their contents with ArcGIS Server sites and ArcGIS Enterprise portals. Create a file geodatabase in ArcGIS Pro or using a Python script that calls the Create File Geodatabase geoprocessing tool. ArcGIS Enterprise portals and file geodatabasesĪ file geodatabase is a collection of files in a folder on disk that can store, query, and manage spatial and nonspatial data.ArcGIS Server sites and file geodatabases.# use the match table with the Add Attachments toolĪrcpy. # the input feature class must first be GDB attachments enabledĪrcpy.EnableAttachments_management(input) # iterate through each picture in the directory and write a row to the table # write a header row (the table will have two columns: ParcelID and Picture) Writer = csv.writer(open(matchTable, "wb"), delimiter=",") These photos to a parcel feature class as attachments. To accomplish this, the Match Table should contain multiple records for that input ID (for example, record 1 has an InputID of 1 and a pathname pic1a.jpg, and record 2 has an InputID of 1 and a pathname pic1b.jpg).Įxample: we have a folder of digital photographs of vacant homes the photosĪre named according to the ParcelID of the house in the picture. Multiple files can be attached to a single feature class or table record. The tool will automatically select the Object ID field for both join fields, and you can specify which field from the input contains the paths to the attachment files. If your Input Dataset already contains a field that is the path to the attachments to add, and you do not want to use a separate Match Table, specify the same dataset for both the Input Dataset and Match Table. If the original files are modified, these changes will not be automatically made to the geodatabase attachment to synchronize changes to the geodatabase, remove the affected attachments using the Remove Attachments tool, then add the modified files back as new attachments. The original attachment files will not be affected in any way. Before attachments can be added using this tool, they must first be enabled using the Enable Attachments tool.Īttachments added using this tool will be copied internally to the geodatabase.