MCA question - replace an image for an email asset | Community
Skip to main content
New Participant
May 16, 2021
Solved

MCA question - replace an image for an email asset

  • May 16, 2021
  • 1 reply
  • 1423 views

Hi all, 

 

It would be helpful if someone can explain why the answer 2 is not correct. 

I used this way to replace one image in my email in Marketo and it worked well. 

No idea why it's not a correct way ...

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman
I think it hinges on the definition of "replace."

If you take that as "change the binary asset represented by the same URL" then you would have to use the literal Replace feature, not create a new asset.

More broadly though, "replacing" an embedded sub-resource doesn't mean you have to retain the same URL. There's even a browser method (document.location.replace) that's specifically for changing the URL. But that's not Marketo-ish enough for this case.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
May 17, 2021
I think it hinges on the definition of "replace."

If you take that as "change the binary asset represented by the same URL" then you would have to use the literal Replace feature, not create a new asset.

More broadly though, "replacing" an embedded sub-resource doesn't mean you have to retain the same URL. There's even a browser method (document.location.replace) that's specifically for changing the URL. But that's not Marketo-ish enough for this case.