<?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: Automating BA tasks in Business Questions</title>
    <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435893#M182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Darren! I must admit, however, that I'm not much of a programmer and model builder is the extent of my programming in ArcMap so far. Could you break this down a little more for me?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I understand that if I've already created target groups that there is a targetgroup.xml file that is created in C:\My Output Data\Projects\...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that in the bold text above that I can replace SegmentationClusters="'Top Tier';'Profesional Pride';Boomburbs" with the path to my .xml file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, would I just save this as a stand alone python script and run it alone in something like IDLE? Like I said, I have some knowledge, but this would really be my first time working hands on with a python script. Thanks for teaching me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 14:46:13 GMT</pubDate>
    <dc:creator>BrandonPowell1</dc:creator>
    <dc:date>2018-04-04T14:46:13Z</dc:date>
    <item>
      <title>Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435887#M176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have various tasks I perform at work involving the BA toolbar. I'm getting tired of the same old mouse clicks over and over and I'm wondering if there is a way to script some of these tasks? The first thing I do each time I receive data is 1. geocode the data using the BA zip4 locator 2. Use BA to create a customer layer and a store layer (branch setup and customer setup) 3. Use customer setup to assign customers to closest location. Using these steps as a starter for this thread; how can I automate some of these tasks? Should I use model builder? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 20:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435887#M176</guid>
      <dc:creator>BrandonPowell1</dc:creator>
      <dc:date>2018-03-23T20:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435888#M177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using model builder is the recommended way of automating the tasks you described above. I am adding&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/74880"&gt;Darren Cook&lt;/A&gt;&amp;nbsp;from the Business Analyst Desktop team to help if you have further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 00:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435888#M177</guid>
      <dc:creator>PraveenSrivastava</dc:creator>
      <dc:date>2018-04-03T00:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435889#M178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Praveen. I've begun work on this and have been successful so far. I'm a little further in the weeds now looking to automate the creation of Target Penetration Maps, but the "Segmentation Penetration Map" Tool seems to be missing the ability for me to add my own target groups. I could use some help with that now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435889#M178</guid>
      <dc:creator>BrandonPowell1</dc:creator>
      <dc:date>2018-04-03T14:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435890#M179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;Great to hear that you are diving into Model Builder! You may have already picked up on this but if not, the Iterator toolset would be applicable to your needs.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;The Iterator toolset&amp;nbsp;contains twelve iterators that help repeat a process or set of processes on a set of inputs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/modelbuilder-toolbox/an-overview-of-the-iterator-toolset.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/modelbuilder-toolbox/an-overview-of-the-iterator-toolset.htm"&gt;An overview of the Iterator toolset—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435890#M179</guid>
      <dc:creator>DarrenCook1</dc:creator>
      <dc:date>2018-04-03T14:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435891#M180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I've used the Iterate Field Values tool already in one of my models. I'm now looking to automate the creation of Target Penetration Maps, but the "Segmentation Penetration Map" Tool seems to be missing the ability for me to add my own target groups. I could use some help with that now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, in the Target Penetration Map Wizard, you can select a target group and it will map your core and Developmental segments. The toolbox won't let me choose a target group that already exists. Do you have any thoughts on that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435891#M180</guid>
      <dc:creator>BrandonPowell1</dc:creator>
      <dc:date>2018-04-03T14:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435892#M181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;As you have noted, the 'Target Groups' parameter does not exist within the 'Segmentation Penetration Map' gp tool.&lt;/P&gt;&lt;P&gt;However, I have discussed this scenario with one of our developers and he suggested an alternative approach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could&amp;nbsp;create a Python tool that will accept the 'Target Group' XML file and 'Target Name' inside the 'Target Group.'&lt;/P&gt;&lt;P&gt;In Python code, open the Target Group XML file, find the required target, read the segments inside that target and pass them to&amp;nbsp; 'Segmentation Penetration Map.':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;STRONG&gt;arcpy.TargetMap_ba(SegmentationBase="Total Households", SegmentaionClusters="&lt;SPAN style="background: yellow;"&gt;'Top Tier';'Professional Pride';Boomburbs&lt;/SPAN&gt;", SegmentationLayer="US.ZIP5", SegmentationAnalysisResultFolder="C:/My Output Data/Projects/Default Project/Segmentation/Segmentation Analyses/Target Map", CreateReport="CREATE_REPORT", CreateFeatureClass="CREATE_OUT_FEATURECLASS")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\My Output Data\Projects\Default Project\Segmentation\Target groups\Target Group\TargetGroup.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;lt;TargetGroupData xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" SegmentationSystem="Tapestry 2014"&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;nbsp; &amp;lt;Target name="MaxTarget1"&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Cluster code="1A" name&lt;SPAN style="background: yellow;"&gt;="Top Tier"&lt;/SPAN&gt; /&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Cluster code="1B" name=&lt;SPAN style="background: yellow;"&gt;"Professional Pride"&lt;/SPAN&gt; /&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Cluster code="1C" name=&lt;SPAN style="background: yellow;"&gt;"Boomburbs"&lt;/SPAN&gt; /&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;nbsp; &amp;lt;/Target&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&amp;lt;/TargetGroupData&amp;gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;We hope this is helpful and will keep an eye out for follow up questions.&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;Thank you,&lt;BR /&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435892#M181</guid>
      <dc:creator>DarrenCook1</dc:creator>
      <dc:date>2018-04-03T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automating BA tasks</title>
      <link>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435893#M182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Darren! I must admit, however, that I'm not much of a programmer and model builder is the extent of my programming in ArcMap so far. Could you break this down a little more for me?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I understand that if I've already created target groups that there is a targetgroup.xml file that is created in C:\My Output Data\Projects\...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that in the bold text above that I can replace SegmentationClusters="'Top Tier';'Profesional Pride';Boomburbs" with the path to my .xml file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, would I just save this as a stand alone python script and run it alone in something like IDLE? Like I said, I have some knowledge, but this would really be my first time working hands on with a python script. Thanks for teaching me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/automating-ba-tasks/m-p/435893#M182</guid>
      <dc:creator>BrandonPowell1</dc:creator>
      <dc:date>2018-04-04T14:46:13Z</dc:date>
    </item>
  </channel>
</rss>

