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

getFilename

Queries the file name of an attachment in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment

Return values

File name of the attachment

Code structure

String getFilename(String sessionId, long attachmentId)