Variables in emails

Moderator: Moderator Group

Variables in emails

Postby aferors » Thu May 07, 2015 3:14 am

When using the emailing command in WD is there a way to insert a variable in the text that is sent in the emails contents?

I have tried just writing the variables name in the emailing text field but it just comes through as the variable's title rather than the variable's actual content.

Also FYI Im trying to do this in conjunction with other text

EmailSend,emailing@tc.com.au,the show at site sitecode has started,The Show at sitecode has started.


the varible is "sitecode"

many thanks
Drew Ferors
Senior Technician
drew.ferors@tdc.com.au


Technical Direction Company, Sydney Australia
www.tdc.com.au
User avatar
aferors
 
Posts: 22
Joined: Thu Dec 13, 2012 12:18 am
Location: Sydney, Australia

Re: Variables in emails

Postby Daniel Kaminski » Thu May 07, 2015 3:28 pm

Hi,

never tried it. May not work at all, but if it works it will only work as a single variable right after the ","
You would have to combine the text first into a variable and than use that variable as into to the email.

Daniel
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1071
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Re: Variables in emails

Postby aferors » Fri May 08, 2015 2:02 am

Ok that makes sense. Thanks for the response.

Is there any known way to instert a variable's content into any passage of text beit in a text box or field mixed with other text?
Then that whole text could be put into the var then into the email.
Many thanks
Drew Ferors
Senior Technician
drew.ferors@tdc.com.au


Technical Direction Company, Sydney Australia
www.tdc.com.au
User avatar
aferors
 
Posts: 22
Joined: Thu Dec 13, 2012 12:18 am
Location: Sydney, Australia

Re: Variables in emails

Postby Dennis Kuypers » Fri May 08, 2015 12:42 pm

Hi,

The "classic" way is to concatenate your text in a variable like this (assuming _tmp is a string variable that was set up before):

VValue,_tmp,The show at site
VAdd,_tmp,_tmp,sitecode
VAdd,_tmp,_tmp, has started.

If you ever have trouble using a comma in this procedure create another variable in the Variable editor and make it's content ","


Regards
Dennis
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm

Re: Variables in emails

Postby aferors » Thu May 14, 2015 2:13 am

Thanks heaps for that.

I ended up stumbling across the text combiner node. A bit of text then a var then more text. sent to another var then into the email.
Around 80 nodes later and its all a happening.

Cheers
Drew Ferors
Senior Technician
drew.ferors@tdc.com.au


Technical Direction Company, Sydney Australia
www.tdc.com.au
User avatar
aferors
 
Posts: 22
Joined: Thu Dec 13, 2012 12:18 am
Location: Sydney, Australia


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 21 guests

cron