Skip to main content
ambikaTewari_ATCI
Community Advisor
Community Advisor
Apr 3, 2020 11:06 AM UTC
Solved

Create an mbox with at.js 2.x

Hi Team,

 

mboxCreate method doesn't work with at.j.
How could we create an mbox div at page level?

I tried with below code but no luck :

 

<div class="mboxDefault">
adobe.target.getOffer({
"mbox": "customTestMbox",
"params": {
"status": "true"
},
"success": function(offer) {
adobe.target.applyOffer( {
"mbox": "customTestMbox",
"offer": offer
} );
},
"error": function(status, error) {
console.log('Error', status, error);
}
});
</div>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
surebee
surebeeAccepted solution
Adobe Employee
Apr 4, 2020 7:17 PM UTC

6 replies

surebee
Adobe Employee
surebeeAdobe EmployeeAccepted solution
Adobe Employee
Apr 4, 2020 7:17 PM UTC
ambikaTewari_ATCI
Community Advisor
Community Advisor
Apr 5, 2020 8:22 AM UTC
Sure @surebee, But m getting error now as :index.html:826 Uncaught ReferenceError: adobe is not defined
Translate
Amelia_Waliany
Adobe Employee
Adobe Employee
Apr 22, 2020 11:40 PM UTC

Hi @ambikatewari_atci, 

 
Our next Adobe Target Skill Builder Webinar is right around the corner on May 5th, and will be presented by Adobe Target Product Management on migrating Adobe Target’s mbox.js to At.js. Check out this community discussion to register today. Hope you can make it!
 
Warmly,
Amelia 
Translate