Coder Social home page Coder Social logo

kgalliher / pro-createrecords-addin Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 223 KB

An ArcGIS Pro SDK AddIn integrating a database view and a custom dockpane to view and create records from AFC logs assigned to the currently authenticated user.

C# 96.59% TSQL 3.41%

pro-createrecords-addin's Introduction

pro-createrecords-addin

Create Records AddIn

Table of Contents

Introduction

This project represents an ArcGIS Pro 2.8 SDK Add-In that reads a database view and displays view data within a custom list nested within a dockpane.

Architecture

A combination of directories contain sql queries, c# files, images, and documentation files. Their purpose and contents include:

  • DarkImages - Images for ArcGIS Pro's dark theme.
  • Images - Images for ArcGIS Pro's dark theme.
  • Docs - Contains this README.MD document.
  • SQL - Contains sql queries that identify the ADM.AFC_LOG_VW.
  • Root - C#, .daml, and .xaml files that makup the MVVM Addin.

Integration

In order to view AFC logs that are relevant to the user, a database view will be created showing those already assigned to the user. This approach has to be used because AFC logs, at the moment, cannot be assigned to users from ArcGIS Pro. One of the goals of this project is to format record names so they match the formatting of Legal Line 4 in the Mars application. To do this, the record name will be constrained to twelve characters in one of three formats. The cleanup format will not match legal line 4, but will follow a pattern consistent with the instrument number and research form ID by constraining the ID to twelve characters.

Instrument Number

The instrument number format is proprietary to the Dallas County Clerk’s Office and consists of twelve numeric digits. The first four digits represent the year in which the document was recorded and the remaining eight digits represent a sequence of documents. For example, the instrument number 202200000001 represents the first document recorded in 2022.

Research Form ID

The research form ID is an alphanumeric identifier that combines the year that the DCAD research request was initiated, the month and day it was entered into the system and a sequence number identifying its order of entry for that date. For example, 2022-0314-03 represents a research form that was the third entered on March 14, 2022. This identifier contains alphanumeric characters because of the dash included in the number.

Cleanup Project ID

The cleanup project ID is an alphanumeric identifier that combines the letter “C” with the three digit tile number where the project is located and the date the record was created in YYYYMMDD format. For example, if a GIS Specialist initiate a cleanup project in Tile 174 on May 22, 2022 the name of the record would be C17420220522. If the cleanup project spans multiple tiles it will need to have one record for each tile where it is exists with the same date appended to the record name.

Dock Pane Window

The dockpane window will display current AFC logs that are currently Active and have been assigned to the authenticated user. These will be bound to the dockpane and allow GIS Specialists to search for AFC logs within the ArcGIS Pro project. The Add-In will import select columns from the AFC_LOG database table formatted for a quick view to help identify the AFC log for the specialist.

Deployment

This Add-In will be made available to users through a network share. The network share is \\dcad.org\GIS\Source\Addins\ArcGIS_Pro_AddIns. Any user that has the network share mapped in the ArcGIS Pro application can access the Add-In and use it when opening ArcGIS Pro.

Usage

To use the Add-In, the well-known folder must be supplied in the project's options found in the backstage. See Deployment. The Add-In will be available in the Add-Ins tab with the title Show Create AFC Records Dock Pane.

  1. Click the button and wait for the dock pane to load.
  2. The AFC log list will load when the dock pane is displayed.
  3. If the expected AFC log is not found in the list, it may already have an existing record. Make sure that record for the specific AFC log does not already exist or that the AFC log has been assigned to you in Message Central.

Revision History

Date Rev Description Author
06/28/21 1.0 Initial Release John W. Fell

Footnotes

pro-createrecords-addin's People

Contributors

fellj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.