<?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: Custom Edit Widget Pop-up in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221111#M5217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Version 3.1 of the Flex API and Flex Viewer (being released this month) will have support for viewing and editing related records.&amp;nbsp; You might want to wait for that...&amp;nbsp; Even if you want to customize it further for your specific requirements, this will be a much better starting point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2012 03:01:04 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2012-12-10T03:01:04Z</dc:date>
    <item>
      <title>Custom Edit Widget Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221110#M5216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a custom edit widget for Flex.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The widget will have the same functionality as the edit widget but it will also be able to create and edit features in a related &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example if you create a feature the editing pop-up will appear to allow you to enter the data for the feature based on the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fields for that feature type as it usually does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The custom part is where the user can click an ???Add Related Feature??? button at the bottom of the pop-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should then append to the current list of editable fields in the pop-up, or otherwise display, the fields for a feature in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;related feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the relationship is one ??? many, so the user will want to click the ???Add Related Feature??? button multiple times, each time &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;adding all fields to the pop-up then enter their data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the user clicks the submit button both feature classes should be updated with the new data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an example of editing a related feature so that part is ok, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the main question is does anybody know the best way to get the fields from the related feature class and display them in the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;same manner as the normal edit widget pop-up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can???t see which file is doing the parsing and control creation for the current pop-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way I can think of to do it, is to query the layer for its fields and programmatically create the controls for each field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 13:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221110#M5216</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2012-11-30T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Edit Widget Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221111#M5217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Version 3.1 of the Flex API and Flex Viewer (being released this month) will have support for viewing and editing related records.&amp;nbsp; You might want to wait for that...&amp;nbsp; Even if you want to customize it further for your specific requirements, this will be a much better starting point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 03:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221111#M5217</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2012-12-10T03:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Edit Widget Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221112#M5218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info Bjorn, I have already created a solution for my problem but I will also look into flex 3.1 also.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 06:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/custom-edit-widget-pop-up/m-p/221112#M5218</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2012-12-10T06:44:54Z</dc:date>
    </item>
  </channel>
</rss>

