Load Data in Adobe Campaign classic | Community
Skip to main content
srujanar9645206
October 23, 2019
Solved

Load Data in Adobe Campaign classic

  • October 23, 2019
  • 2 replies
  • 4680 views

we are trying to load data in to campaign but due to some reason we are getting xml tags for the product name like xxproductname and we are having it as <span class="xxx">xx</span>productname.

how to remove the xml tags and update the product name in ACC and have final output as xxproductname?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Raj_Ganta-1

Hi,

Make use of Replace function in When function. Case(When(check for substring to see if you have a tag, use replace function here), Else(use original product name if you don't have tags))

Example:

Case(When(Left(ProductName, 1) = '<', Replace(ProductName, '<span class="xxx">xx</span>', 'xx')),Else(ProductName))

I have used something similar to the above earlier. you can make use of it.

2 replies

Raj_Ganta-1
Raj_Ganta-1Accepted solution
Level 5
October 23, 2019

Hi,

Make use of Replace function in When function. Case(When(check for substring to see if you have a tag, use replace function here), Else(use original product name if you don't have tags))

Example:

Case(When(Left(ProductName, 1) = '<', Replace(ProductName, '<span class="xxx">xx</span>', 'xx')),Else(ProductName))

I have used something similar to the above earlier. you can make use of it.

srujanar9645206
October 23, 2019

Thank for the help.. that worked for me