All Projects → Esri → collector-integration

Esri / collector-integration

Licence: Apache-2.0 license
Multi Language repository that contains documentation and sample code for creating custom URL schemes in Collector for ArcGIS.

Programming Languages

python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language
swift
15916 projects
C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to collector-integration

Developer Support
Proof of concept developer code and samples to help be successful with all ArcGIS developer products (Python, NET, JavaScript, Android…). The repository is designed to be an exchange for sharing coding conventions and wisdom to developers at all skill levels.
Stars: ✭ 235 (+1205.56%)
Mutual labels:  native-development
prometheus-ecto
Prometheus.io collector for Elixir.Ecto
Stars: ✭ 74 (+311.11%)
Mutual labels:  collector
dsc
DNS Statistics Collector
Stars: ✭ 94 (+422.22%)
Mutual labels:  collector
araneid
一个基于Glang语言开发的站群系统(蜘蛛池系统)
Stars: ✭ 25 (+38.89%)
Mutual labels:  collector
Mtail
extract internal monitoring data from application logs for collection in a timeseries database
Stars: ✭ 3,028 (+16722.22%)
Mutual labels:  collector
jetty-load-generator
jetty-project.github.io/jetty-load-generator/
Stars: ✭ 62 (+244.44%)
Mutual labels:  collector
Arcgis Pro Sdk
ArcGIS Pro SDK for Microsoft .NET is the new .NET SDK for the ArcGIS Pro Application.
Stars: ✭ 156 (+766.67%)
Mutual labels:  native-development
vehicle-commander-java
The Vehicle Commander template demonstrates best practices for building in-vehicle military applications with ArcGIS Runtime. The Vehicle Commander template contains source code for an in-vehicle application.
Stars: ✭ 16 (-11.11%)
Mutual labels:  native-development
opsbro
Ops Best friend
Stars: ✭ 37 (+105.56%)
Mutual labels:  collector
do
Simplest way to manage asynchronicity
Stars: ✭ 33 (+83.33%)
Mutual labels:  collector
altprobe
collector for XDR and security posture service
Stars: ✭ 62 (+244.44%)
Mutual labels:  collector
goflow2
High performance sFlow/IPFIX/NetFlow Collector
Stars: ✭ 125 (+594.44%)
Mutual labels:  collector
prebuild-ci
Use CI to auto upload prebuilds
Stars: ✭ 17 (-5.56%)
Mutual labels:  native-development
orbiter
Orbiter is a tool for collecting and redistributing webhooks over the network.
Stars: ✭ 20 (+11.11%)
Mutual labels:  collector
prometheus-phoenix
Prometheus.io Phoenix instrumenter
Stars: ✭ 66 (+266.67%)
Mutual labels:  collector
Arcgis Cookbook
Chef cookbooks for ArcGIS
Stars: ✭ 227 (+1161.11%)
Mutual labels:  native-development
mediadc
Nextcloud Media Duplicate Collector application
Stars: ✭ 57 (+216.67%)
Mutual labels:  collector
androidNativeBundle
a gradle plugin that support publish c/c++ headers to 'aar' and depend those 'aar'
Stars: ✭ 60 (+233.33%)
Mutual labels:  native-development
prometheus-plugs
Prometheus.erl Elixir Plugs
Stars: ✭ 52 (+188.89%)
Mutual labels:  collector
dns-collector
Aggregator, analyzer, transporter and logging for your DNS logs
Stars: ✭ 58 (+222.22%)
Mutual labels:  collector

This repository is no longer maintained.

For details on app link capabilities in our latest releases of ArcGIS Collector on Android or iOS, see our latest app documentation or our ArcGIS API for Python documentation.


Collector custom URL scheme

This is a multi-language repository that contains documentation and sample code for creating custom URL schemes in Collector for ArcGIS.

Supported apps

  • Collector Classic (Android, iOS) - retiring 12/31/20
  • ArcGIS Collector (Windows 10)

What's included

Get started

Read the following documentation and clone down the appropriate language into your development environment.

Documentation

Collector URL scheme overview

A URL scheme allows you to launch a native app from another app, website, or email. You can set options in the URL that will be passed to the app you want to open, causing it to perform specific functions, such as opening a web map and centering the map on a given location. This capability is available on all platforms.

Support for featureSourceURL and featureAttributes parameters is available in Collector 17.0.3 or later (iOS and Android only).

Basic Collector URL scheme structure

All Collector URL schemes start with the identifier arcgis-collector and can contain additional parameters that follow the form:

arcgis-collector://?parameter=value&parameter=value

The remainder of this topic describes the various parameters Collector currently supports.

Open a web map

This is one of the simplest schemes that can be used. The following example URL scheme demonstrates how to open a specific map within Collector.

itemID: The web map to open in Collector.

The following example URL defines opening a web map:

arcgis-collector://?itemID=35b1ccecf226485ea7d593f100996b49 

Center at a given location

The location on which to center the map.

center: (optional) Specified as a set of latitude, longitude (y,x) coordinates. Coordinates must be in WGS84.

The following example URL defines a map to open and a location to center the map:

arcgis-collector://?itemID=35b1ccecf226485ea7d593f100996b49&center=34.0547155,-117.1961714

Initiate a new feature collection

Starts a feature collection for a specific layer in the map.

featureSourceURL: (optional) The URL to the layer or table in which to collect a feature.

This will start the collect activity and filter the list of available feature templates to those associated with the featureSourceURL. If center is passed this will be used as the geometry for a point feature, or the first vertex in a line or polygon feature. Collection of new related tables is not supported.

The following example URL initiates a feature collection for a layer, and the center is used to define the new feature's geometry:

arcgis-collector://?itemID=5d417865c4c947d19a26a13c7d320323&center=43.524080, 5.445545&featureSourceURL=http://sampleserver5a.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/0

Initiate a new feature collection and specify attributes

Include a set of attribute field values to populate to the new feature collection.

featureAttributes: (optional) A JSON dictionary of attributes to apply to the new feature collection.

AfeatureSourceURL must be passed.

All attribute values specified will overwrite any existing values present. If a field is not present, or the type is incorrect, the attribute value will be ignored.

Date fields should be represented as a numeric value (ms since epoch time). Fields with an associated coded domain value should use the domain code. Do not use the domain description.

Feature attributes should be URL encoded prior to being passed to Collector.

The following example URL specifies a layer to start a collection activity, uses the center parameter for the geometry, and includes values to populate two fields:

arcgis-collector://?itemID=5d417865c4c947d19a26a13c7d320323&center=43.524080, 5.445545&featureSourceURL=http://sampleserver5a.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/0&featureAttributes={”quality”:2,“observed”:1502917218285}

Feature attributes should be URL encoded prior to being passed to Collector.

The following URL is identical to the previous example, only this has been URL encoded:

arcgis-collector://?itemID=5d417865c4c947d19a26a13c7d320323&center=43.524080, 5.445545&featureSourceURL=http://sampleserver5a.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/0&featureAttributes=%7B%22quality%22:2,%22observed%22:1502917218285%7D

Errors

If an error is encountered when processing a URL scheme with an itemID, the user will receive an alert. Errors encountered in processing center, featureSourceURL, and featureAttributes parameters will not be presented to the user.

Sample code

Resources

Issues

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

Contributing

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

Licensing

Copyright 2016 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.

[](Esri Tags: iOS Windows Collector URL-Scheme C-Sharp) [](Esri Language: Swift)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].