/solutions-widgets-wpf

Solutions Widgets for use in the ArcGIS WPF Operations Dashboard.

Primary LanguageC#Apache License 2.0Apache-2.0

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)