ProMdbReader

ProMdbReader implements a three plugin datasources to read the following:

View it live

Language:              C#
Subject:               Framework
Contributor:           ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization:          Esri, http://www.esri.com
Date:                  6/27/2019
ArcGIS Pro:            2.4
Visual Studio:         2019
.NET Target Framework: 4.7.2

Resources

ArcGIS Pro SDK for .NET Icons

Samples Data

How to use the sample

  1. Download the Community Sample data (see under the 'Resources' section for downloading sample data)

  2. Make sure that the Sample data is unzipped in c:\data

  3. The data used in this sample is located in this folder 'C:\Data\TestPersonalGdb'

  4. Also in order to access Microsoft Access database files you need to download a 64 bit driver which can be downloaded from Microsoft here: https://www.microsoft.com/en-us/download/details.aspx?id=13255

  5. In Visual Studio click the Build menu. Then select Build Solution.

  6. Click Start button to open ArcGIS Pro.

  7. In ArcGIS Pro open this project: 'C:\Data\PluginDataLinkTo\TestPersonalAccessDB\TestPersonalAccessDB.aprx'

  8. Open the Catalog Dockpane and open Folder Connection to to drill down to this folder: 'PluginDataLinkTo'
    UI

  9. The folder 'PluginDataLinkTo' is linked to 'C:\Data\PluginDataLinkTo' this folder contains a file called 'LinkToCustomPluginData.xlnk' with a file extension that triggers the 'ProDataProjectItem' Custom Project Item class.

  10. Open the 'LinkToCustomPluginData.xlnk' folder to find the various personal geodatabases.
    UI

  11. In the source code look at the ProMdbProjectItem class, which is used to implement the LinkToCustomPluginData.xlnk node in the Catalog dockpane.
    UI

  12. Under the PersonalGeodatabase node you can see all stand alone tables, feature datasets containing point, line, and polygon feature classes of the personal geodatabase. In source code, the ProDataSubItem class is used to prepresent each table node in the catalog browser.

  13. Right clicking on any of the feature classes or feature datasets allows the feature class(es) to be added to the current map. In the source code this is done in the AddToCurrentMap button class.

  14. After you add a ProMdbTable item to the current map, the ProMdbPluginDatasource plug-in is used to convert the MS access table content into a feature class that can be added to a map and displayed as an attribute table.
    UI

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples