<?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 Problems with the widgets datasources when cloning dashboards in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/problems-with-the-widgets-datasources-when-cloning/m-p/1121232#M5429</link>
    <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;I have to migrate one Dashboard between two different ArcGIS Enterprise (AGE).&lt;/P&gt;&lt;P&gt;In the source AGE the dashboard is using a mapservice in the Webmap and a set of different widgets (basically indicators, lists and charts).&lt;/P&gt;&lt;P&gt;In the target AGE I created a Webmap but using hosted feature layers in this case (Feature Services). The layer list is similar.&lt;/P&gt;&lt;P&gt;I would like to automate the process migartion using the ArcGIS API for Python. As I have the id of both webmaps, source and target, I can use item_mapping with the clone_items function. This works fine for the webmap during the cloning process.&lt;/P&gt;&lt;P&gt;However, it does not work for the other widgets. If I check the ids of the other widgets in the origin dashboard, datasources seems to reference to a combination of the name of the webmap + "_" + number, as there is no specific id for a layer in a mapservice. However, in the destination webmap I can obtain those ids directly form the feature service.&lt;/P&gt;&lt;P&gt;Following this, I have tried two different ways:&lt;/P&gt;&lt;P&gt;- adding the origin id and target id to the item_mapping dictionary; however the clone process rises an error because it does not find the target layers ids (¿?)&lt;/P&gt;&lt;P&gt;- I also migrated the dashboard and, after that I tried to modify the target widgets datasource via the Python API. I do not receive any error ... but the datasources do not change in the dashbard (When I iterate again the widgets list the datasources are not updated .....).&lt;/P&gt;&lt;P&gt;Any solution, idea or workaround I can follow?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Jesus de Diego&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 13:32:50 GMT</pubDate>
    <dc:creator>tcsa_jesdial</dc:creator>
    <dc:date>2021-11-30T13:32:50Z</dc:date>
    <item>
      <title>Problems with the widgets datasources when cloning dashboards</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/problems-with-the-widgets-datasources-when-cloning/m-p/1121232#M5429</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;I have to migrate one Dashboard between two different ArcGIS Enterprise (AGE).&lt;/P&gt;&lt;P&gt;In the source AGE the dashboard is using a mapservice in the Webmap and a set of different widgets (basically indicators, lists and charts).&lt;/P&gt;&lt;P&gt;In the target AGE I created a Webmap but using hosted feature layers in this case (Feature Services). The layer list is similar.&lt;/P&gt;&lt;P&gt;I would like to automate the process migartion using the ArcGIS API for Python. As I have the id of both webmaps, source and target, I can use item_mapping with the clone_items function. This works fine for the webmap during the cloning process.&lt;/P&gt;&lt;P&gt;However, it does not work for the other widgets. If I check the ids of the other widgets in the origin dashboard, datasources seems to reference to a combination of the name of the webmap + "_" + number, as there is no specific id for a layer in a mapservice. However, in the destination webmap I can obtain those ids directly form the feature service.&lt;/P&gt;&lt;P&gt;Following this, I have tried two different ways:&lt;/P&gt;&lt;P&gt;- adding the origin id and target id to the item_mapping dictionary; however the clone process rises an error because it does not find the target layers ids (¿?)&lt;/P&gt;&lt;P&gt;- I also migrated the dashboard and, after that I tried to modify the target widgets datasource via the Python API. I do not receive any error ... but the datasources do not change in the dashbard (When I iterate again the widgets list the datasources are not updated .....).&lt;/P&gt;&lt;P&gt;Any solution, idea or workaround I can follow?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Jesus de Diego&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 13:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/problems-with-the-widgets-datasources-when-cloning/m-p/1121232#M5429</guid>
      <dc:creator>tcsa_jesdial</dc:creator>
      <dc:date>2021-11-30T13:32:50Z</dc:date>
    </item>
  </channel>
</rss>

