Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getProperty

Queries the value of a specific mailing property in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
NameStringName of the mailing property

Return values

Value of the mailing property

If the property is not set, NULL is returned. See also setProperty.

Code structure

String getProperty(String sessionId, long mailingId, String name)