如果为空,我应该如何构造这个 AMPscript 以显示 1 个值,如果不是,则显示其他值?
%%[
/*Set Dynamic Image URL for Hours Field */
IF not empty (@Business_Hours__c ) THEN
SET @HoursImgURL = "URL1"
ELSE
SET @HoursImgURL = "URL2"
ENDIF
]%%
或者我应该使用:
IF Business_Hours__c == NULL THEN?