Macro If condition
Check if a textbox is having any value or not
{% if(CurrentDocument.WebpartID.ToString() == "")
{
return "True";
}else{
return "False";
}
#%}
{%(documentpagetitle=="")?prefix +"-"+pagetitle_orelse_name:documentpagetitle%}