agnDB not working for me

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

elefante
Posts: 4
Joined: Tue Jul 19, 2011 8:31 pm

agnDB not working for me

Post by elefante » Tue Jul 19, 2011 8:43 pm

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
Fernando Campos
v2v.net

Hofmann M.
Posts: 21
Joined: Thu Aug 03, 2006 3:18 pm
Location: Ruhpolding, BY, Germany
Contact:

Re: agnDB not working for me

Post by Hofmann M. » Thu Jul 21, 2011 2:51 pm

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.

elefante
Posts: 4
Joined: Tue Jul 19, 2011 8:31 pm

Re: agnDB not working for me

Post by elefante » Tue Jul 26, 2011 1:33 pm

Hello Hofmann,

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

Best regards,
Fernando
Fernando Campos
v2v.net

Post Reply