Select to view content in your preferred language

Field Name Alias using the Attachment Relate Info Window Widget 2.2.2

1026
10
04-22-2011 11:28 AM
HERSHSINGH
Deactivated User
I have set the alias names in the .mxd of the service but still am having difficulty getting the alias names to show up (instead of the actual field names) in the pop up window.  I do not see any alias tags in the individual config files (IWT_Trees, IWT_Fires, etc.)  Any suggestions?  Thanks!
Tags (2)
0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus
HERSH,

   Did you clear your REST Cache after you updated your field aliases?
0 Kudos
HERSHSINGH
Deactivated User
Yes I did.  I also restarted the service.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
HERSH,

Have you checked the REST Service directory to see if the aliases are showing there?

Example;

Fields:

    OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
    TMP_NO (Type: esriFieldTypeString, Alias: Temp Number, Length: 23 )
0 Kudos
HERSHSINGH
Deactivated User
I just did and everything looks fine:

Fields:

    * OBJECTID_1 ( Type: esriFieldTypeOID, Alias: OBJECTID_1 )
    * OBJECTID ( Type: esriFieldTypeInteger, Alias: OBJECTID )
    * MUNI_NAME ( Type: esriFieldTypeString, Alias: Municipality , Length: 50 )
    * TOD_PLAN ( Type: esriFieldTypeSmallInteger, Alias: TOD Status )
    * UNIQUE_ID ( Type: esriFieldTypeInteger, Alias: UNIQUE_ID )
    * SHAPE ( Type: esriFieldTypeGeometry, Alias: SHAPE )
    * LINK ( Type: esriFieldTypeString, Alias: LINK , Length: 150 )
    * RTA_FUND ( Type: esriFieldTypeString, Alias: RTA Funding , Length: 20 )
    * LOCAL_FUND ( Type: esriFieldTypeString, Alias: Local Funding , Length: 20 )
    * FED_FUND ( Type: esriFieldTypeString, Alias: Federal Funding , Length: 20 )
0 Kudos
HERSHSINGH
Deactivated User
whats also weird is that when I choose to view in ArcGIS.com Map the aliases show up...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Hersh,

   So based on that then you should have no problem showing aliases then.  Did you read the documentation about the importance of having the
<layername>Kansas Wells</layername>
element in the XML file?
0 Kudos
HERSHSINGH
Deactivated User
I read that the layername has to match the same one that is set in the FlexViewer config .xml.  However, I do not see a <layername>""</layername> in my IWT_Fires.xml.
0 Kudos
HERSHSINGH
Deactivated User
I just added it to the xml and it works fine.  Thanks again Robert!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
HERSH,

   That is because IWT_Fires.xml is not one of mine it is one of the original esri ones.
0 Kudos