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.
ParthaSarathy
ParthaSarathyAccepted solution
Community Advisor
Apr 27, 2023 11:30 AM UTC

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

4 replies

Marcel_Szimonisz
Community Advisor
Community Advisor
Mar 28, 2023 9:16 AM UTC

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/

Translate
Sanjana12Author
Level 6
Mar 29, 2023 11:24 AM UTC

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
Translate
Sukrity_Wadhwa
Level 4
Apr 27, 2023 11:04 AM UTC

Hi @sanjana12,

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

Thanks!

Translate
Sukrity Wadhwa
ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
Apr 27, 2023 11:30 AM UTC

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>

 

Translate
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups