<?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: Common Tools between Custom Config's in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279942#M8407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create a commonwidgets directory and then change the widget xml and swf path to it. For example, I have an apps directory in which each of the FlexViewer apps sit. There is also a commonwidgets directory in the apps directory. Using the eSearch widget as an example, the code in the config file is: &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;widget label="Search for HUCs" left="80" top="80"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="../commonassets/images/m_search_right.png"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config="../commonwidgets/eSearch/eSearchWidget_HUCs.xml"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="../commonwidgets/eSearch/eSearchWidget.swf"/&amp;gt; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 13:36:18 GMT</pubDate>
    <dc:creator>MikeMartin</dc:creator>
    <dc:date>2021-12-11T13:36:18Z</dc:date>
    <item>
      <title>Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279941#M8406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, any ideas on how to have a set of common tools / Widget Group/s to be loaded from a single XML so that this can be shared between a number of custom Config.xml's ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a number of config.xmls for various divisions, and each time a new tool is added or tweaked, then have to manually change all the config files for the new tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would like to call a common tools section from each config file so to lower the maintenance aspect...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279941#M8406</guid>
      <dc:creator>WarwickAttree</dc:creator>
      <dc:date>2012-09-11T17:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279942#M8407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create a commonwidgets directory and then change the widget xml and swf path to it. For example, I have an apps directory in which each of the FlexViewer apps sit. There is also a commonwidgets directory in the apps directory. Using the eSearch widget as an example, the code in the config file is: &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;widget label="Search for HUCs" left="80" top="80"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="../commonassets/images/m_search_right.png"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config="../commonwidgets/eSearch/eSearchWidget_HUCs.xml"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="../commonwidgets/eSearch/eSearchWidget.swf"/&amp;gt; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279942#M8407</guid>
      <dc:creator>MikeMartin</dc:creator>
      <dc:date>2021-12-11T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279943#M8408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can create a commonwidgets directory and then change the widget xml and swf path to it. For example, I have an apps directory in which each of the FlexViewer apps sit. There is also a commonwidgets directory in the apps directory. Using the eSearch widget as an example, the code in the config file is: &lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;widget label="Search for HUCs" left="80" top="80"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="../commonassets/images/m_search_right.png"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config="../commonwidgets/eSearch/eSearchWidget_HUCs.xml"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="../commonwidgets/eSearch/eSearchWidget.swf"/&amp;gt; &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, but not quite, I need to pull in a Widget group to all the Custom configs, if there are 14 Configs, a bit of a pain to copy &amp;amp; paste the group to 14 different apps...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279943#M8408</guid>
      <dc:creator>WarwickAttree</dc:creator>
      <dc:date>2021-12-11T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279944#M8409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Warwick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The icon, config, and url are just expecting a url to the file location so instead of using a relative url just use a full url that points to a custom virtual directory on your web server that hosts all your common config files. Seems pretty simple and straight forward, or am I missing something...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 11:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279944#M8409</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-13T11:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279945#M8410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, yes at a widget level that is true...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said, I have 14 different config files for various sections requiring various assortments of layers to be loaded...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I need to update a Widget group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eg &amp;lt;widgetgroup label="Tools" icon="assets/images/GeoprocessingTool32.png"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;widget�?�..1�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;widget�?�..2�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;widget�?�..3�?� etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then need to copy this change to the 14 different config files�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for an Include type statement that can pull in a xml file of the widget group, on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This would then place the group in the config file and then I would only need to update the widget group in one place�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sense ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 12:03:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279945#M8410</guid>
      <dc:creator>WarwickAttree</dc:creator>
      <dc:date>2012-09-13T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279946#M8411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Warwick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; OK, that makes sense. There is no such capability though. What you are wanting would require some serious reworking of the ConfigManager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 12:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279946#M8411</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-13T12:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Common Tools between Custom Config's</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279947#M8412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have not done exactly this (yet), but it should be pretty simple to have a python script iterate through the list of 14 config files and find the block of text between &amp;lt;widgetcontainer layout="float"&amp;gt; tags and replace it with a the widgetcontainer block from your "template" config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, whenever you make changes, just run the script (or automate it) and the updates are made in one swoop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 16:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/common-tools-between-custom-config-s/m-p/279947#M8412</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-09-13T16:07:52Z</dc:date>
    </item>
  </channel>
</rss>

