HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)
    

What’s Next
Did this page help you?