<?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 ConvertWebMapToMapDocument and secured services in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354113#M27835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the ConvertWebMapToMapDocument arcpy tool to print some services.&lt;/P&gt;&lt;P&gt;It works fine for public services, however it fails when I try with secured services (I am using web thier authentication).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the extra_conversation_options property along with one of my connection file (.ags), but it keeps prompting me to type my password/username.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2019 13:09:39 GMT</pubDate>
    <dc:creator>MatthieuThery1</dc:creator>
    <dc:date>2019-10-28T13:09:39Z</dc:date>
    <item>
      <title>ConvertWebMapToMapDocument and secured services</title>
      <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354113#M27835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the ConvertWebMapToMapDocument arcpy tool to print some services.&lt;/P&gt;&lt;P&gt;It works fine for public services, however it fails when I try with secured services (I am using web thier authentication).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the extra_conversation_options property along with one of my connection file (.ags), but it keeps prompting me to type my password/username.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 13:09:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354113#M27835</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2019-10-28T13:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument and secured services</title>
      <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354114#M27836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We went down this path&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/10.4/create-web-apps/windows/printing-maps-that-contain-secured-services.htm" title="https://enterprise.arcgis.com/en/server/10.4/create-web-apps/windows/printing-maps-that-contain-secured-services.htm"&gt;Printing maps that contain secured services—Documentation (10.3 and 10.3.1) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I recall, we required the application to generate the token and simply append it to any secured service references for the&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 500; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;ConvertWebMapToMapDocument&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 18:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354114#M27836</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2019-10-28T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument and secured services</title>
      <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354115#M27837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately we are using web authentication and not tokens to secure our services so that won't work for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the second method in your link does work, as I am able to embed a connection file to the default toolbox and therefore print secured services. The issue with that is that we aren't able to do anything else with the templates apart from&amp;nbsp;printing the services. We'd like to add dynamic text boxes, move elements etc, which is something we are only able to do in python, while constructing our own script and therefore using ConvertWebMapToMapDocument...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 10:04:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-and-secured-services/m-p/354115#M27837</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2019-10-29T10:04:48Z</dc:date>
    </item>
  </channel>
</rss>

