Loading...
Area: Optimizely Campaign
Applies to versions: Not applicable

getParent

Recommended reading 

Queries the ID of a parent folder in Optimizely Campaign.

Type: long

Parameters

Name Type Value

sessionId

String

ID of the current session

folderId

String

ID of the queried folder

Return values

ID of the parent folder

If the queried folder does not have a parent folder, -1 is returned.

Code structure

long getParent(String sessionId, long folderId)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading