DOM element | Community
Skip to main content
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 ParthaSarathy

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>

 

3 replies

ParthaSarathy
ParthaSarathyAccepted solution
New Participant
April 27, 2023

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>

 

 ~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
Sukrity_Wadhwa
Employee
April 27, 2023

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
Marcel_Szimonisz
New Participant
March 28, 2023

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/

Sanjana12Author
New Participant
March 29, 2023

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