Does using the tracklog template for Collector require a hosted feature service?

3114
13
06-23-2015 02:56 PM
KarenFolger
Occasional Contributor II

I tried just publishing a regular feature service but it's not being recognized as a tracking service in the map. If it must be a hosted feature service rather than just a feature service published directly to ArcGIS Server (it's not clear in the documentation) then it would be nice to know.

I'm using this reference which is the latest I can find.

http://www.arcgis.com/home/item.html?id=051146f34aec4ef8ac228b5e6b2b8eac

0 Kudos
13 Replies
XanderBakker
Esri Esteemed Contributor

In this link below they refer to using Portal as alternative: Track where collectors went—Collector for ArcGIS | ArcGIS .

0 Kudos
KarenFolger
Occasional Contributor II

Sorry - I guess I wasn't clear - I published the service to ArcGIS Server. I use the service in Portal. I didn't create the service in Portal. The instructions just say publish a feature service to your ArcGIS Server. I'm using 10.3.1 ArcMap and a 10.3.1 geodb but our server is 10.3 and the Portal is 10.3.1.

0 Kudos
XanderBakker
Esri Esteemed Contributor

I just downloaded a fgdb with the tracking locations of a hosted feature service in ArcGIS Online. Does your featureclass have the same schema as this?

  • OBJECTID OID 4
  • SHAPE Geometry 0
  • Accuracy Double 8
  • CreationDate Date 8
  • Creator String 50
  • EditDate Date 8
  • Editor String 50
  • GlobalID SmallInteger 38

Is it called "Location_Tracking"? These things may be checked to see if a web map can be enabled for tracking.

0 Kudos
KarenFolger
Occasional Contributor II

It's more or less the same - the creator and editor strings are 200 (that

came from the template). The feature class is named LocationTracking (no

underscore) - does is have to have the same name?

0 Kudos
XanderBakker
Esri Esteemed Contributor

To be honest I'm not sure, but it might be worth the try.

Is there any special reason why you don't want to create the layer through your Portal?

0 Kudos
KarenFolger
Occasional Contributor II

Not really - it just seems easier for me to publish to our existing SDE

than via Portal. Actually it's probably harder but I'm used to this and

then I can manage the data locally. However I may have made a false

assumption that I can get at the data via sync and offline use. Seems like

that's not how this works.

I did change the name of the feature class but it didn't make any

difference. There is nothing in the map this was added to that indicates a

setting for tracking.

0 Kudos
KarenFolger
Occasional Contributor II

I published as a hosted feature service in Portal and I still don't see any configuration options in the map. I must be missing something here. I followed the instructions to the letter - but they are missing a few letters let's just say.

0 Kudos
XanderBakker
Esri Esteemed Contributor

That is strange, but wait... When you follow the instructions from the help:

Track where collectors went—Collector for ArcGIS | ArcGIS

... you will create the hosted feature service from an existing template. That is the current way to do it. Not publishing the fc as hosted feature service. Especially look at the instructions in the section:

  • Publish the tracking layer using ArcGIS Online

The Portal option links to the url you provided. If I look at the comments, it seems that you're not the only one that is facing this problem.

0 Kudos
KarenFolger
Occasional Contributor II

I guess the instructions on the Location Tracking Template are different -

it doesn't mention hosted feature service and specifically says in step 4

"Publish a feature service to your ArcGIS Server". So I followed this

first. It's unfortunate that this old documentation overlaps the other

documentation and that the two are conflicting. I will try directly

publishing a hosted feature service to portal.

0 Kudos