Giter VIP home page Giter VIP logo

solutions-widgets-wpf's Introduction

solutions-widgets-wpf

The Solutions Widgets (WPF) are examples of how to extend the Operations Dashboard for ArcGIS. There are multiple Addins available to use as is or to take and modify to meet your needs.

Image of Operations Dashboard

Features

Sections

Requirements

  • Visual Studio 2012
  • ArcGIS Runtime SDK for WPF 10.2.2
    • included in the SDK is a copy of the Operations Dashboard

Instructions

General Help

Getting Started with the Solution Widgets (WPF)

  • Building
    • To Build Using Visual Studio
      • Open, build, and add one of the addins to the Operations Dashboard
    • To use MSBuild to build the solution
      • Open a Visual Studio Command Prompt: Start Menu | Microsoft Visual Studio 2012 | Visual Studio Tools | Developer Command Prompt for VS 2012
      • cd solutions-widgets-wpf\source\AllSolutionsWidgets
      • msbuild AllSolutionsWidgets.sln /property:Configuration=Release
    • IMPORTANT: If you run into issues building with IDE error. Close Visual Studio and open .csproj file associated with the widget you are trying to compile. Search for 10.2.2 and replace with the version of the Runtime SDK that you are using. This should fix the problem.
  • Running Units Test to Verify Your Solution
    • Important Note: Visual Studio 2012 Ultimate or Premium Update 2 is required to build and run the Unit Tests provided with the repository
    • Open and run the test solution at source\AllSolutionsWidgetsWithTests with the Visual Studio Test Explorer
    • Alternately, use VSTest.Console.exe or MSTest.exe to run one of the test projects' dlls
      • e.g. "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\VSTest.Console.exe" "solutions-widgets-wpf\application\OrderOfBattleUnitTests.dll"
    • See the Readme in the Unit Test Solution for more information
  • Running
    • Check the readme for each addin for more details about what each one does.
    • To run from Visual Studio:
      • Update Project Debug properties to
      • Start external program: e.g. "C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.2\sdk\OperationsDashboard\OperationsDashboard.exe"
      • Correctly locate add-in build path and supply in command line arguments as /addinpath:"{PATH TO ADDIN}"
        • E.g. Command Line Arguments: /addinpath:"{FULLY QUALIFIED PATH TO}\solutions-widgets-wpf\applications"
    • To run from a command prompt:
      • cd solutions-widgets-wpf\applications

      • "C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.2\sdk\OperationsDashboard\OperationsDashboard.exe" /addinpath:"{LOCAL PATH TO}\solutions-widgets-wpf\applications"

    • When Operations Dashboard application starts, edit an Operation View settings to choose one of the addins
    • When ready to test the deployment to ArcGIS Online
      • Upload one or more of the .opdashboardaddin files from the solutions-widgets-wpf\applications directory to ArcGIS Online, and then download using Manage Add-Ins in Operations Dashboard

Services

  • There are several services that the addins depend on to function. You can open, build, and run the test project TestDependentServices to check which services may not be available.

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2012-2013 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

Note: Portions of this code use Json.NET whose use is governed by the MIT License. For more details, see http://json.codeplex.com/license.

[](Esri Tags: ArcGIS Defense and Intelligence Situational Awareness ArcGIS Runtime WPF Military ArcGISSolutions) [](Esri Language: C-Sharp)

solutions-widgets-wpf's People

Contributors

csmoore avatar dfoll avatar joebayles avatar jofraley avatar phill5136 avatar ubatsukh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solutions-widgets-wpf's Issues

error : The Esri WPF SDK is not correctly installed - when built with {Next Version} - ex.10.2.4

http://vjenk01.esri.com:8080/job/Daily%20Build-%20solutions-widgets-wpf/263/console

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/18/2014 9:30:39 PM.
Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AllSolutionsWidgets\AllSolutionsWidgets.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AllSolutionsWidgets\AllSolutionsWidgets.sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin.csproj" (2) on node 1 (default targets).
C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin.csproj(157,5): error : The Esri WPF SDK is not correctly installed - 'ESRI.ArcGIS.OperationsDashboard.targets' not found (IDEIntegrationFolder='').
Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin\AircraftCommunicationCoverageAddin.csproj" (default targets) -- FAILED.
Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AllSolutionsWidgets\AllSolutionsWidgets.sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin.csproj" (3) on node 1 (default targets).
C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin.csproj(150,5): error : The Esri WPF SDK is not correctly installed - 'ESRI.ArcGIS.OperationsDashboard.targets' not found (IDEIntegrationFolder='').
Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin\AirCraftRouteGenerationLineAddin.csproj" (default targets) -- FAILED.
Project "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\AllSolutionsWidgets\AllSolutionsWidgets.sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\Daily Build- solutions-widgets-wpf\source\BombThreatAddin\BombThreatAddin\BombThreatAddin.csproj" (4) on node 1 (default targets).
ResolveAssemblyReferences:
Primary reference "ESRI.ArcGIS.Client".

FindClosestResource enhancement

Tool should have a checkbox to reverse the route TO the selected location from the identified assets. Scenario being an incident location and the assets being response crews. The sample only routs from the location to the facility

Decide where the dependent services will be hosted

These addins have dependencies on non-public services:

Amazon Web Services:
Aircraft Communication Coverage Addin
Aircraft Route Generation Line Addin
Ground Communication Coverage Addin
Satellite Ephemeris Generation Addin

So just need to figure out where to host them, or otherwise document how to satisfy the dependency, in order to enable these addins to still work.

Widgets need uploading to NSEC Portal

I tried uploading these widgets to the NSEC portal and ran into build errors in Visual Studio. They need to be uploaded for testing against the latest version, for #23 and #28 to be closed.

  • Bomb Threat Addin
  • Buffer Map Tool
  • ERG Chemical AddIn
  • Farthest On Circle Addin
  • Find Closest Resource
  • Order of Battle Addin
  • Range Fan Addin

ERG Chemical AddIn - Public Service being removed.

As part of the work to retire the Public Safety COP, the EM team is removing the public GP services from their external server. Instructions need to be updated to tell users to publish their own services from the Geoprocessing toolbox.

solutions-widgets-wpf/source/ERGChemicalAddIn/Readme.md

Bomb Threat, ERG, Find Nearest Resource problems since last Ops Dashboard update

During UC prep, we noticed that the Bomb Threat, ERG, and Find Nearest Resource tools all began to crash or become non-functional since the most recent Ops Dashboard update.

The behaviors observed were:

  • Bomb Threat tool would not allow you to use the "click map" button, and the entire toolbar would subsequently become unresponsive
  • After setting all the parameters, the ERG tool would not run when the run button was clicked
  • The parameter window for the find nearest resource tool would not open when the tool icon was clicked

After the initial tool failure, subsequent attempts to open the dashboard would take excessively long, the only remedy for which would be to remove the add-in out of the dashboard and remove it from the local folder on which it is stored.

Based on initial testing, we found these behaviors appeared to be associated with the presence of Esri-based dynamic layers, in particular, the world traffic service, and the presence of the severe weather web map as a separate map widget in the dashboard. We found that by removing both of these layers, we were able to make the recompiled Bomb Threat and ERG tool (provided by Jo Fraley on 7/11) work. The find nearest resource tool (which was not recompiled after the most recent ops dashboard update), would only work if the dashboard was not saved with the tool in it, and that after every use, the tool was deleted from the local file containing it.

Please feel free to contact me if you have any additional questions regarding troubleshooting these issues we observed with the add-ins.

Update this repo to build/test with Current and Next Version of Operations Dashboard+add prebuilt addins

Primarily these widgets will be tested:

  • ERG
  • Bomb Threat
  • Find Closest Resource

CMoore Note:
Just an Implementation Note when we update the repos we now want to update them to work/build with the current and next versions of the products:

  • Current Version (Currently 10.2.3 update 2?) – goes in master branch
  • Next Version (Currently 10.3?) – in “v.next” branch
  • Also - we've had some requests to include the pre-built addins in the application folder (so folks don't need to install VS20XX + Runtime SDK just to use/test) so please do that at the same time.

Bomb Threat tool config cog doesn't appear initially in Map tools list

I created a simple Dashboard with a web map, and no data sources turned on, then added the Bomb Threat tool.

The tool appears in the list, but no config cog next to it.

Once I used a dashboard with some other widgets loaded, and data sources turned on, I could see the settings cog next to the tool.

After this I always see the settings cog, even if I go back to a simple dashboard with no data sources.

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.