Disclaimer: This website requires 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

getDataSetFlat

Queries the values of each target group in Optimizely Campaign.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session

Return values

Values of the target groups

To assign the returned values to different target groups, use the getColumnNames method. With this method, you can determine the number of values of a target group.

Code structure

String[] getDataSetFlat(String sessionId)