Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Visible Macro View modes: 
User avatar
Member
Member
usmaan - 6/20/2013 10:17:34 AM
   
Visible Macro
I have a web part which I want to toggle to visible and invisible depending on a certain field on the DocumentType.

Something like this (Within the Visible property):

{%Eval("DisplayName")%} == "Video"



How do I make the above correct in terms of syntax?

User avatar
Certified Developer 13
Certified Developer 13
kentico-jx2tech - 6/20/2013 11:29:42 AM
   
RE:Visible Macro
try...
{%CurrentDocument.DisplayName == "Video"%}