Skip to main content
source formatting, tags
Source Link
Adam Spriggs
  • 31.1k
  • 6
  • 44
  • 88

Can I place ampscript in a data extension columcolumn?

I am trying to create a data extension that houses ampscriptAMPscript within it.

Within the email itself, I've placed this code just after the open body tag:

%%[
Var @orgname, @short
Set @orgname = "Company Name"
Set @short = "Company"
]%%

Within the data extension, one column has the following text:

I really want %%= v`%%=v(@orgname) =%%=%%` to contact me. Thank you %%= v`%%=v(@short) =%%=%%`.

So with the preview function, it yields:

I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

Can I place ampscript in a data extension colum?

I am trying to create a data extension that houses ampscript within it.

Within the email itself, I've placed this code just after the open body tag:

%%[
Var @orgname, @short
Set @orgname = "Company Name"
Set @short = "Company"
]%%

Within the data extension, one column has the following text:

I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

So with the preview function, it yields:

I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

Can I place ampscript in a data extension column?

I am trying to create a data extension that houses AMPscript within it.

Within the email itself, I've placed this code just after the open body tag:

%%[
Var @orgname, @short
Set @orgname = "Company Name"
Set @short = "Company"
]%%

Within the data extension, one column has the following text:

I really want `%%=v(@orgname)=%%` to contact me. Thank you `%%=v(@short)=%%`.

So with the preview function, it yields:

I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

added 34 characters in body
Source Link
Sebastian Kessel
  • 13.2k
  • 12
  • 38
  • 61

I am trying to create a data extension that houses ampscript within it.

Within the email itself, I've placed this code just after the open body tag: %%[ Var @orgname, @short Set @orgname = "Company Name" Set @short = "Company" ]%%

%%[
Var @orgname, @short
Set @orgname = "Company Name"
Set @short = "Company"
]%%

Within the data extension, one column has the following text: I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

So with the preview function, it yields: I really want Company Name to contact me. Thank you Company.

I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

I am trying to create a data extension that houses ampscript within it.

Within the email itself, I've placed this code just after the open body tag: %%[ Var @orgname, @short Set @orgname = "Company Name" Set @short = "Company" ]%%

Within the data extension, one column has the following text: I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

So with the preview function, it yields: I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

I am trying to create a data extension that houses ampscript within it.

Within the email itself, I've placed this code just after the open body tag:

%%[
Var @orgname, @short
Set @orgname = "Company Name"
Set @short = "Company"
]%%

Within the data extension, one column has the following text:

I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

So with the preview function, it yields:

I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?

Source Link

Can I place ampscript in a data extension colum?

I am trying to create a data extension that houses ampscript within it.

Within the email itself, I've placed this code just after the open body tag: %%[ Var @orgname, @short Set @orgname = "Company Name" Set @short = "Company" ]%%

Within the data extension, one column has the following text: I really want %%= v(@orgname) =%% to contact me. Thank you %%= v(@short) =%%.

So with the preview function, it yields: I really want Company Name to contact me. Thank you Company.

But I'm not able to get this to work. What am I doing wrong? Is this even possible?