How to see original file names or recreate original files? #1994
-
We're moving off Marketing Cloud. I'd like to make a backup of our Content Builder assets so our marketing folks can refer to them if needed. I've succeeded in configuring the tool and having it do an initial retrieve from MC. The results seem to be JSON files named as the customer key. Is that correct? Is there a way to turn these JSON files back into files with the original name and file type? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes indeed, that's correct. Names are typically not unique in marketing cloud and hence they cannot be used reliably for file names. To backup things in content builder, you will want to retrieve the type "asset". That should give you html, amp and ssjs files. If you also want binary files (images and so on), then run "mcdev selectTypes --debug" first. That allows you to also select subtypes of asset that are not retrieved by default. Finally, re-run "mcdev retrieve cred/bu asset". Please be aware that emails will be saved as multiple blocks instead of as one big html. |
Beta Was this translation helpful? Give feedback.
Yes indeed, that's correct. Names are typically not unique in marketing cloud and hence they cannot be used reliably for file names.
To backup things in content builder, you will want to retrieve the type "asset". That should give you html, amp and ssjs files. If you also want binary files (images and so on), then run "mcdev selectTypes --debug" first. That allows you to also select subtypes of asset that are not retrieved by default.
Finally, re-run "mcdev retrieve cred/bu asset".
Please be aware that emails will be saved as multiple blocks instead of as one big html.