<?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: How do I accept a mosaic service as a Parameter? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-accept-a-mosaic-service-as-a-parameter/m-p/1335109#M68840</link>
    <description>&lt;P&gt;Thanks!&amp;nbsp; So wait, you're saying I have to have users look for the service endpoint, paste it in, and then hardcode the layer name in the arcpy.Parameter() object?&amp;nbsp; They can't just select it as a pulldown when it's already loaded in a Pro map project?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 18:53:14 GMT</pubDate>
    <dc:creator>EricEagle</dc:creator>
    <dc:date>2023-10-04T18:53:14Z</dc:date>
    <item>
      <title>How do I accept a mosaic service as a Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-accept-a-mosaic-service-as-a-parameter/m-p/1335085#M68837</link>
      <description>&lt;P&gt;I have a custom geoprocessing tool that currently takes raster layers (DSMs and DTMs).&amp;nbsp; However, to scale it up and reduce the need for end-user research, I built large raster mosaics of the input data needed by users.&amp;nbsp; Then I published those as Map Services on ArcGIS Enterprise.&amp;nbsp; So far good to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, nothing I've tried will allow my tool to set those loaded service layers as inputs to my tool.&amp;nbsp; Just for clarity, in the picture below I need to pull in the content annotated by the red rectangles.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-04 at 2.21.35 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82309iAD48CDC33EC3E3B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-10-04 at 2.21.35 PM.png" alt="Screenshot 2023-10-04 at 2.21.35 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Parameter types, I've got: ['GPRasterLayer', 'GPRasterDataLayer', 'GPMapServerLayer', 'GPMosaicLayer']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but none of them will see the map service layer I'm trying to bring in.&amp;nbsp; How do I access this content as a parameter type?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 18:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-accept-a-mosaic-service-as-a-parameter/m-p/1335085#M68837</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2023-10-04T18:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I accept a mosaic service as a Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-accept-a-mosaic-service-as-a-parameter/m-p/1335109#M68840</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; So wait, you're saying I have to have users look for the service endpoint, paste it in, and then hardcode the layer name in the arcpy.Parameter() object?&amp;nbsp; They can't just select it as a pulldown when it's already loaded in a Pro map project?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 18:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-accept-a-mosaic-service-as-a-parameter/m-p/1335109#M68840</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2023-10-04T18:53:14Z</dc:date>
    </item>
  </channel>
</rss>

