<?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: Copy HubDB tables with foreign IDs between portals in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/539911#M26453</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148115"&gt;@dbeau79&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Have you dealt with this before?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 21:14:02 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-12-09T21:14:02Z</dc:date>
    <item>
      <title>Copy HubDB tables with foreign IDs between portals</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/539498#M26442</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I am working on a development workflow for our website and I already learned a lot about working with the HubSpot CLI and using Git with it. The workflow is based on two portals, the live portal and the sandbox portal. I never touch the files in the design manager on the live portal directly but I work with a cloned version in my sandbox account. Whenever I work on the CMS, I do it in the sandbox portal, using the local environment. Once I finished something, I push it to my Git repository. When I merge my changes into the main branch, it automatically gets deployed to the live portal. So far so good.&lt;BR /&gt;&lt;BR /&gt;For some features I use the HubDB and that's great. Some of my tables use foreign IDs. When I fetch them by CLI and want to upload them to my sandbox portal, I get an error, because the sandbox portal does not know these foreign IDs. Is there any way of cloning them easily or accessing the same tables on both portals?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Fabian Richter&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 11:16:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/539498#M26442</guid>
      <dc:creator>FabianRichter</dc:creator>
      <dc:date>2021-12-09T11:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy HubDB tables with foreign IDs between portals</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/539911#M26453</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148115"&gt;@dbeau79&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Have you dealt with this before?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 21:14:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/539911#M26453</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-12-09T21:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Copy HubDB tables with foreign IDs between portals</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/541449#M26490</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/128951"&gt;@FabianRichter&lt;/a&gt;&amp;nbsp;, I've run into this issue but not in the automated way in which you are working between two portals.&amp;nbsp; I was downloading and the uploading (csv).&amp;nbsp; What I did was map the foreign id with a vlookup in my google sheet so when I uploaded it everything would be set correctly.&amp;nbsp; I know it seems it clunky but the only thing I can think of is if you "save as" your sandbox table json files and do a find/replace of the foreign ids so when you upload to production they match.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cc&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 16:27:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Copy-HubDB-tables-with-foreign-IDs-between-portals/m-p/541449#M26490</guid>
      <dc:creator>dbeau79</dc:creator>
      <dc:date>2021-12-13T16:27:58Z</dc:date>
    </item>
  </channel>
</rss>

