Hi there,
I am trying to update an image in a landing page through REST API. My post request is successfully running but the image is not updating after approving the LP. Noticed Marketo is prepending the id element value with "mkto_gen_". Tried giving "mkto_gen_header-logo-image.json" but it is also not working as the value is prepending at runtime. Please refer the HTML defined below
REST Endpoint-
/rest/asset/v1/landingPage/22781/content/header-logo-image.json?access_token=xxxxxxxxx
In LP template HTML is given as below
<div class="mktoImg" id="header-logo-image">
<img src=".../images/10-yrs-experience-icon.png" alt="logo" class="lpimg">
</div>
But at runtime LP is generating below HTML
<div class="mktoImg mktoGen" id="mkto_gen_header-logo-image">
<img src=".../images/10-yrs-experience-icon.png" alt="logo" class="lpimg" id="header-logo-image">
</div>
Could anyone please suggest any solution?
Thanks,
Avtar Singh