Page 1 of 1

agnDB not working for me

Posted: Tue Jul 19, 2011 8:43 pm
by elefante
First I want to congrats for the new OpenEMM release! This is a very good software.
I was in 5.5 and now on 2011 2RC.
I got this link in my template:

http://portaldovoluntario.v2v.net/people/[agnDB column="newskey"]/off/newsletter

The Preview button on folder Content shows the link as planned, but when click on folder Send mailing I got the error below:

Code: Select all

Invalid Link: http://portaldovoluntario.v2v.net/people/[agnDB 
I have the newskey profile field properly set, and all of my users have it filled.

Am I missing something?

Best regards,
Fernando

Re: agnDB not working for me

Posted: Thu Jul 21, 2011 2:51 pm
by Hofmann M.
Hello elefante,

you have two possibilities to insert content from the database in your email-content.

Version 1:b
Insert db-content into normal text or html parts, use: [agnDB column="DB_COLUMN"]

Example:

Code: Select all

<p> Hello, you name is: [agnDB column="FIRSTNAME"] [agnDB column="LASTNAME"] </p>
(ok, i know this should be done with an [agnTITLE], much more elegant)


Version 2:b
Insert db-content into link constructions, use: ##DB_COLUMN##
(The link will remain trackable!)

Example:

Code: Select all

<a href="http://www.yourlink.com/people/##DB_COLUMN##/more/details">click me</a>
:!: BUT: Be carefully with "/" signs (all of them) in the DB ... this will be inserted URL-encoded like %2F.
Make sure that your server can translate this.

Re: agnDB not working for me

Posted: Tue Jul 26, 2011 1:33 pm
by elefante
Hello Hofmann,

thank you very much for your reply. I didn't know that I could do like your description.

Best regards,
Fernando