<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359062#M8480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just added it to the xml and it works fine.&amp;nbsp; Thanks again Robert!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2011 19:31:54 GMT</pubDate>
    <dc:creator>HERSHSINGH</dc:creator>
    <dc:date>2011-04-22T19:31:54Z</dc:date>
    <item>
      <title>Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359054#M8472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&amp;nbsp; I do not see any alias tags in the individual config files (IWT_Trees, IWT_Fires, etc.)&amp;nbsp; Any suggestions?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359054#M8472</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T18:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359055#M8473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HERSH,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Did you clear your REST Cache after you updated your field aliases?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359055#M8473</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-22T18:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359056#M8474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I did.&amp;nbsp; I also restarted the service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359056#M8474</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359057#M8475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HERSH,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Have you checked the REST Service directory to see if the aliases are showing there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Fields:

&amp;nbsp;&amp;nbsp;&amp;nbsp; OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
&amp;nbsp;&amp;nbsp;&amp;nbsp; TMP_NO (Type: esriFieldTypeString, Alias: Temp Number, Length: 23 )&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359057#M8475</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T16:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359058#M8476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just did and everything looks fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fields:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * OBJECTID_1 ( Type: esriFieldTypeOID, Alias: OBJECTID_1 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * OBJECTID ( Type: esriFieldTypeInteger, Alias: OBJECTID )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * MUNI_NAME ( Type: esriFieldTypeString, Alias: Municipality , Length: 50 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * TOD_PLAN ( Type: esriFieldTypeSmallInteger, Alias: TOD Status )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * UNIQUE_ID ( Type: esriFieldTypeInteger, Alias: UNIQUE_ID )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * SHAPE ( Type: esriFieldTypeGeometry, Alias: SHAPE )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * LINK ( Type: esriFieldTypeString, Alias: LINK , Length: 150 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * RTA_FUND ( Type: esriFieldTypeString, Alias: RTA Funding , Length: 20 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * LOCAL_FUND ( Type: esriFieldTypeString, Alias: Local Funding , Length: 20 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * FED_FUND ( Type: esriFieldTypeString, Alias: Federal Funding , Length: 20 )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359058#M8476</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359059#M8477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;whats also weird is that when I choose to view in ArcGIS.com Map the aliases show up...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359059#M8477</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359060#M8478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hersh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So based on that then you should have no problem showing aliases then.&amp;nbsp; Did you read the documentation about the importance of having the &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;layername&amp;gt;Kansas Wells&amp;lt;/layername&amp;gt;&lt;/PRE&gt;&lt;SPAN&gt; element in the XML file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359060#M8478</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-22T18:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359061#M8479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I read that the layername has to match the same one that is set in the FlexViewer config .xml.&amp;nbsp; However, I do not see a &amp;lt;layername&amp;gt;""&amp;lt;/layername&amp;gt; in my IWT_Fires.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 19:29:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359061#M8479</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T19:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359062#M8480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just added it to the xml and it works fine.&amp;nbsp; Thanks again Robert!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 19:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359062#M8480</guid>
      <dc:creator>HERSHSINGH</dc:creator>
      <dc:date>2011-04-22T19:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Name Alias using the Attachment Relate Info Window Widget 2.2.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359063#M8481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HERSH,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That is because IWT_Fires.xml is not one of mine it is one of the original esri ones.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 19:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359063#M8481</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-22T19:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: setting Field Name through config file</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359064#M8482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have code below to pull field value from a feature selction onto a word document template. Instead of hard coding the field names, I would like to go through config file. How can this be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Public Overrides Sub OnMouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Integer, ByVal Y As Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pMxdoc As IMxDocument&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pActiveView As IActiveView&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pEnumLayer As IEnumLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pLayer As ILayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pFlayer As IFeatureLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pFeatureSelection As IFeatureSelection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pSelectionSet As ISelectionSet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pEnumFeat As IEnumFeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pEnumFeatSet As IEnumFeatureSetup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pFeat As IFeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim A As Double&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim B As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim B1 As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pFeatSel As IFeatureSelection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pMap As IMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pfeatureclass As IFeatureClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim fields As IFields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim C As Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim ii As Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim Field As IField&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim intFldIndex As Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim fieldname As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim fieldvalue As Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim value As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim namelist As String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim wdApp As Microsoft.Office.Interop.Word.Application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim mydoc As Microsoft.Office.Interop.Word.Document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim mywdRange As Microsoft.Office.Interop.Word.Range&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pMxdoc = m_application.Document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pActiveView = pMxdoc.FocusMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pMap = pMxdoc.FocusMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFlayer = pMxdoc.SelectedLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pfeatureclass = pFlayer.FeatureClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fields = pfeatureclass.Fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFeatureSelection = pFlayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pSelectionSet = pFeatureSelection.SelectionSet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' Verify that there is at least 1 layer in the TOC &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If pMap.LayerCount &amp;lt; 1 Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MsgBox("Must have at least 1 layer in your map.")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exit Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' verify the name of the selected layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim count As Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count = pSelectionSet.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If pSelectionSet.Count &amp;lt;&amp;gt; 0 Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MsgBox("You have have selected: " &amp;amp; pFlayer.Name)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' get the field count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C = fields.FieldCount&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MsgBox("There are: " &amp;amp; C &amp;amp; "fields in this layer")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pEnumFeat = pMxdoc.FocusMap.FeatureSelection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'pFeat = pEnumFeat.Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pEnumFeatSet = pEnumFeat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pEnumFeatSet.AllFields = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pFeat = pEnumFeat.Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' loop through each field and add the field name to a list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For ii = 0 To fields.FieldCount - 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field = fields.Field(ii)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fieldname = Field.Name ' this gives the field name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;value = pFeat.Value(ii).ToString ' this gives the field value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;namelist = namelist &amp;amp; fieldname &amp;amp; value &amp;amp; Chr(13)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' diaplay the list of field names in a messagebox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MsgBox(namelist, , "field names and value")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' loop through to get value of FID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do While (Not pFeat Is Nothing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A = pFeat.Value(pFeat.Fields.FindField("UFO_ID")) // @@@@ want to get this through config file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B = pFeat.Value(pFeat.Fields.FindField("DATECREATE"))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pFeat = pEnumFeat.Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'MsgBox(A)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;' opening word doc with the field values inside the word bookmarks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;wdApp = New Microsoft.Office.Interop.Word.Application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With wdApp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.Visible = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.WindowState = WdWindowState.wdWindowStateMaximize&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End With&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mydoc = wdApp.Documents.Add(Template:="C:\Documents and Settings\ZQ3079\Mobile project\ExportWord(VB)\Audit Form Final.doc")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With mydoc.Bookmarks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.Item("A").Range.InsertAfter(A) ' "A" is bookmark name in word document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.Item("C").Range.InsertAfter(B) ' "C" is bookmark name in word document&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;End With&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 02:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/field-name-alias-using-the-attachment-relate-info/m-p/359064#M8482</guid>
      <dc:creator>pavankalvala</dc:creator>
      <dc:date>2011-06-10T02:05:09Z</dc:date>
    </item>
  </channel>
</rss>

