#LOCAL("UserDefinedAttributes", #FUNCTION("GetVisibleUserDefinedAttributes", #Object, "false")) #IF(#COUNT(#UserDefinedAttributes))
#Attribute.NameOrAlias |
|
---|---|
#Attribute.NameOrAlias | #IF(#Attribute.Type EQ "Boolean") #IF(#Value) {yes}#ELSE {no}#ENDIF #ELSIF(#Attribute.Type EQ "PreDefString" OR #Attribute.Type EQ "PreDefLocalizedString" ) #Value.ValueOrAlias #ELSIF(#Attribute.Type EQ "File" OR #Attribute.Type EQ "LocalizedFile" ) {Download} #ELSIF(#Attribute.Type EQ "Money") #Value[money] #ELSIF(#Attribute.IsHTML) #Value[0] #ELSIF(#Attribute.Type EQ "Date") #Value[date] #ELSIF(#Attribute.Type EQ "Time") #Value[time] #ELSIF(#Attribute.Type EQ "DateTime") #Value[datetime] #ELSIF(#Attribute.Type EQ "Integer") #Value[integer] #ELSIF(#Attribute.Type EQ "Float") #Value[float] #ELSE #Value #ENDIF |