Including OBJECTID in Field Definition

1701
1
Jump to solution
10-01-2015 01:03 PM
Highlighted
Occasional Contributor

Sorry if this has already been asked, is it possible to get the ObjectID from an Input FeatureService and include it in the Field Definition?

Feature Service Fields:

  • OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false )
  • OCEAN ( type: esriFieldTypeString , alias: OCEAN , editable: true , nullable: false , length: 2 )
  • YEAR ( type: esriFieldTypeSmallInteger , alias: YEAR , editable: true , nullable: false )

Values:

OBJECTID: 13047

OCEAN: AL

YEAR: 2015

Generated Field Definition:

NameTypeCardinalityTags
OCEANString

1

YEARShort

1

Updated Field Definition (added OBJECTID):

NameTypeCardinalityTags
OJBECTIDString

1

TRACK_ID

OCEANString

1

YEARShort

1

TCP Text Output (after adding OBJECTID):

GEP.png

I would like the output to look like this:  GeoEventDefinition,13047,AL,2015

One example I saw made it seem possible, Define input - Main Break Notification | ArcGIS for Utilities

K-

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Occasional Contributor

I misspelled 'OBJECTID' in the field definition and I now see that it's working- Thank you arcgis teamutilities for pointing this out!

View solution in original post

Reply
0 Kudos
1 Reply
Highlighted
Occasional Contributor

I misspelled 'OBJECTID' in the field definition and I now see that it's working- Thank you arcgis teamutilities for pointing this out!

View solution in original post

Reply
0 Kudos