User_fld no longer available for services from locators created after ArcGIS 10 SP1

394
5
02-13-2012 11:46 AM
NianweiLiu
Occasional Contributor II
Hi,
  user_fld is a new feature introduced in ArcGIS 10. It's quite useful to put additional fields such as a parcel ID in that field to avoid extra query round trip for single house style locator. It's working very well in ArcGIS 10.
  However, after SP1 (then SP2 & 3), it seems that functionality is having trouble. For locators created with ArcGIS 10 but published to SP1-3 (basically after applying for service packs to ArcGIS server), it is still available. The problem is for new locators created with ArcGIS 10 Sp1 and later. Although the create tool still asks for that field, the resulting locator no longer advertise that field in "candidate fields", even after the "writeAdditionalOutputFields" in the .loc.xml is changed to "true" manually. 
  Anyone else is having the same problem?
Tags (2)
0 Kudos
5 Replies
BradNiemand
Esri Regular Contributor
What locator style are you using?

Brad
0 Kudos
NianweiLiu
Occasional Contributor II
What locator style are you using?

Brad

Any style. Tech support has confirmed as a bug (NIM075939) and the workaround is custom the locator template's xml.
0 Kudos
TamiOnstad
New Contributor III
Is there another NIM code for this particular problem?  The NIM075939 you referenced seems to refer to a problem with the locator not abbreviating some attributes as it should. 

I have the same issue with needing the return value of a custom field in my gc results... I have edited my loc.xml to manually set WriteAdditionalOutputFields to true, but as posted above this does not solve the problem.  I still can't get the user_fld to return with the geocoding results.

Can you tell me what workaround you used to get this to work? 

Thanks!

TamiO
0 Kudos
BradNiemand
Esri Regular Contributor
This should work in 10.0 SP4.  You will need to set the WriteAdditionalOutputFields to "True" though in order to see them though.

Brad
0 Kudos
FredSpataro
Occasional Contributor III
This should work in 10.0 SP4.  You will need to set the WriteAdditionalOutputFields to "True" though in order to see them though.

Brad


Where do we set "WriteAdditionalOutputFields"?

Has anyone gotten this to work?  I'm rebuild some of my locators and I can't get the user_fld to show up anymore.  10. SP4  It's odd that any of the locators I built with an older version show the user_fld. 

Here's a recently submitted bug? http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDgzODQw

A
nd a potential workaround --- but doesn't seem to work on SP4:
http://support.esri.com/en/knowledgebase/techarticles/detail/39887
0 Kudos