Skip to main content
tejashriw155148
Level 4
Oct 22, 2019 1:45 PM UTC
Solved

Table/Schema for delivery content

Hi,

Please let me know the text content which sent to customer through SMS/Email delivery are stored in which table or schema?

Regards,

Tejashri Waje

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
somasundaram_h
somasundaram_hAccepted solution
Community Advisor
Oct 24, 2019 7:51 AM UTC

Hi there,

Hope the below answers your question.

Thanks.

13 replies

Sourav_Sadhu
Level 2
Oct 22, 2019 2:13 PM UTC

Hi,

You can find the content in the nms:delivery table, the attribute name is XML memo (data) -- Sql field is mdata.

Thanks,

Sourav

Translate
asktam1410
Level 3
Oct 22, 2019 5:14 PM UTC

Anything related to the delivery will be stored in nms:delivery schema. If you used AEM content then you need to write QueryDef to read actual content Id that was synchronized with the delivery and then find it in AEM.

Translate
tejashriw155148
Level 4
Oct 23, 2019 6:15 AM UTC

HI Sourav,

I checked XML memo(data) field but it is blank. No content inside the field.

Regards,

Tejashri

Translate
Jyoti_Yadav
Level 8
Oct 23, 2019 7:08 AM UTC

Hi,

You can check delivery text content using below xml format in Javascript:

var emailText= delivery.content.text.source.toString();

var emailHTML= delivery.content.html.source.toString();

It will give you XML structure of your email. You can fetch whatever data you want to fetch, like you want to get URL of your HTML you can use:

var url= delivery.content.text.urlConfig.url ;

Thanks.

Translate
tejashriw155148
Level 4
Oct 23, 2019 12:09 PM UTC

Thanks Jyoti for the info.

I'm not familiar with java script code, so could you please let me now how to use above xml format in javascript?

Regards,

Tejashri

Translate
somasundaram_h
Community Advisor
somasundaram_hCommunity AdvisorAccepted solution
Community Advisor
Oct 24, 2019 7:51 AM UTC

Hi there,

Hope the below answers your question.

Thanks.

Translate
tejashriw155148
Level 4
Oct 24, 2019 12:03 PM UTC

Yes, this is answer to my question.

Thanks.

Translate
tejashriw155148
Level 4
Oct 24, 2019 1:44 PM UTC

HI,

How to parse expression delivery/content/sms/@source in javascript?

When added highlighted expression in javacript code

getting below error:

Regards,

Tejashri

Translate
somasundaram_h
Community Advisor
Community Advisor
Oct 25, 2019 6:25 AM UTC

You may try the below:

Thanks.

Translate
tejashriw155148
Level 4
Oct 25, 2019 2:27 PM UTC

Tried above code but its not giving value of source.

Hence changed code to <node expr="[content/sms/@source"] alias="@content"/> and its throwing below error:

How can retrieve source data.

Regards,

Tejashri

Translate