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

setFilename

Defines the file name of an attachment in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment
filenameStringFile name to be used for the attachment

Return values

  • Code structure

    void setFilename(String sessionId, long attachmentId, String filename)