<?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: Save graphics direct to database and refresh display following db update in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407133#M9502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of flex are you using, if its the latest why not implement the editing widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Edit_widget/01m30000003v000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Edit_widget/01m30000003v000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To refresh your layer you can set the autorefresh attribute in the layer tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.s. if you are using a 9.3.1 server you could try to implement this widget, but it will need updating&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=798746aaabcc4e8f872a321257d8cfd4"&gt;http://www.arcgis.com/home/item.html?id=798746aaabcc4e8f872a321257d8cfd4&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 18:53:02 GMT</pubDate>
    <dc:creator>AnthonyGiles</dc:creator>
    <dc:date>2013-06-10T18:53:02Z</dc:date>
    <item>
      <title>Save graphics direct to database and refresh display following db update</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407132#M9501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a double headed issue I need to solve. First I need to allow my users to save their generated polygons back to the database as shapefiles. These polygons are multi-part/multi-ring but if I can only save the outer shape that would probably do as a first pass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly I need to have a display screen which displays my viewer in a "HQ" and refreshes every 20 seconds, picking up any changes users have made to the database by adding new polygon features or changing their status /symbolisation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know I can save polygons as text files, but has anyone successfully saved direct to the database from flexviewer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As ever, hope someone can help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 18:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407132#M9501</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2013-06-10T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Save graphics direct to database and refresh display following db update</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407133#M9502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of flex are you using, if its the latest why not implement the editing widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Edit_widget/01m30000003v000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Edit_widget/01m30000003v000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To refresh your layer you can set the autorefresh attribute in the layer tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.s. if you are using a 9.3.1 server you could try to implement this widget, but it will need updating&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=798746aaabcc4e8f872a321257d8cfd4"&gt;http://www.arcgis.com/home/item.html?id=798746aaabcc4e8f872a321257d8cfd4&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 18:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407133#M9502</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-06-10T18:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Save graphics direct to database and refresh display following db update</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407134#M9503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using a Geodatabase?&amp;nbsp; If so, as Anthony suggests, I would think making live edits would be your cleanest solution&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not then just enumerate the relevant graphics in your graphics layer(s) and encode them as JSON which you can store in your custom database as a simple string. To display on a map simply read back the string data from the database and decode back into an Object which you then use to re-render your graphics.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 07:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407134#M9503</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2013-06-11T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Save graphics direct to database and refresh display following db update</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407135#M9504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using version 2.4 but have just started upgrading to 3.3 to investigate the editing widget. Was looking to write these to a centrally held SQL server sde database. I will check out the newest functionality and see how I get on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 19:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407135#M9504</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2013-06-13T19:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Save graphics direct to database and refresh display following db update</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407136#M9505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I finally got my application converted to 3.3 and I checked out the edit widget but it looks like it only handles feature layers. I have complex polygons that have been created mn the fly and are displayed in a graphics layer. Is there an easy way to convert graphics in a graphics layer to features so that I can then write these features to an arcgis 10.1 sql server geodatabase?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 18:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/save-graphics-direct-to-database-and-refresh/m-p/407136#M9505</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2013-06-19T18:07:30Z</dc:date>
    </item>
  </channel>
</rss>

