Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

DOM element

Avatar

Level 6

Hello what is a DOM element wrt Message Centre?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Sanjana12 ,

In transactional message, rtEvent and ctx parameters are declared under domEvent.

In rtEvent, type being the template event type and email being the recipient email address is declared.
In ctx, all the attribute used on the template must be defined.

For example, if the event type of the template is 'email_verification' and email address is 'test@test.com' and content is 'Hi firstName lastName',  

then SOAP call will be,

<urn:domEvent>
    <rtEvent type="email_verification" email="test@test.com"  >   
	  <ctx>
            <firstName>Partha</firstName>
    	    <lastName>Sarathy</lastName>		
	  </ctx> 
    </rtEvent>
</urn:domEvent>

 

View solution in original post

4 Replies

Avatar

Community Advisor

Hello @Sanjana12 

There is no DOM element anywhere where the JSSP or JS on backend is used.

 

Maybe I have not understood the question can you add more details?

 

Marcel Szimonisz

MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/

Avatar

Level 6

Hello, I have the below requirements:

 

// function sendPushEventUsingDoc(doc) - Generic function that can be used by any functionality

// to invoke message center using the DOMElement

// Input:

// doc - Dom element which sources the push event

// Return:

// plId - Id of archived event if success, else 0

Avatar

Administrator

Hi @Sanjana12,

Were you able to find out about DOM element or do you still need help here? Do let us know.

Thanks!



Sukrity Wadhwa

Avatar

Correct answer by
Community Advisor

Hi @Sanjana12 ,

In transactional message, rtEvent and ctx parameters are declared under domEvent.

In rtEvent, type being the template event type and email being the recipient email address is declared.
In ctx, all the attribute used on the template must be defined.

For example, if the event type of the template is 'email_verification' and email address is 'test@test.com' and content is 'Hi firstName lastName',  

then SOAP call will be,

<urn:domEvent>
    <rtEvent type="email_verification" email="test@test.com"  >   
	  <ctx>
            <firstName>Partha</firstName>
    	    <lastName>Sarathy</lastName>		
	  </ctx> 
    </rtEvent>
</urn:domEvent>