<turbo-stream action="update" target="wiki_card"><template>

<h1>Import and Export Link Storage Values (JSON)</h1>
<div class="trix-content"><p>Link Storage Values can be exported to a <strong>JSON file</strong> and imported back later. This is useful for backups, moving mappings between environments, or reusing the same link storage values in a new Link Storage.<br><br></p><h3><strong>Export JSON</strong></h3><p><br>Click <strong>Export JSON</strong> to download the current Link Storage Values as a JSON file.<br><br><br></p><p></p><figure class="attachment attachment--content attachment--png"><div class="trix-media-container size-medium">
        <img src="/rails/active_storage/blobs/eyJfcmFpbHMiOnsiZGF0YSI6MTUzNCwicHVyIjoiYmxvYl9pZCJ9fQ==--f6d1699b3e705e1b540415a20cfa1ed6a7faa078/Export%20JSON%20Link%20Storage.png" title="Export JSON Link Storage" alt="Export JSON Link Storage">
      </div><figcaption class="attachment__caption"></figcaption></figure><p></p><p>The export is a JSON <strong>array</strong> (list) of entries. Each entry contains two keys:<br><br></p><ul><li><strong>key_1</strong> = value from the first column (e.g., <em>BC Customer No</em>)</li><li><strong>key_2</strong> = value from the second column (e.g., <em>SFDC Account Id</em>)</li></ul><pre>[<br>&nbsp; {<br>&nbsp; &nbsp; "key_1": "10000",<br>&nbsp; &nbsp; "key_2": "001KB000005oSUqYAM"<br>&nbsp; },<br>&nbsp; {<br>&nbsp; &nbsp; "key_1": "20000",<br>&nbsp; &nbsp; "key_2": "001Qy00000MaqzVIAR"<br>&nbsp; },<br>&nbsp; {<br>&nbsp; &nbsp; "key_1": "D04550",<br>&nbsp; &nbsp; "key_2": "001KB000005AIB5YAO"<br>&nbsp; },<br>&nbsp; {<br>&nbsp; &nbsp; "key_1": "D04720",<br>&nbsp; &nbsp; "key_2": "001KB000003cxBmYAI"<br>&nbsp; }<br>]</pre><p><br><br></p><h3><strong>Import JSON</strong></h3><p><br></p><p>Use <strong>Browse</strong> to select a JSON file, then click <strong>Import JSON</strong> to upload the values into the currently opened Link Storage.<br><br></p><p><strong>Duplicate handling (important)<br></strong><br></p><p>When importing:<br><br></p><ul><li>Existing entries are <strong>skipped</strong>.</li><li>Only <strong>new entries</strong> from the JSON file are created.</li></ul><p>This means you can safely import the same file multiple times without creating duplicates.<br><br>Watch this quick video on how to import a JSON file into the Link Storage:&nbsp;<br><br><br></p><p></p><figure class="attachment attachment--content attachment--mp4"><div class="trix-media-container size-medium">
        <video controls="true" title="Link Storages - Import JSON" alt="Link Storages - Import JSON">
          <source src="/rails/active_storage/blobs/eyJfcmFpbHMiOnsiZGF0YSI6MTUzNSwicHVyIjoiYmxvYl9pZCJ9fQ==--b7113effd44add2d3cb8894bb577ac53d3d9045f/Link%20Storages%20-%20Import%20JSON.mp4" type="video/mp4">
          Your browser does not support the video tag.
        </video>
      </div><figcaption class="attachment__caption"></figcaption></figure><p></p></div>
</template></turbo-stream>

