<?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: Intercept Map Request in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132577#M7598</link>
    <description>&lt;P&gt;Hi Bart,&lt;/P&gt;&lt;P&gt;Can you explain a bit more about what you would like to do with this API. I don't think we have anything at the moment but would like to understand your use case a bit better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Russell&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 19:56:47 GMT</pubDate>
    <dc:creator>RussellBrennan</dc:creator>
    <dc:date>2022-01-11T19:56:47Z</dc:date>
    <item>
      <title>Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132015#M7582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm wondering if the ArcGIS Pro API allows to be triggered just before a request is made to a Feature service. So I could add some extra metadata?&lt;/P&gt;&lt;P&gt;Similar to the&amp;nbsp;esriRequest.setRequestPreCallback(callbackFunction) in JavaScript 3.3?&lt;/P&gt;&lt;P&gt;Thx,&lt;BR /&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 14:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132015#M7582</guid>
      <dc:creator>BartVan_Hoecke1</dc:creator>
      <dc:date>2022-01-10T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132577#M7598</link>
      <description>&lt;P&gt;Hi Bart,&lt;/P&gt;&lt;P&gt;Can you explain a bit more about what you would like to do with this API. I don't think we have anything at the moment but would like to understand your use case a bit better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Russell&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 19:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132577#M7598</guid>
      <dc:creator>RussellBrennan</dc:creator>
      <dc:date>2022-01-11T19:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132763#M7599</link>
      <description>&lt;P&gt;Hi Russell,&lt;/P&gt;&lt;P&gt;Well we are allowing the same FeatureServices to be edited by two audiences: 1 using ArcGIS Pro (with an AddIn) &amp;amp; the other using an in-house webviewer using the JS API.&lt;/P&gt;&lt;P&gt;Without changing the dataset, we would like to append some meta information to these FeatureService requests, like the 'type of user: dekptop,webviewer' and so on.&lt;/P&gt;&lt;P&gt;On the FeatureService side, we would like to read out that information using an SOI, for building in some monitoring and validation.&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 08:30:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1132763#M7599</guid>
      <dc:creator>BartVan_Hoecke1</dc:creator>
      <dc:date>2022-01-12T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136093#M7661</link>
      <description>&lt;P&gt;we are looking at allowing an addin to define custom parameters when the connection to the layer is created (i.e. via the call to LayerFactory.Instance.CreateLayer(......) in code). Custom parameters defined as part of "creating" the layer connection via LayerFactory would automatically be appended to the URL of the service layer each time Pro "called" it (eg on a select, refresh, etc)&lt;/P&gt;&lt;P&gt;This would be in 3.0 - our next release.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 23:59:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136093#M7661</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-01-21T23:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136311#M7666</link>
      <description>&lt;P&gt;ok, sounds like nice feature. We indeed use the LayerFactory already, so I think it might work out for what we need.&lt;/P&gt;&lt;P&gt;But it does mean, that any feature that's being added through standard Catalog will not run through that and will not have the custom parameters added? Just for my understanding.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 09:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136311#M7666</guid>
      <dc:creator>BartVan_Hoecke1</dc:creator>
      <dc:date>2022-01-24T09:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136449#M7669</link>
      <description>&lt;P&gt;as currently, u would need to use the CIM and access the DataConnection. Any DataConnection of a service layer that has a "CustomParameters" member can have custom parameters set that will be appended to the URL.&lt;/P&gt;&lt;P&gt;so something like.....&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//on the QueuedTask

var dc = serviceLayer.GetDataConnection() as CIMAGSServiceConnection;
CIMStringMap[] customParams = { new CIMStringMap { Key = "custom1", Value = "12345" }, new CIMStringMap { .... etc ....} };
dc.CustomParameters = customParams;
serviceLayer.SetDataConnection(dc);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The complete set of data connection types for service layers can be seen in the hierarchy diagram here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic4980.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic4980.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 16:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136449#M7669</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-01-24T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intercept Map Request</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136587#M7671</link>
      <description>&lt;P&gt;Ah great!. That even seems available from 2.8 on... I'll need to look into that.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 20:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/intercept-map-request/m-p/1136587#M7671</guid>
      <dc:creator>BartVan_Hoecke1</dc:creator>
      <dc:date>2022-01-24T20:47:04Z</dc:date>
    </item>
  </channel>
</rss>

