Uploadcare Asset link
Hello Community,
I recently integrated Uploadcare with Marketo, i add the following code to the forms rich text and the upload section was visible in the form:
<script type="module">// <![CDATA[
import * as UC from 'https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/uc-file-uploader-regular.min.js';
UC.defineComponents(UC);
// ]]></script>
<uc-config ctx-name="my-uploader" use-cloud-image-editor="false" source-list="local" pubkey="public-key"></uc-config> <uc-file-uploader-regular ctx-name="my-uploader" class="uc-light"></uc-file-uploader-regular>
I’d like to know how to get the link to an uploaded asset in Marketo and currently, as soon as I upload an image, it gets immediately uploaded to Uploadcare, is there a way to prevent this and instead trigger the upload only when the form is submitted?
Thank you!