Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8905

foreach loop in transformation

$
0
0
I want to link tags inside my smart search transformation. This line is returning only text of the tags {% count=0; foreach(x in GetSearchValue(@DocumentTags@).Split(@,@, true)){count += 1;GetSearchValue(@DocumentTags@).Split(@,@)[count-1];}%}how do I link it with @a href@ tag as its just one line and I lost the variable if i split the line.

Viewing all articles
Browse latest Browse all 8905

Trending Articles