Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Display text at the end of the content

Avatar

Level 4

Hi,

 

I added logic in the nms:delivery input form hence the text message is rendering automatically in the sms delivery template inside text content. But its coming at the starting position.

 

tejashriw155148_0-1598888009412.png

 

 

Please suggest how to display text at the ent of the content.

 

 

4 Replies

Avatar

Community Advisor

Hi,

 

Could you paste the form code you added to alter the delivery content?

 

Thanks,

-Jon

Hi @Jonathon_wodnicki 

 

I have added below code in nms:delivery input form inside input tag-


<enter name="onChange">

<if expr="EV(@messageType, 'sms')">
<set value="Avreg? LFAVREG till 71120" xpath="/delivery/content/sms/source"/>
</if>

 

Please suggest what changes I should do, so the code will come at the end of the SMS content.

 

Thanks.

Avatar

Community Advisor

Hi @tejashriw155148 ,

Try the below code, 

(By giving empty set 'value' before the last line set value)

 

<enter name="onChange">
<if expr="EV(@messageType, 'sms')">

<set value=" " xpath="/delivery/content/sms/source"/>
<set value="Last line text" xpath="/delivery/content/sms/source"/>
</if>

Hi @ParthaSarathy 

 

I tried above logic but its not working as expected.

 

Thanks,