Show item in active assembly but not publish out

In my global template I have a piece of ASP code which just includes an external file in one of the columns. During active assembly this include file won’t show. So is there a way to setup a velocity if statement saying something along the lines if in assembly show this, otherwise do this ??

Basically I need to see a column during active assembly but not publish that piece out during publishing.


This might help you somewhat:

I think $sys.activeAssembly is true if in Active Assembly. I’ve used it to hide stuff when in Active Assembly.

There is also a variable called $sys.ltActiveAssembly but I’m not sure what the difference is.


Thanks guys. The sys_context seems to do the trick. After doing some searching in the forum I came across this post

Which seems to do exactly what I"m looking for…