<?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: Printing Limited Usage Layers With Our Own Print Service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418542#M20972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got a feedback via a support call to ESRI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This bug that was originally described as being resolved has become apparent again and has been logged as a new bug #BUG-000096914&amp;nbsp;&amp;nbsp; [Enhancement] Printing an external secure service with a limit usage on referrer URLs fails in the ArcGIS Online map viewer or application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is currently been worked on by the development team in Esri and I will update you as soon as we have a resolution. There was a hotfix deployed recently for users who had 10.3.1 but the fix malfunctioned and was not successful."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 11:35:36 GMT</pubDate>
    <dc:creator>GertConradie</dc:creator>
    <dc:date>2016-08-11T11:35:36Z</dc:date>
    <item>
      <title>Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418534#M20964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using AGO and web app builder developer 1.3 edition to create what will be an internal application.&amp;nbsp; I am using the "Limited Usage" for each layer as the services are secured, but the application is going behind our firewall.&amp;nbsp; I still need to print.&amp;nbsp; When I use the "Limited Usage" layers and try to print via our own print service it throws an error.&amp;nbsp; When I check the arcgis server logs I get a 403 error. Printing works if I remove the "Limited Usage".&amp;nbsp; It would be great to do that, but the services need to be used only in that application if they are going to be public.&amp;nbsp; Suggestions? Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418534#M20964</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2016-01-22T21:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418535#M20965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;I have similar issue with the ArcGIS Online Market Place item for the nearmap hosted aerial imagery.&lt;/P&gt;&lt;P&gt;Is this your setup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUG-000090817:&lt;/P&gt;&lt;P&gt;Printing ArcGIS.com Marketplace Services from the Portal for ArcGIS map viewer using a print service from a federated ArcGIS for Server installation fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 22:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418535#M20965</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2016-01-22T22:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418536#M20966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The print error on the widget is the same. On the ArcGIS Server side (our own) it cannot access the secured services that are secured on our ArcServers. It states it does not have permissions to get to the service.&lt;IMG alt="PrintIssue2.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/173193_PrintIssue2.png" style="width: 620px; height: 168px;" /&gt;&lt;A _jive_internal="true" href="https://community.esri.com/servlet/JiveServlet/download/582618-153571/PrintIssue2.png"&gt;PrintIssue2.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 14:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418536#M20966</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2016-01-25T14:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418537#M20967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to throw this out there, I know for me to be able to print secure services, especially if not on the same server as my ArcGIS Server, I had to have a proxy set up (on the web adaptor machine) just for printing.&amp;nbsp; It's basically a blank (i.e. the default) proxy file.&amp;nbsp;&amp;nbsp; (sorry, I can't find my notes right now).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 14:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418537#M20967</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-01-25T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418538#M20968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am familiar with the concept of a proxy file.&amp;nbsp; What goes in the proxy file? Where does it go within the web adaptor machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 15:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418538#M20968</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2016-01-25T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418539#M20969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the "older" version of the proxy, not the current one on github.&amp;nbsp; What I have in my proxy.config is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;
&amp;lt;!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch: true to only proxy to sites listed, false to proxy to any site

&amp;nbsp;&amp;nbsp;&amp;nbsp; For Printing on a "remote" iis web machine that uses secure services on the AGS machine
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a blank Proxy folder/application needs to be located and references on the remote iis machine.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The proxy folder/application for the secure services with required tokens should be located
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on the ArcGIS Server web adaptor IIS machine.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch = "false"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK, since the rest of the file is basicallyblank anyway
--&amp;gt;
&amp;lt;ProxyConfig mustMatch="false"&amp;gt;
&amp;nbsp; &amp;lt;serverUrls&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&amp;nbsp; PRODUCTION&amp;nbsp; mapping --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&amp;nbsp; nothing needed here for prining&amp;nbsp; --&amp;gt;
&amp;nbsp; &amp;lt;/serverUrls&amp;gt;
&amp;lt;/ProxyConfig&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( the notes are added by me) and I actually have it in my IIS&amp;nbsp;&amp;nbsp; wwwroot folder in a folder I call "printProxy" for convenience.&amp;nbsp; We are typically using it with JavaScript apps, and our custom print gp service, but we have it working with are ArcGIS Online printing too (the custom GP printing).&amp;nbsp; For the JS apps, I point to this proxy for the printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a copy of the proxy I'm using...not sure why I have a blank App_Data folder in this directory but I left it.&amp;nbsp; It was a while ago that I set this up and didn't want to mess with it.&amp;nbsp; This might not work for you but it might give you or others and different idea for a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418539#M20969</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2021-12-11T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418540#M20970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebecca, I have the same problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;An AGOL layer that has limited access (to certain referers) is used by an AGOL web map. &lt;/LI&gt;&lt;LI&gt;I use that AGOL web map in a Web App Builder (developer version) - no problem here because the AGOL account url that host the web as well as the loclhost and planned host server is listed as referers.&lt;/LI&gt;&lt;LI&gt;The WAB app use the print widget that use a print service url (i.e. ~/GPServer/Export%20Web%20Map%20Task)&amp;nbsp; - here is the problem... I see the exact same errors in the ArcGIS server logs.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Followed the proxy route (the latest version that one can get from GitHub)&lt;/LI&gt;&lt;LI&gt;Configure a server item rule&amp;nbsp; - that with the 'tokenreferer' setting add a referer to the request to the AGOL layer that has limited useage.&lt;/LI&gt;&lt;LI&gt;Add a proxy rule in the config.json file for the WAB app so that the proxy is used for that layer.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This work as before and by playing with the limited useage refrere list and the proxy server configuration can make my web app builder app work (or not if I want to proof that the settings is being used)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is still that the request parameteres that is supplied print service ignored any of these proxy rulel configurations. The results is that in the ArcGIS server logs i can still see that the print service try to access the AGOL layer directly - not via the proxy (and not adding a referer as one would expected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would one allow the print service to access the AGOL layer? - I might not understand your "&lt;EM&gt;For the JS apps, I point to this proxy for the printing&lt;/EM&gt;" statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 14:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418540#M20970</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2016-06-14T14:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418541#M20971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hallo David / Rebecca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for coming back on this. I see the answer is marked as correct and I have a fair understanding about configuring proxy rules on the WAB side for certain services (e.g. my custom print service)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I still have the exact same error as per David's screenshots. David, if you were able to resolve this with the use of the 'empty' proxy - where did you configure the proxy rule so that the custom print services that accessing the AGOL service (with limited usage) from the ArcGIS server use a proxy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was also upgrading 10 10.4.1 as well to see if that was my problem. ESRI had a bug fix - BUG-000083610 - "Printing an external secure service with limit usage referrers fails in an ArcGIS Online web application." that was resolved in 10.4 - &lt;A href="http://downloads.esri.com/support/downloads/other_/104-IssuesAddressedList.pdf" title="http://downloads.esri.com/support/downloads/other_/104-IssuesAddressedList.pdf"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;http://downloads.esri.com/support/downloads/other_/104-IssuesAddressedList.pdf&lt;/SPAN&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The culprit: (It print if I remove the limited usage)&lt;/P&gt;&lt;P&gt;&lt;A href="https://utility.arcgis.com/usrsvcs/servers/e97e0048d61d4e648c3d326d7db0831f/rest/services/ITM/basemap_premium/MapServer" title="https://utility.arcgis.com/usrsvcs/servers/e97e0048d61d4e648c3d326d7db0831f/rest/services/ITM/basemap_premium/MapServer"&gt;https://utility.arcgis.com/usrsvcs/servers/e97e0048d61d4e648c3d326d7db0831f/rest/services/ITM/basemap_premium/MapServer&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418541#M20971</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2016-08-10T22:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418542#M20972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got a feedback via a support call to ESRI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This bug that was originally described as being resolved has become apparent again and has been logged as a new bug #BUG-000096914&amp;nbsp;&amp;nbsp; [Enhancement] Printing an external secure service with a limit usage on referrer URLs fails in the ArcGIS Online map viewer or application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is currently been worked on by the development team in Esri and I will update you as soon as we have a resolution. There was a hotfix deployed recently for users who had 10.3.1 but the fix malfunctioned and was not successful."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418542#M20972</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2016-08-11T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418543#M20973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I missed and never answered back in June...busy summer.&amp;nbsp; I haven't been working on this for a while so I don't have much to add beyond what I had before, but just fyi, my local AGS services are still at 10.2.2, and the web sites I have used the print proxy for are all locally hosted JS sites, not WAB (online or developer).&amp;nbsp; I have a custom print task (GP services) that is also involved.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still using the old proxy for print services, but have switched over to the newer version for accessing my secure services. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not much help to you, but wanted to know I haven't run into the bug yet, but good to know in case I do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418543#M20973</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-08-11T15:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418544#M20974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received a hotfix from ESRI and it resolved my print with limited access issue. Its a server side fix and did not require any client side/WAB code changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hotfix will be part of ArcGIS 10.5 which should be avialable somewhere in September.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 09:12:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418544#M20974</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2016-09-07T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Limited Usage Layers With Our Own Print Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418545#M20975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm seeing these errors again after upgrading enterprise (Federated Server &amp;amp; Portal) from 10.50. to 10.7.0 and the TLS 1.2 adjustments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 17:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/printing-limited-usage-layers-with-our-own-print/m-p/418545#M20975</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2019-05-01T17:52:28Z</dc:date>
    </item>
  </channel>
</rss>

