SAP Analytics Cloud | Lite Viewer Unsupported APIs Version 2025.14
Contents
Lite Viewer Unsupported APIs
Optimized Story Experience API Reference Guide (Latest Quarterly Version)
Show All | Show Groups | Show Type Libraries
C
Application
isCommentModeEnabled
moveWidget
onInitialization
onOrientationChange
onPostMessageReceived
onResize
onShake
sendNotification
setCommentModeEnabled
setRefreshPaused
E
ApplicationMode
D
T
C
ApplicationPage
moveWidget
onOrientationChange
onShake
onStoryPopupClose
setRefreshPaused
O
Array
D
concat
copyWithin
fill
includes
indexOf
isArray
join
keys
lastIndexOf
length
pop
push
reverse
shift
slice
sort
splice
unshift
values
C
BackendCondition
C
BatchExportDataSource
T
setDimensionFilter
C
BpcPlanningSequence
execute
getBpcPlanningSequenceDataSource
onBeforeExecute
openPromptDialog
C
BpcPlanningSequenceDataSource
copyVariableValueFrom
getVariables
getVariableValues
removeVariableValue
setVariableValue
C
BpcPlanningSequenceExecutionResponse
status
E
BpcPlanningSequenceExecutionResponseStatus
D
T
Error
Success
C
BpcPlanningSequenceVariableInfo
description
id
isInputEnabled
C
CalendarCompositeTask
T
addReviewer
approve
canUserApprove
canUserDecline
canUserReject
canUserSubmit
decline
reject
removeReviewer
submit
C
CalendarCompositeTaskCreateOptions
T
autoActivate
C
CalendarCompositeTaskCreateProperties
T
assignees
contextFilters
dependencies
description
dueDate
endDate
name
owners
parentId
reminders
reviewers
startDate
workFiles
C
CalendarCompositeTaskReviewersProperties
C
CalendarContextFilter
T
hierarchy
members
C
CalendarDependencies
T
dependentOnIds
triggerStatuses
C
CalendarEvent
T
activate
addAssignee
addContextFilter
addOwner
addReminder
canUserReopen
getContextFilters
getDependencies
getDescription
getDueDate
getEndDate
getId
getName
getOwners
getParentId
getProgress
getReminders
getStartDate
getStatus
getType
hasUserRole
removeAssignee
removeContextFilter
removeOwner
removeReminder
reopen
sendImmediateReminder
setDependencies
setDescription
setEndDate
setName
setParentId
setProgress
setStartDate
C
CalendarEventCreateOptions
T
autoActivate
C
CalendarGeneralTask
T
canUserDecline
canUserSubmit
decline
submit
C
CalendarGeneralTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarIntegration
createCompositeTask
createGeneralTask
createProcess
createProcessFromTemplate
createReviewTask
getCalendarEventById
getCalendarTaskById
getCurrentEvent
getCurrentTask
getRelatedEventIds
getRelatedTaskIds
C
CalendarProcess
T
canUserDecline
canUserSubmit
decline
getChildren
submit
C
CalendarProcessCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarProcessFromTemplateCreateProperties
T
dependencies
endDate
parentId
prefix
startDate
suffix
useTypeBasedNames
C
CalendarReminder
T
measure
number
reference
E
CalendarReminderMeasureType
D
T
Day
HalfTime
Hour
Minute
E
CalendarReminderReferenceType
D
T
End
Start
C
CalendarReviewTask
T
approve
canUserApprove
canUserReject
reject
C
CalendarReviewTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
workFiles
E
CalendarTaskStatus
D
T
Canceled
Failed
Inactive
InProgress
NoAssignee
OnHold
Open
PartiallySuccessful
Successful
E
CalendarTaskType
D
T
CompositeTask
GeneralTask
Process
ReviewTask
E
CalendarTaskUserRoleType
D
T
Assignee
Owner
Reviewer
C
CalendarTaskWorkFile
id
type
E
CalendarTaskWorkFileType
D
T
AnalyticApplication
Story
F
cast
D
C
Chart
getDataChangeInsights
getForecast
getNumberFormat
getSmartGrouping
openInNewStory
openSelectModelDialog
setModel
C
ChartDataChangeInsights
T
getSubscriptionLevel
getSubscriptionRange
setSubscriptionLevel
setSubscriptionRange
C
ChartNumberFormat
T
setDecimalPlaces
setScaleFormat
setScaleUnit
setSignDisplay
C
CommentInfo
T
commentId
createdAt
createdBy
numberOfLikes
text
C
Commenting
T
getCommentingDataSource
C
CommentingDataSource
T
getDimensionFilters
removeDimensionFilter
setDimensionFilter
C
Composite
D
T
fireEvent
hideBusyIndicator
showBusyIndicator
O
console
D
log
C
CrossPagePopupSizeOptions
height
heightUnit
width
widthUnit
C
CurrentDateTime
D
T
C
DataAction
T
execute
executeInBackground
getExecutionProgress
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
DataActionAllMemberSelection
T
hierarchy
C
DataActionBackgroundExecutionResponse
executionId
status
E
DataActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
C
DataActionExecutionResponse
status
E
DataActionExecutionResponseStatus
D
T
Accepted
Canceled
Error
Queued
Running
Success
C
DataActionMemberParameterValue
T
members
C
DataActionNumberParameterValue
T
value
C
DataActionParameterValue
T
type
E
DataActionParameterValueType
D
T
All
Member
Number
PlanningModelMember
C
DataActionPlanningModelMemberParameterValue
T
hierarchy
members
C
DataActionTrigger
onBeforeExecute
C
DataBinding
T
addDimensionToFeed
addMemberToFeed
getDataSource
getDimensions
getLinkedAnalysis
getMembers
openSelectModelDialog
removeDimension
removeMember
setModel
C
DataBindings
getDataBinding
C
DataCell
C
DataChangeInsight
T
content
type
C
DataChangeInsights
compareApplicationStateWithSnapshot
compareSnapshots
getVersion
isRunBySnapshotGeneration
listRecentSnapshotDates
openSubscriptionDialog
saveSnapshot
C
DataChangeInsightsComparisonOptions
T
top
C
DataChangeInsightsResult
T
insights
status
statusMessage
E
DataChangeInsightsStatus
D
T
Error
Invalid
Ok
E
DataChangeInsightsSubscriptionLevel
D
T
C
DataChangeInsightsSubscriptionRange
E
DataChangeInsightType
D
T
TopNMemberChange
ValueChange
ValueChangeOverReferenceLine
ValueChangeOverThreshold
C
DataContext
T
description
formattedValue
id
parentId
properties
rawValue
C
DataLocking
getState
setState
E
DataLockingState
D
T
Locked
Mixed
Open
Restricted
C
DataSource
T
collapseNode
copyDimensionFilterFrom
copyVariableValueFrom
expandNode
getBackendCondition
getBackendConditions
getComments
getData
getDataSelections
getDimensionFilters
getDimensionProperties
getDimensions
getHierarchies
getHierarchy
getHierarchyLevel
getInfo
getMeasures
getMember
getMemberDisplayMode
getMembers
getRefreshPaused
getResultMember
getResultSet
getVariables
getVariableValues
isRefreshPaused
isResultEmpty
openPromptDialog
refreshData
removeDimensionFilter
removeVariableValue
setDimensionFilter
setHierarchy
setHierarchyLevel
setMemberDisplayMode
setRefreshPaused
setVariableValue
C
DataSourceComments
T
addComment
addComments
getAllComments
getComment
removeAllComments
removeComment
setCommentLiked
updateComment
C
DataSourceInfo
E
DataUploadExecutionResponseStatus
D
T
Canceled
Error
Success
Warning
O
Date
D
T
getDate
getDay
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
now
parse
setDate
setFullYear
setHours
setMilliseconds
setMinutes
setMonth
setSeconds
setTime
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
toDateString
toISOString
toJSON
toLocaleDateString
toLocaleTimeString
toTimeString
toUTCString
UTC
C
DateFormat
D
E
DeviceOrientation
D
T
Angle0
Angle180
Angle90Clockwise
Angle90Counterclockwise
C
DimensionInfo
C
DimensionPropertyInfo
E
Direction
D
T
C
Event
T
C
ExportPdf
excludeComponent
exportReport
getBatchExportDataSource
includeComponent
isBatchExportEnabled
isCommentsVisible
isExportInBackgroundEnabled
isReportIncluded
setBatchExportEnabled
setCommentsVisible
setExportInBackgroundEnabled
setReportIncluded
C
ExportPptx
getBatchExportDataSource
isBatchExportEnabled
setBatchExportEnabled
E
Feed
D
T
C
FileUploadTrigger
onAfterExecute
onBeforeExecute
C
FilterLine
T
setModel
C
FilterPanel
D
isVisible
setVisible
C
FilterValue
C
FlowPanel
moveWidget
C
Forecast
setNumberOfPeriods
setType
E
ForecastType
D
T
C
GeoMap
openInNewStory
C
HierarchyInfo
C
IChangedCell
context
newValue
oldValue
E
LayoutUnit
D
T
C
LayoutValue
D
T
Auto
unit
C
LinkedAnalysis
isDataPointSelectionEnabled
removeFilters
setFilters
O
Math
D
abs
acos
acosh
asin
asinh
atan
atan2
atanh
cbrt
ceil
clz32
cos
cosh
E
exp
expm1
floor
fround
hypot
imul
LN10
LN2
log
log10
LOG10E
log1p
log2
LOG2E
max
min
PI
pow
random
round
sign
sin
sinh
sqrt
SQRT1_2
SQRT2
tan
tanh
trunc
C
MeasureInfo
E
MemberDisplayMode
D
T
C
MemberInfo
C
MembersOptions
C
MultiAction
T
execute
executeInBackground
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
MultiActionAllMemberSelection
T
hierarchy
C
MultiActionBackgroundExecutionResponse
executionId
status
E
MultiActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
C
MultiActionDatetimeParameterValue
T
values
C
MultiActionExecutionResponse
message
status
E
MultiActionExecutionResponseStatus
D
T
Error
Running
Success
Warning
C
MultiActionMemberParameterValue
T
members
C
MultiActionNumberParameterValue
T
value
C
MultiActionParameterValue
T
type
E
MultiActionParameterValueType
D
T
All
Datetime
Member
Number
String
C
MultiActionStringParameterValue
T
values
C
MultiActionTrigger
onBeforeExecute
C
MultipleFilterValue
T
descriptions
exclude
values
C
MultipleVariableValue
T
exclude
values
C
NavigationPanelOptions
expanded
C
NavigationUtils
D
createApplicationUrl
createStoryUrl
openApplication
openDataAnalyzer
openInsight
openStory
openUrl
C
NotificationOptions
content
isSendEmail
isSendMobileNotification
mode
parameters
receivers
title
O
Number
D
EPSILON
isFinite
isInteger
isNaN
isSafeInteger
MAX_SAFE_INTEGER
MAX_VALUE
MIN_SAFE_INTEGER
MIN_VALUE
NEGATIVE_INFINITY
parseFloat
parseInt
POSITIVE_INFINITY
toExponential
toFixed
toPrecision
toString
C
NumberFormat
D
T
format
getDecimalSeparator
getGroupingSeparator
getMaximumDecimalPlaces
getMinimumDecimalPlaces
getScalingFactor
getScalingText
getSignDisplay
setDecimalSeparator
setGroupingSeparator
setMaximumDecimalPlaces
setMinimumDecimalPlaces
setScalingFactor
setScalingText
setSignDisplay
E
NumberFormatDisplayUnit
D
T
E
NumberFormatScaleFormat
D
T
E
NumberFormatScaleUnit
D
T
E
NumberFormatSignDisplay
D
T
C
ODataError
code
details
message
target
C
ODataQueryOptions
filter
orderby
select
skip
top
C
PageBook
T
getPage
getSelectedKey
hideBusyIndicator
moveWidget
onSelect
setSelectedKey
showBusyIndicator
C
PageBookPage
T
getKey
isVisible
setVisible
C
Panel
moveWidget
E
PauseMode
D
T
C
Planning
getDataLocking
getPlanningAreaInfo
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
isEnabled
setEnabled
setUserInput
submitData
C
PlanningAreaFilter
T
dimension
hierarchy
members
property
C
PlanningAreaInfo
T
changeFilter
getFilters
removeFilter
C
PlanningAreaMemberInfo
T
hierarchy
members
E
PlanningCategory
D
T
Actuals
Budget
Forecast
Planning
RollingForecast
E
PlanningCopyOption
D
T
AllData
CustomizedPlanningArea
NoData
PlanningArea
VisibleData
C
PlanningModel
createMembers
deleteMembers
getMember
getMembers
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
updateMembers
E
PlanningModelCopyOption
D
T
AllData
NoData
C
PlanningModelMember
T
dataLockingOwners
description
hierarchies
id
properties
readers
responsible
writers
C
PlanningModelMemberHierarchies
C
PlanningModelMemberHierarchy
parentId
previousSiblingId
C
PlanningModelMemberOptions
hierarchyId
limit
offset
parentId
C
PlanningModelMemberPrincipal
id
type
C
PlanningModelMemberProperties
C
PlanningModelPrivateVersion
T
getOwnerId
publish
publishAs
E
PlanningModelPublicEditOption
D
T
AllData
PlanningArea
C
PlanningModelPublicVersion
T
isDirty
publish
revert
startEditMode
updateProperty
C
PlanningModelVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
C
PlanningPrivateVersion
T
getOwnerId
publish
publishAs
E
PlanningPublicEditOption
D
T
AllData
CustomizedPlanningArea
PlanningArea
TableContextWithPlanningArea
C
PlanningPublicVersion
T
isDirty
publish
revert
startEditMode
C
PlanningVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
C
Popup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
C
PopupSizeOptions
height
heightUnit
width
widthUnit
E
PopupSizeUnit
D
T
Percent
Pixel
E
PrivatePublishConflict
D
T
PublishWithoutWarning
ShowWarning
C
PrivateVersionPublishOptions
privatePublishConflict
E
PublicPublishConflict
D
T
PublishWithoutWarning
RevertWithoutWarning
ShowWarning
C
PublicVersionPublishOptions
publicPublishConflict
C
Range
D
T
getEndValue
getStartValue
setEndValue
setStartValue
C
RangeFilterValue
C
RangeVariableValue
T
exclude
from
greater
greaterOrEqual
less
lessOrEqual
to
E
RankOrder
D
T
C
RDataFrame
T
getDataSource
C
REnvironmentValues
T
getNumber
C
ResultMemberInfo
C
ResultMemberProperties
C
ResultSet
C
RInputParameters
T
getNumber
getNumberArray
getString
getStringArray
setNumber
setNumberArray
setString
setStringArray
C
RssFeedInfo
T
title
url
C
RssReader
T
addFeed
getAllFeeds
getSelectedFeed
removeAllFeeds
removeFeed
setSelectedFeed
C
RVisualization
T
getDataFrame
getEnvironmentValues
getInputParameters
getMessages
getStatus
onResultChanged
openInNewStory
setContextMenuVisible
setHyperlink
setQuickActionsVisibility
C
RVisualizationQuickActionsVisibility
addComment
fullscreen
rDetail
E
RVisualizationStatus
D
T
Error
Running
Success
C
Scheduling
D
isRunBySchedulePublication
logMessage
openSubscriptionDialog
publish
E
SchedulingMessageType
D
T
Error
Info
Warning
C
SearchToInsight
applySearchToChart
closeDialog
getVariables
openDialog
setVariableValue
E
SearchToInsightDialogMode
D
T
Advanced
Simple
C
Selection
C
SelectionContext
C
SetModelOptions
T
suppressPromptDialog
C
SetVariableValueOptions
C
Shape
setStyle
C
ShapeStyle
fillColor
lineColor
C
SingleFilterValue
T
description
exclude
value
C
SingleVariableValue
T
exclude
value
C
SmartGrouping
T
setGroupLabel
setNumberOfGroups
setTooltipFeedsIncluded
setTooltipMeasureIncluded
setVisible
E
SortOrder
D
T
C
StoryPopup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onOpen
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
O
String
D
charAt
charCodeAt
codePointAt
concat
endsWith
includes
indexOf
lastIndexOf
length
localeCompare
normalize
repeat
replace
slice
split
startsWith
substr
substring
toLocaleLowerCase
toLocaleUpperCase
toLowerCase
toUpperCase
trim
C
Table
T
addDimensionToColumns
addDimensionToRows
closeNavigationPanel
getComments
getNumberFormat
getPlanning
getSelections
onAfterDataEntryProcess
openDataAnalyzer
openInNewStory
openNavigationPanel
openSelectModelDialog
rankBy
removeDimension
removeRanking
removeSorting
setBreakGroupingEnabled
setModel
setQuickActionsVisibility
sortByMember
sortByValue
E
TableAxis
D
T
C
TableComments
T
addComment
addComments
getAllComments
getComment
getDimensionComment
removeAllComments
removeComment
removeDimensionComment
setCommentLiked
setDimensionComment
updateComment
C
TableNumberFormat
T
setDecimalPlaces
setDisplayUnit
setScaleFormat
setScaleUnit
setSignDisplay
C
TableQuickActionsVisibility
addClientCalculation
addClientRowColumn
addComment
addMember
conditions
dataLocks
displayOptions
distributeValue
drill
exporting
filter
freeze
fullscreen
gotoHyperLink
lockCell
massDataEntry
publish
rank
removeCellReference
revert
selectConversions
selectHierarchy
showHide
sort
swapAxis
tableDetail
undoRedoDataChange
valueLockManagement
version
versionHistory
C
TableRankOptions
applyToEachDimension
direction
rankOrder
relatedDimensions
value
C
TabStrip
moveWidget
C
TimeRange
D
E
Type
D
T
boolean
integer
number
string
O
undefined
D
C
UrlParameter
D
T
E
UrlType
D
T
C
UserInfo
T
displayName
id
E
UserType
D
T
Team
User
C
ValueDriverTree
T
C
VariableInfo
C
VariableValue
C
WebPage
T
postMessage
setAddress
C
Widget
Components
C
Application
isCommentModeEnabled
moveWidget
onInitialization
onOrientationChange
onPostMessageReceived
onResize
onShake
sendNotification
setCommentModeEnabled
setRefreshPaused
C
ApplicationPage
moveWidget
onOrientationChange
onShake
onStoryPopupClose
setRefreshPaused
C
BackendCondition
C
BatchExportDataSource
T
setDimensionFilter
C
BpcPlanningSequence
execute
getBpcPlanningSequenceDataSource
onBeforeExecute
openPromptDialog
C
BpcPlanningSequenceDataSource
copyVariableValueFrom
getVariables
getVariableValues
removeVariableValue
setVariableValue
C
BpcPlanningSequenceExecutionResponse
status
C
BpcPlanningSequenceVariableInfo
description
id
isInputEnabled
C
CalendarCompositeTask
T
addReviewer
approve
canUserApprove
canUserDecline
canUserReject
canUserSubmit
decline
reject
removeReviewer
submit
C
CalendarCompositeTaskCreateOptions
T
autoActivate
C
CalendarCompositeTaskCreateProperties
T
assignees
contextFilters
dependencies
description
dueDate
endDate
name
owners
parentId
reminders
reviewers
startDate
workFiles
C
CalendarCompositeTaskReviewersProperties
C
CalendarContextFilter
T
hierarchy
members
C
CalendarDependencies
T
dependentOnIds
triggerStatuses
C
CalendarEvent
T
activate
addAssignee
addContextFilter
addOwner
addReminder
canUserReopen
getContextFilters
getDependencies
getDescription
getDueDate
getEndDate
getId
getName
getOwners
getParentId
getProgress
getReminders
getStartDate
getStatus
getType
hasUserRole
removeAssignee
removeContextFilter
removeOwner
removeReminder
reopen
sendImmediateReminder
setDependencies
setDescription
setEndDate
setName
setParentId
setProgress
setStartDate
C
CalendarEventCreateOptions
T
autoActivate
C
CalendarGeneralTask
T
canUserDecline
canUserSubmit
decline
submit
C
CalendarGeneralTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarIntegration
createCompositeTask
createGeneralTask
createProcess
createProcessFromTemplate
createReviewTask
getCalendarEventById
getCalendarTaskById
getCurrentEvent
getCurrentTask
getRelatedEventIds
getRelatedTaskIds
C
CalendarProcess
T
canUserDecline
canUserSubmit
decline
getChildren
submit
C
CalendarProcessCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarProcessFromTemplateCreateProperties
T
dependencies
endDate
parentId
prefix
startDate
suffix
useTypeBasedNames
C
CalendarReminder
T
measure
number
reference
C
CalendarReviewTask
T
approve
canUserApprove
canUserReject
reject
C
CalendarReviewTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
workFiles
C
CalendarTaskWorkFile
id
type
C
Chart
getDataChangeInsights
getForecast
getNumberFormat
getSmartGrouping
openInNewStory
openSelectModelDialog
setModel
C
ChartDataChangeInsights
T
getSubscriptionLevel
getSubscriptionRange
setSubscriptionLevel
setSubscriptionRange
C
ChartNumberFormat
T
setDecimalPlaces
setScaleFormat
setScaleUnit
setSignDisplay
C
CommentInfo
T
commentId
createdAt
createdBy
numberOfLikes
text
C
Commenting
T
getCommentingDataSource
C
CommentingDataSource
T
getDimensionFilters
removeDimensionFilter
setDimensionFilter
C
Composite
D
T
fireEvent
hideBusyIndicator
showBusyIndicator
C
CrossPagePopupSizeOptions
height
heightUnit
width
widthUnit
C
CurrentDateTime
D
T
C
DataAction
T
execute
executeInBackground
getExecutionProgress
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
DataActionAllMemberSelection
T
hierarchy
C
DataActionBackgroundExecutionResponse
executionId
status
C
DataActionExecutionResponse
status
C
DataActionMemberParameterValue
T
members
C
DataActionNumberParameterValue
T
value
C
DataActionParameterValue
T
type
C
DataActionPlanningModelMemberParameterValue
T
hierarchy
members
C
DataActionTrigger
onBeforeExecute
C
DataBinding
T
addDimensionToFeed
addMemberToFeed
getDataSource
getDimensions
getLinkedAnalysis
getMembers
openSelectModelDialog
removeDimension
removeMember
setModel
C
DataBindings
getDataBinding
C
DataCell
C
DataChangeInsight
T
content
type
C
DataChangeInsights
compareApplicationStateWithSnapshot
compareSnapshots
getVersion
isRunBySnapshotGeneration
listRecentSnapshotDates
openSubscriptionDialog
saveSnapshot
C
DataChangeInsightsComparisonOptions
T
top
C
DataChangeInsightsResult
T
insights
status
statusMessage
C
DataChangeInsightsSubscriptionRange
C
DataContext
T
description
formattedValue
id
parentId
properties
rawValue
C
DataLocking
getState
setState
C
DataSource
T
collapseNode
copyDimensionFilterFrom
copyVariableValueFrom
expandNode
getBackendCondition
getBackendConditions
getComments
getData
getDataSelections
getDimensionFilters
getDimensionProperties
getDimensions
getHierarchies
getHierarchy
getHierarchyLevel
getInfo
getMeasures
getMember
getMemberDisplayMode
getMembers
getRefreshPaused
getResultMember
getResultSet
getVariables
getVariableValues
isRefreshPaused
isResultEmpty
openPromptDialog
refreshData
removeDimensionFilter
removeVariableValue
setDimensionFilter
setHierarchy
setHierarchyLevel
setMemberDisplayMode
setRefreshPaused
setVariableValue
C
DataSourceComments
T
addComment
addComments
getAllComments
getComment
removeAllComments
removeComment
setCommentLiked
updateComment
C
DataSourceInfo
C
DateFormat
D
C
DimensionInfo
C
DimensionPropertyInfo
C
Event
T
C
ExportPdf
excludeComponent
exportReport
getBatchExportDataSource
includeComponent
isBatchExportEnabled
isCommentsVisible
isExportInBackgroundEnabled
isReportIncluded
setBatchExportEnabled
setCommentsVisible
setExportInBackgroundEnabled
setReportIncluded
C
ExportPptx
getBatchExportDataSource
isBatchExportEnabled
setBatchExportEnabled
C
FileUploadTrigger
onAfterExecute
onBeforeExecute
C
FilterLine
T
setModel
C
FilterPanel
D
isVisible
setVisible
C
FilterValue
C
FlowPanel
moveWidget
C
Forecast
setNumberOfPeriods
setType
C
GeoMap
openInNewStory
C
HierarchyInfo
C
IChangedCell
context
newValue
oldValue
C
LayoutValue
D
T
Auto
unit
C
LinkedAnalysis
isDataPointSelectionEnabled
removeFilters
setFilters
C
MeasureInfo
C
MemberInfo
C
MembersOptions
C
MultiAction
T
execute
executeInBackground
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
MultiActionAllMemberSelection
T
hierarchy
C
MultiActionBackgroundExecutionResponse
executionId
status
C
MultiActionDatetimeParameterValue
T
values
C
MultiActionExecutionResponse
message
status
C
MultiActionMemberParameterValue
T
members
C
MultiActionNumberParameterValue
T
value
C
MultiActionParameterValue
T
type
C
MultiActionStringParameterValue
T
values
C
MultiActionTrigger
onBeforeExecute
C
MultipleFilterValue
T
descriptions
exclude
values
C
MultipleVariableValue
T
exclude
values
C
NavigationPanelOptions
expanded
C
NavigationUtils
D
createApplicationUrl
createStoryUrl
openApplication
openDataAnalyzer
openInsight
openStory
openUrl
C
NotificationOptions
content
isSendEmail
isSendMobileNotification
mode
parameters
receivers
title
C
NumberFormat
D
T
format
getDecimalSeparator
getGroupingSeparator
getMaximumDecimalPlaces
getMinimumDecimalPlaces
getScalingFactor
getScalingText
getSignDisplay
setDecimalSeparator
setGroupingSeparator
setMaximumDecimalPlaces
setMinimumDecimalPlaces
setScalingFactor
setScalingText
setSignDisplay
C
ODataError
code
details
message
target
C
ODataQueryOptions
filter
orderby
select
skip
top
C
PageBook
T
getPage
getSelectedKey
hideBusyIndicator
moveWidget
onSelect
setSelectedKey
showBusyIndicator
C
PageBookPage
T
getKey
isVisible
setVisible
C
Panel
moveWidget
C
Planning
getDataLocking
getPlanningAreaInfo
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
isEnabled
setEnabled
setUserInput
submitData
C
PlanningAreaFilter
T
dimension
hierarchy
members
property
C
PlanningAreaInfo
T
changeFilter
getFilters
removeFilter
C
PlanningAreaMemberInfo
T
hierarchy
members
C
PlanningModel
createMembers
deleteMembers
getMember
getMembers
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
updateMembers
C
PlanningModelMember
T
dataLockingOwners
description
hierarchies
id
properties
readers
responsible
writers
C
PlanningModelMemberHierarchies
C
PlanningModelMemberHierarchy
parentId
previousSiblingId
C
PlanningModelMemberOptions
hierarchyId
limit
offset
parentId
C
PlanningModelMemberPrincipal
id
type
C
PlanningModelMemberProperties
C
PlanningModelPrivateVersion
T
getOwnerId
publish
publishAs
C
PlanningModelPublicVersion
T
isDirty
publish
revert
startEditMode
updateProperty
C
PlanningModelVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
C
PlanningPrivateVersion
T
getOwnerId
publish
publishAs
C
PlanningPublicVersion
T
isDirty
publish
revert
startEditMode
C
PlanningVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
C
Popup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
C
PopupSizeOptions
height
heightUnit
width
widthUnit
C
PrivateVersionPublishOptions
privatePublishConflict
C
PublicVersionPublishOptions
publicPublishConflict
C
Range
D
T
getEndValue
getStartValue
setEndValue
setStartValue
C
RangeFilterValue
C
RangeVariableValue
T
exclude
from
greater
greaterOrEqual
less
lessOrEqual
to
C
RDataFrame
T
getDataSource
C
REnvironmentValues
T
getNumber
C
ResultMemberInfo
C
ResultMemberProperties
C
ResultSet
C
RInputParameters
T
getNumber
getNumberArray
getString
getStringArray
setNumber
setNumberArray
setString
setStringArray
C
RssFeedInfo
T
title
url
C
RssReader
T
addFeed
getAllFeeds
getSelectedFeed
removeAllFeeds
removeFeed
setSelectedFeed
C
RVisualization
T
getDataFrame
getEnvironmentValues
getInputParameters
getMessages
getStatus
onResultChanged
openInNewStory
setContextMenuVisible
setHyperlink
setQuickActionsVisibility
C
RVisualizationQuickActionsVisibility
addComment
fullscreen
rDetail
C
Scheduling
D
isRunBySchedulePublication
logMessage
openSubscriptionDialog
publish
C
SearchToInsight
applySearchToChart
closeDialog
getVariables
openDialog
setVariableValue
C
Selection
C
SelectionContext
C
SetModelOptions
T
suppressPromptDialog
C
SetVariableValueOptions
C
Shape
setStyle
C
ShapeStyle
fillColor
lineColor
C
SingleFilterValue
T
description
exclude
value
C
SingleVariableValue
T
exclude
value
C
SmartGrouping
T
setGroupLabel
setNumberOfGroups
setTooltipFeedsIncluded
setTooltipMeasureIncluded
setVisible
C
StoryPopup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onOpen
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
C
Table
T
addDimensionToColumns
addDimensionToRows
closeNavigationPanel
getComments
getNumberFormat
getPlanning
getSelections
onAfterDataEntryProcess
openDataAnalyzer
openInNewStory
openNavigationPanel
openSelectModelDialog
rankBy
removeDimension
removeRanking
removeSorting
setBreakGroupingEnabled
setModel
setQuickActionsVisibility
sortByMember
sortByValue
C
TableComments
T
addComment
addComments
getAllComments
getComment
getDimensionComment
removeAllComments
removeComment
removeDimensionComment
setCommentLiked
setDimensionComment
updateComment
C
TableNumberFormat
T
setDecimalPlaces
setDisplayUnit
setScaleFormat
setScaleUnit
setSignDisplay
C
TableQuickActionsVisibility
addClientCalculation
addClientRowColumn
addComment
addMember
conditions
dataLocks
displayOptions
distributeValue
drill
exporting
filter
freeze
fullscreen
gotoHyperLink
lockCell
massDataEntry
publish
rank
removeCellReference
revert
selectConversions
selectHierarchy
showHide
sort
swapAxis
tableDetail
undoRedoDataChange
valueLockManagement
version
versionHistory
C
TableRankOptions
applyToEachDimension
direction
rankOrder
relatedDimensions
value
C
TabStrip
moveWidget
C
TimeRange
D
C
UrlParameter
D
T
C
UserInfo
T
displayName
id
C
ValueDriverTree
T
C
VariableInfo
C
VariableValue
C
WebPage
T
postMessage
setAddress
C
Widget
Enumerations
E
ApplicationMode
D
T
E
BpcPlanningSequenceExecutionResponseStatus
D
T
Error
Success
E
CalendarReminderMeasureType
D
T
Day
HalfTime
Hour
Minute
E
CalendarReminderReferenceType
D
T
End
Start
E
CalendarTaskStatus
D
T
Canceled
Failed
Inactive
InProgress
NoAssignee
OnHold
Open
PartiallySuccessful
Successful
E
CalendarTaskType
D
T
CompositeTask
GeneralTask
Process
ReviewTask
E
CalendarTaskUserRoleType
D
T
Assignee
Owner
Reviewer
E
CalendarTaskWorkFileType
D
T
AnalyticApplication
Story
E
DataActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
E
DataActionExecutionResponseStatus
D
T
Accepted
Canceled
Error
Queued
Running
Success
E
DataActionParameterValueType
D
T
All
Member
Number
PlanningModelMember
E
DataChangeInsightsStatus
D
T
Error
Invalid
Ok
E
DataChangeInsightsSubscriptionLevel
D
T
E
DataChangeInsightType
D
T
TopNMemberChange
ValueChange
ValueChangeOverReferenceLine
ValueChangeOverThreshold
E
DataLockingState
D
T
Locked
Mixed
Open
Restricted
E
DataUploadExecutionResponseStatus
D
T
Canceled
Error
Success
Warning
E
DeviceOrientation
D
T
Angle0
Angle180
Angle90Clockwise
Angle90Counterclockwise
E
Direction
D
T
E
Feed
D
T
E
ForecastType
D
T
E
LayoutUnit
D
T
E
MemberDisplayMode
D
T
E
MultiActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
E
MultiActionExecutionResponseStatus
D
T
Error
Running
Success
Warning
E
MultiActionParameterValueType
D
T
All
Datetime
Member
Number
String
E
NumberFormatDisplayUnit
D
T
E
NumberFormatScaleFormat
D
T
E
NumberFormatScaleUnit
D
T
E
NumberFormatSignDisplay
D
T
E
PauseMode
D
T
E
PlanningCategory
D
T
Actuals
Budget
Forecast
Planning
RollingForecast
E
PlanningCopyOption
D
T
AllData
CustomizedPlanningArea
NoData
PlanningArea
VisibleData
E
PlanningModelCopyOption
D
T
AllData
NoData
E
PlanningModelPublicEditOption
D
T
AllData
PlanningArea
E
PlanningPublicEditOption
D
T
AllData
CustomizedPlanningArea
PlanningArea
TableContextWithPlanningArea
E
PopupSizeUnit
D
T
Percent
Pixel
E
PrivatePublishConflict
D
T
PublishWithoutWarning
ShowWarning
E
PublicPublishConflict
D
T
PublishWithoutWarning
RevertWithoutWarning
ShowWarning
E
RankOrder
D
T
E
RVisualizationStatus
D
T
Error
Running
Success
E
SchedulingMessageType
D
T
Error
Info
Warning
E
SearchToInsightDialogMode
D
T
Advanced
Simple
E
SortOrder
D
T
E
TableAxis
D
T
E
Type
D
T
boolean
integer
number
string
E
UrlType
D
T
E
UserType
D
T
Team
User
Functions
F
cast
D
Others
O
Array
D
concat
copyWithin
fill
includes
indexOf
isArray
join
keys
lastIndexOf
length
pop
push
reverse
shift
slice
sort
splice
unshift
values
O
console
D
log
O
Date
D
T
getDate
getDay
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
now
parse
setDate
setFullYear
setHours
setMilliseconds
setMinutes
setMonth
setSeconds
setTime
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
toDateString
toISOString
toJSON
toLocaleDateString
toLocaleTimeString
toTimeString
toUTCString
UTC
O
Math
D
abs
acos
acosh
asin
asinh
atan
atan2
atanh
cbrt
ceil
clz32
cos
cosh
E
exp
expm1
floor
fround
hypot
imul
LN10
LN2
log
log10
LOG10E
log1p
log2
LOG2E
max
min
PI
pow
random
round
sign
sin
sinh
sqrt
SQRT1_2
SQRT2
tan
tanh
trunc
O
Number
D
EPSILON
isFinite
isInteger
isNaN
isSafeInteger
MAX_SAFE_INTEGER
MAX_VALUE
MIN_SAFE_INTEGER
MIN_VALUE
NEGATIVE_INFINITY
parseFloat
parseInt
POSITIVE_INFINITY
toExponential
toFixed
toPrecision
toString
O
String
D
charAt
charCodeAt
codePointAt
concat
endsWith
includes
indexOf
lastIndexOf
length
localeCompare
normalize
repeat
replace
slice
split
startsWith
substr
substring
toLocaleLowerCase
toLocaleUpperCase
toLowerCase
toUpperCase
trim
O
undefined
D
advanced-controls
C
GeoMap
openInNewStory
C
RDataFrame
T
getDataSource
C
REnvironmentValues
T
getNumber
C
RInputParameters
T
getNumber
getNumberArray
getString
getStringArray
setNumber
setNumberArray
setString
setStringArray
C
RVisualization
T
getDataFrame
getEnvironmentValues
getInputParameters
getMessages
getStatus
onResultChanged
openInNewStory
setContextMenuVisible
setHyperlink
setQuickActionsVisibility
C
RVisualizationQuickActionsVisibility
addComment
fullscreen
rDetail
E
RVisualizationStatus
D
T
Error
Running
Success
calendar-integration
C
CalendarCompositeTask
T
addReviewer
approve
canUserApprove
canUserDecline
canUserReject
canUserSubmit
decline
reject
removeReviewer
submit
C
CalendarCompositeTaskCreateOptions
T
autoActivate
C
CalendarCompositeTaskCreateProperties
T
assignees
contextFilters
dependencies
description
dueDate
endDate
name
owners
parentId
reminders
reviewers
startDate
workFiles
C
CalendarCompositeTaskReviewersProperties
C
CalendarContextFilter
T
hierarchy
members
C
CalendarDependencies
T
dependentOnIds
triggerStatuses
C
CalendarEvent
T
activate
addAssignee
addContextFilter
addOwner
addReminder
canUserReopen
getContextFilters
getDependencies
getDescription
getDueDate
getEndDate
getId
getName
getOwners
getParentId
getProgress
getReminders
getStartDate
getStatus
getType
hasUserRole
removeAssignee
removeContextFilter
removeOwner
removeReminder
reopen
sendImmediateReminder
setDependencies
setDescription
setEndDate
setName
setParentId
setProgress
setStartDate
C
CalendarEventCreateOptions
T
autoActivate
C
CalendarGeneralTask
T
canUserDecline
canUserSubmit
decline
submit
C
CalendarGeneralTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarIntegration
createCompositeTask
createGeneralTask
createProcess
createProcessFromTemplate
createReviewTask
getCalendarEventById
getCalendarTaskById
getCurrentEvent
getCurrentTask
getRelatedEventIds
getRelatedTaskIds
C
CalendarProcess
T
canUserDecline
canUserSubmit
decline
getChildren
submit
C
CalendarProcessCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
startDate
workFiles
C
CalendarProcessFromTemplateCreateProperties
T
dependencies
endDate
parentId
prefix
startDate
suffix
useTypeBasedNames
C
CalendarReminder
T
measure
number
reference
E
CalendarReminderMeasureType
D
T
Day
HalfTime
Hour
Minute
E
CalendarReminderReferenceType
D
T
End
Start
C
CalendarReviewTask
T
approve
canUserApprove
canUserReject
reject
C
CalendarReviewTaskCreateProperties
T
assignees
contextFilters
dependencies
description
endDate
name
owners
parentId
reminders
workFiles
E
CalendarTaskStatus
D
T
Canceled
Failed
Inactive
InProgress
NoAssignee
OnHold
Open
PartiallySuccessful
Successful
E
CalendarTaskType
D
T
CompositeTask
GeneralTask
Process
ReviewTask
E
CalendarTaskUserRoleType
D
T
Assignee
Owner
Reviewer
C
CalendarTaskWorkFile
id
type
E
CalendarTaskWorkFileType
D
T
AnalyticApplication
Story
chart
C
Chart
getDataChangeInsights
getForecast
getNumberFormat
getSmartGrouping
openInNewStory
openSelectModelDialog
setModel
C
ChartDataChangeInsights
T
getSubscriptionLevel
getSubscriptionRange
setSubscriptionLevel
setSubscriptionRange
C
ChartNumberFormat
T
setDecimalPlaces
setScaleFormat
setScaleUnit
setSignDisplay
E
DataChangeInsightsSubscriptionLevel
D
T
C
DataChangeInsightsSubscriptionRange
E
Feed
D
T
C
Forecast
setNumberOfPeriods
setType
E
ForecastType
D
T
C
SmartGrouping
T
setGroupLabel
setNumberOfGroups
setTooltipFeedsIncluded
setTooltipMeasureIncluded
setVisible
containers
C
Composite
D
T
fireEvent
hideBusyIndicator
showBusyIndicator
C
FlowPanel
moveWidget
C
PageBook
T
getPage
getSelectedKey
hideBusyIndicator
moveWidget
onSelect
setSelectedKey
showBusyIndicator
C
PageBookPage
T
getKey
isVisible
setVisible
C
Panel
moveWidget
C
Popup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
C
TabStrip
moveWidget
data-action
C
DataAction
T
execute
executeInBackground
getExecutionProgress
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
DataActionAllMemberSelection
T
hierarchy
C
DataActionBackgroundExecutionResponse
executionId
status
E
DataActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
C
DataActionExecutionResponse
status
E
DataActionExecutionResponseStatus
D
T
Accepted
Canceled
Error
Queued
Running
Success
C
DataActionMemberParameterValue
T
members
C
DataActionNumberParameterValue
T
value
C
DataActionParameterValue
T
type
E
DataActionParameterValueType
D
T
All
Member
Number
PlanningModelMember
data-binding
C
DataBinding
T
addDimensionToFeed
addMemberToFeed
getDataSource
getDimensions
getLinkedAnalysis
getMembers
openSelectModelDialog
removeDimension
removeMember
setModel
C
DataBindings
getDataBinding
C
LinkedAnalysis
isDataPointSelectionEnabled
removeFilters
setFilters
data-change-insights
C
DataChangeInsight
T
content
type
C
DataChangeInsights
compareApplicationStateWithSnapshot
compareSnapshots
getVersion
isRunBySnapshotGeneration
listRecentSnapshotDates
openSubscriptionDialog
saveSnapshot
C
DataChangeInsightsComparisonOptions
T
top
C
DataChangeInsightsResult
T
insights
status
statusMessage
E
DataChangeInsightsStatus
D
T
Error
Invalid
Ok
E
DataChangeInsightType
D
T
TopNMemberChange
ValueChange
ValueChangeOverReferenceLine
ValueChangeOverThreshold
datasource
C
CommentInfo
T
commentId
createdAt
createdBy
numberOfLikes
text
C
DataCell
C
DataContext
T
description
formattedValue
id
parentId
properties
rawValue
C
DataSource
T
collapseNode
copyDimensionFilterFrom
copyVariableValueFrom
expandNode
getBackendCondition
getBackendConditions
getComments
getData
getDataSelections
getDimensionFilters
getDimensionProperties
getDimensions
getHierarchies
getHierarchy
getHierarchyLevel
getInfo
getMeasures
getMember
getMemberDisplayMode
getMembers
getRefreshPaused
getResultMember
getResultSet
getVariables
getVariableValues
isRefreshPaused
isResultEmpty
openPromptDialog
refreshData
removeDimensionFilter
removeVariableValue
setDimensionFilter
setHierarchy
setHierarchyLevel
setMemberDisplayMode
setRefreshPaused
setVariableValue
C
DataSourceComments
T
addComment
addComments
getAllComments
getComment
removeAllComments
removeComment
setCommentLiked
updateComment
C
DataSourceInfo
C
DimensionInfo
C
DimensionPropertyInfo
C
FilterValue
C
HierarchyInfo
C
MeasureInfo
E
MemberDisplayMode
D
T
C
MemberInfo
C
MembersOptions
C
MultipleFilterValue
T
descriptions
exclude
values
C
MultipleVariableValue
T
exclude
values
E
PauseMode
D
T
C
RangeFilterValue
C
RangeVariableValue
T
exclude
from
greater
greaterOrEqual
less
lessOrEqual
to
E
RankOrder
D
T
C
ResultMemberInfo
C
ResultMemberProperties
C
ResultSet
C
Selection
C
SelectionContext
C
SetVariableValueOptions
C
SingleFilterValue
T
description
exclude
value
C
SingleVariableValue
T
exclude
value
E
SortOrder
D
T
C
TimeRange
D
C
VariableInfo
C
VariableValue
datasource-controls
C
FilterLine
T
setModel
exportpdf
C
ExportPdf
excludeComponent
exportReport
getBatchExportDataSource
includeComponent
isBatchExportEnabled
isCommentsVisible
isExportInBackgroundEnabled
isReportIncluded
setBatchExportEnabled
setCommentsVisible
setExportInBackgroundEnabled
setReportIncluded
exportpptx
C
ExportPptx
getBatchExportDataSource
isBatchExportEnabled
setBatchExportEnabled
input-controls
C
Range
D
T
getEndValue
getStartValue
setEndValue
setStartValue
multi-action
C
MultiAction
T
execute
executeInBackground
getParameterValue
isAllMembersSelected
onExecutionStatusUpdate
setAllMembersSelected
setParameterValue
C
MultiActionAllMemberSelection
T
hierarchy
C
MultiActionBackgroundExecutionResponse
executionId
status
E
MultiActionBackgroundExecutionResponseStatus
D
T
Accepted
Error
C
MultiActionDatetimeParameterValue
T
values
C
MultiActionExecutionResponse
message
status
E
MultiActionExecutionResponseStatus
D
T
Error
Running
Success
Warning
C
MultiActionMemberParameterValue
T
members
C
MultiActionNumberParameterValue
T
value
C
MultiActionParameterValue
T
type
E
MultiActionParameterValueType
D
T
All
Datetime
Member
Number
String
C
MultiActionStringParameterValue
T
values
oDataService
C
ODataError
code
details
message
target
C
ODataQueryOptions
filter
orderby
select
skip
top
planning
C
BpcPlanningSequence
execute
getBpcPlanningSequenceDataSource
onBeforeExecute
openPromptDialog
C
BpcPlanningSequenceDataSource
copyVariableValueFrom
getVariables
getVariableValues
removeVariableValue
setVariableValue
C
BpcPlanningSequenceExecutionResponse
status
E
BpcPlanningSequenceExecutionResponseStatus
D
T
Error
Success
C
BpcPlanningSequenceVariableInfo
description
id
isInputEnabled
C
DataActionTrigger
onBeforeExecute
C
DataLocking
getState
setState
E
DataLockingState
D
T
Locked
Mixed
Open
Restricted
E
DataUploadExecutionResponseStatus
D
T
Canceled
Error
Success
Warning
C
FileUploadTrigger
onAfterExecute
onBeforeExecute
C
MultiActionTrigger
onBeforeExecute
C
Planning
getDataLocking
getPlanningAreaInfo
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
isEnabled
setEnabled
setUserInput
submitData
C
PlanningAreaFilter
T
dimension
hierarchy
members
property
C
PlanningAreaInfo
T
changeFilter
getFilters
removeFilter
C
PlanningAreaMemberInfo
T
hierarchy
members
E
PlanningCategory
D
T
Actuals
Budget
Forecast
Planning
RollingForecast
E
PlanningCopyOption
D
T
AllData
CustomizedPlanningArea
NoData
PlanningArea
VisibleData
C
PlanningPrivateVersion
T
getOwnerId
publish
publishAs
E
PlanningPublicEditOption
D
T
AllData
CustomizedPlanningArea
PlanningArea
TableContextWithPlanningArea
C
PlanningPublicVersion
T
isDirty
publish
revert
startEditMode
C
PlanningVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
E
PrivatePublishConflict
D
T
PublishWithoutWarning
ShowWarning
C
PrivateVersionPublishOptions
privatePublishConflict
E
PublicPublishConflict
D
T
PublishWithoutWarning
RevertWithoutWarning
ShowWarning
C
PublicVersionPublishOptions
publicPublishConflict
planning-model
C
PlanningModel
createMembers
deleteMembers
getMember
getMembers
getPrivateVersion
getPrivateVersions
getPublicVersion
getPublicVersions
updateMembers
C
PlanningModelMember
T
dataLockingOwners
description
hierarchies
id
properties
readers
responsible
writers
C
PlanningModelMemberHierarchies
C
PlanningModelMemberHierarchy
parentId
previousSiblingId
C
PlanningModelMemberOptions
hierarchyId
limit
offset
parentId
C
PlanningModelMemberPrincipal
id
type
C
PlanningModelMemberProperties
search-to-insight
C
SearchToInsight
applySearchToChart
closeDialog
getVariables
openDialog
setVariableValue
E
SearchToInsightDialogMode
D
T
Advanced
Simple
standard
C
Application
isCommentModeEnabled
moveWidget
onInitialization
onOrientationChange
onPostMessageReceived
onResize
onShake
sendNotification
setCommentModeEnabled
setRefreshPaused
E
ApplicationMode
D
T
O
Array
D
concat
copyWithin
fill
includes
indexOf
isArray
join
keys
lastIndexOf
length
pop
push
reverse
shift
slice
sort
splice
unshift
values
F
cast
D
O
console
D
log
O
Date
D
T
getDate
getDay
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
now
parse
setDate
setFullYear
setHours
setMilliseconds
setMinutes
setMonth
setSeconds
setTime
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
toDateString
toISOString
toJSON
toLocaleDateString
toLocaleTimeString
toTimeString
toUTCString
UTC
C
DateFormat
D
E
DeviceOrientation
D
T
Angle0
Angle180
Angle90Clockwise
Angle90Counterclockwise
E
Direction
D
T
C
Event
T
E
LayoutUnit
D
T
C
LayoutValue
D
T
Auto
unit
O
Math
D
abs
acos
acosh
asin
asinh
atan
atan2
atanh
cbrt
ceil
clz32
cos
cosh
E
exp
expm1
floor
fround
hypot
imul
LN10
LN2
log
log10
LOG10E
log1p
log2
LOG2E
max
min
PI
pow
random
round
sign
sin
sinh
sqrt
SQRT1_2
SQRT2
tan
tanh
trunc
C
NavigationUtils
D
createApplicationUrl
createStoryUrl
openApplication
openDataAnalyzer
openInsight
openStory
openUrl
C
NotificationOptions
content
isSendEmail
isSendMobileNotification
mode
parameters
receivers
title
O
Number
D
EPSILON
isFinite
isInteger
isNaN
isSafeInteger
MAX_SAFE_INTEGER
MAX_VALUE
MIN_SAFE_INTEGER
MIN_VALUE
NEGATIVE_INFINITY
parseFloat
parseInt
POSITIVE_INFINITY
toExponential
toFixed
toPrecision
toString
C
NumberFormat
D
T
format
getDecimalSeparator
getGroupingSeparator
getMaximumDecimalPlaces
getMinimumDecimalPlaces
getScalingFactor
getScalingText
getSignDisplay
setDecimalSeparator
setGroupingSeparator
setMaximumDecimalPlaces
setMinimumDecimalPlaces
setScalingFactor
setScalingText
setSignDisplay
E
NumberFormatDisplayUnit
D
T
E
NumberFormatScaleFormat
D
T
E
NumberFormatScaleUnit
D
T
E
NumberFormatSignDisplay
D
T
C
Scheduling
D
isRunBySchedulePublication
logMessage
openSubscriptionDialog
publish
E
SchedulingMessageType
D
T
Error
Info
Warning
O
String
D
charAt
charCodeAt
codePointAt
concat
endsWith
includes
indexOf
lastIndexOf
length
localeCompare
normalize
repeat
replace
slice
split
startsWith
substr
substring
toLocaleLowerCase
toLocaleUpperCase
toLowerCase
toUpperCase
trim
E
Type
D
T
boolean
integer
number
string
O
undefined
D
C
UrlParameter
D
T
E
UrlType
D
T
C
UserInfo
T
displayName
id
E
UserType
D
T
Team
User
C
Widget
table2
C
IChangedCell
context
newValue
oldValue
C
NavigationPanelOptions
expanded
C
Table
T
addDimensionToColumns
addDimensionToRows
closeNavigationPanel
getComments
getNumberFormat
getPlanning
getSelections
onAfterDataEntryProcess
openDataAnalyzer
openInNewStory
openNavigationPanel
openSelectModelDialog
rankBy
removeDimension
removeRanking
removeSorting
setBreakGroupingEnabled
setModel
setQuickActionsVisibility
sortByMember
sortByValue
E
TableAxis
D
T
C
TableComments
T
addComment
addComments
getAllComments
getComment
getDimensionComment
removeAllComments
removeComment
removeDimensionComment
setCommentLiked
setDimensionComment
updateComment
C
TableNumberFormat
T
setDecimalPlaces
setDisplayUnit
setScaleFormat
setScaleUnit
setSignDisplay
C
TableQuickActionsVisibility
addClientCalculation
addClientRowColumn
addComment
addMember
conditions
dataLocks
displayOptions
distributeValue
drill
exporting
filter
freeze
fullscreen
gotoHyperLink
lockCell
massDataEntry
publish
rank
removeCellReference
revert
selectConversions
selectHierarchy
showHide
sort
swapAxis
tableDetail
undoRedoDataChange
valueLockManagement
version
versionHistory
C
TableRankOptions
applyToEachDimension
direction
rankOrder
relatedDimensions
value
value-driver-tree
C
ValueDriverTree
T
visualization-controls
C
Commenting
T
getCommentingDataSource
C
CommentingDataSource
T
getDimensionFilters
removeDimensionFilter
setDimensionFilter
C
RssFeedInfo
T
title
url
C
RssReader
T
addFeed
getAllFeeds
getSelectedFeed
removeAllFeeds
removeFeed
setSelectedFeed
C
Shape
setStyle
C
ShapeStyle
fillColor
lineColor
C
WebPage
T
postMessage
setAddress
Other
C
ApplicationPage
moveWidget
onOrientationChange
onShake
onStoryPopupClose
setRefreshPaused
C
BackendCondition
C
BatchExportDataSource
T
setDimensionFilter
C
CrossPagePopupSizeOptions
height
heightUnit
width
widthUnit
C
CurrentDateTime
D
T
C
DataActionPlanningModelMemberParameterValue
T
hierarchy
members
C
FilterPanel
D
isVisible
setVisible
E
PlanningModelCopyOption
D
T
AllData
NoData
C
PlanningModelPrivateVersion
T
getOwnerId
publish
publishAs
E
PlanningModelPublicEditOption
D
T
AllData
PlanningArea
C
PlanningModelPublicVersion
T
isDirty
publish
revert
startEditMode
updateProperty
C
PlanningModelVersion
copy
deleteVersion
getDisplayId
getId
redo
undo
C
PopupSizeOptions
height
heightUnit
width
widthUnit
E
PopupSizeUnit
D
T
Percent
Pixel
C
SetModelOptions
T
suppressPromptDialog
C
StoryPopup
T
close
getCssClass
getTitle
hideBusyIndicator
isButtonEnabled
isButtonVisible
onButtonClick
onOpen
onResize
open
setButtonEnabled
setButtonVisible
setCssClass
setSize
setTitle
showBusyIndicator
Lite Viewer Unsupported APIs
All script APIs currently unsupported in lite viewer are listed. For objects, functions, properties, methods, and events available in scripts for lite viewer, refer to Lite Viewer API Reference Guide. For those supported for stories in full viewer, refer to Optimized Story Experience API Reference Guide.
Type Libraries
advanced-controls
C
GeoMap
C
RDataFrame
C
REnvironmentValues
C
RInputParameters
C
RVisualization
C
RVisualizationQuickActionsVisibility
E
RVisualizationStatus
calendar-integration
C
CalendarCompositeTask
C
CalendarCompositeTaskCreateOptions
C
CalendarCompositeTaskCreateProperties
C
CalendarCompositeTaskReviewersProperties
C
CalendarContextFilter
C
CalendarDependencies
C
CalendarEvent
C
CalendarEventCreateOptions
C
CalendarGeneralTask
C
CalendarGeneralTaskCreateProperties
C
CalendarIntegration
C
CalendarProcess
C
CalendarProcessCreateProperties
C
CalendarProcessFromTemplateCreateProperties
C
CalendarReminder
E
CalendarReminderMeasureType
E
CalendarReminderReferenceType
C
CalendarReviewTask
C
CalendarReviewTaskCreateProperties
E
CalendarTaskStatus
E
CalendarTaskType
E
CalendarTaskUserRoleType
C
CalendarTaskWorkFile
E
CalendarTaskWorkFileType
chart
C
Chart
C
ChartDataChangeInsights
C
ChartNumberFormat
E
DataChangeInsightsSubscriptionLevel
C
DataChangeInsightsSubscriptionRange
E
Feed
C
Forecast
E
ForecastType
C
SmartGrouping
containers
C
Composite
C
FlowPanel
C
PageBook
C
PageBookPage
C
Panel
C
Popup
C
TabStrip
data-action
C
DataAction
C
DataActionAllMemberSelection
C
DataActionBackgroundExecutionResponse
E
DataActionBackgroundExecutionResponseStatus
C
DataActionExecutionResponse
E
DataActionExecutionResponseStatus
C
DataActionMemberParameterValue
C
DataActionNumberParameterValue
C
DataActionParameterValue
E
DataActionParameterValueType
data-binding
C
DataBinding
C
DataBindings
C
LinkedAnalysis
data-change-insights
C
DataChangeInsight
C
DataChangeInsights
C
DataChangeInsightsComparisonOptions
C
DataChangeInsightsResult
E
DataChangeInsightsStatus
E
DataChangeInsightType
datasource
C
CommentInfo
C
DataCell
C
DataContext
C
DataSource
C
DataSourceComments
C
DataSourceInfo
C
DimensionInfo
C
DimensionPropertyInfo
C
FilterValue
C
HierarchyInfo
C
MeasureInfo
E
MemberDisplayMode
C
MemberInfo
C
MembersOptions
C
MultipleFilterValue
C
MultipleVariableValue
E
PauseMode
C
RangeFilterValue
C
RangeVariableValue
E
RankOrder
C
ResultMemberInfo
C
ResultMemberProperties
C
ResultSet
C
Selection
C
SelectionContext
C
SetVariableValueOptions
C
SingleFilterValue
C
SingleVariableValue
E
SortOrder
C
TimeRange
C
VariableInfo
C
VariableValue
datasource-controls
C
FilterLine
exportpdf
C
ExportPdf
exportpptx
C
ExportPptx
input-controls
C
Range
multi-action
C
MultiAction
C
MultiActionAllMemberSelection
C
MultiActionBackgroundExecutionResponse
E
MultiActionBackgroundExecutionResponseStatus
C
MultiActionDatetimeParameterValue
C
MultiActionExecutionResponse
E
MultiActionExecutionResponseStatus
C
MultiActionMemberParameterValue
C
MultiActionNumberParameterValue
C
MultiActionParameterValue
E
MultiActionParameterValueType
C
MultiActionStringParameterValue
oDataService
C
ODataError
C
ODataQueryOptions
planning
C
BpcPlanningSequence
C
BpcPlanningSequenceDataSource
C
BpcPlanningSequenceExecutionResponse
E
BpcPlanningSequenceExecutionResponseStatus
C
BpcPlanningSequenceVariableInfo
C
DataActionTrigger
C
DataLocking
E
DataLockingState
E
DataUploadExecutionResponseStatus
C
FileUploadTrigger
C
MultiActionTrigger
C
Planning
C
PlanningAreaFilter
C
PlanningAreaInfo
C
PlanningAreaMemberInfo
E
PlanningCategory
E
PlanningCopyOption
C
PlanningPrivateVersion
E
PlanningPublicEditOption
C
PlanningPublicVersion
C
PlanningVersion
E
PrivatePublishConflict
C
PrivateVersionPublishOptions
E
PublicPublishConflict
C
PublicVersionPublishOptions
planning-model
C
PlanningModel
C
PlanningModelMember
C
PlanningModelMemberHierarchies
C
PlanningModelMemberHierarchy
C
PlanningModelMemberOptions
C
PlanningModelMemberPrincipal
C
PlanningModelMemberProperties
search-to-insight
C
SearchToInsight
E
SearchToInsightDialogMode
standard
C
Application
E
ApplicationMode
O
Array
F
cast
O
console
O
Date
C
DateFormat
E
DeviceOrientation
E
Direction
C
Event
E
LayoutUnit
C
LayoutValue
O
Math
C
NavigationUtils
C
NotificationOptions
O
Number
C
NumberFormat
E
NumberFormatDisplayUnit
E
NumberFormatScaleFormat
E
NumberFormatScaleUnit
E
NumberFormatSignDisplay
C
Scheduling
E
SchedulingMessageType
O
String
E
Type
O
undefined
C
UrlParameter
E
UrlType
C
UserInfo
E
UserType
C
Widget
table2
C
IChangedCell
C
NavigationPanelOptions
C
Table
E
TableAxis
C
TableComments
C
TableNumberFormat
C
TableQuickActionsVisibility
C
TableRankOptions
value-driver-tree
C
ValueDriverTree
visualization-controls
C
Commenting
C
CommentingDataSource
C
RssFeedInfo
C
RssReader
C
Shape
C
ShapeStyle
C
WebPage
Other
C
ApplicationPage
C
BackendCondition
C
BatchExportDataSource
C
CrossPagePopupSizeOptions
C
CurrentDateTime
C
DataActionPlanningModelMemberParameterValue
C
FilterPanel
E
PlanningModelCopyOption
C
PlanningModelPrivateVersion
E
PlanningModelPublicEditOption
C
PlanningModelPublicVersion
C
PlanningModelVersion
C
PopupSizeOptions
E
PopupSizeUnit
C
SetModelOptions
C
StoryPopup
Type Library standard
C
Application
Method Summary
Name and Description
isCommentModeEnabled(): boolean
Returns whether the comment mode is enabled.
moveWidget(widget: Widget): void
Moves the widget into the first page canvas.
sendNotification(notification: NotificationOptions JSON): boolean
Sends a notification.
setCommentModeEnabled(isEnabled: boolean): void
Enables or disables the comment mode.
setRefreshPaused(dataSources: DataSource[], paused: boolean): void
Enables or disables the pause of the data refresh and at the same time updates the widgets associated with the data sources when the pause of data refresh is disabled.
Event Summary
Name and Description
onInitialization(): void
Called when the analytic application has finished loading.
onOrientationChange(angle: DeviceOrientation, previousAngle: DeviceOrientation): void
Called when the user changes the orientation of the mobile device.
onPostMessageReceived(message: string, origin: string): void
Called when the analytic application receives a message from the hosting page or an embedded page.
onResize(): void
Called when the user resizes the browser window.
onShake(): void
Called when the user shakes the mobile device.
Method Detail
isCommentModeEnabled
isCommentModeEnabled(): boolean
Returns whether the comment mode is enabled.
Returns
boolean
moveWidget
moveWidget(widget: Widget): void
Moves the widget into the first page canvas.
Parameters
widget: Widget
sendNotification
sendNotification(notification: NotificationOptions JSON): boolean
Sends a notification. Notifications can be messages and emails. Note: To send a notification, you need the "Runtime Notification" privilege. For more information about how to assign permissions and privileges, see the chapter "Permissions" in SAP Analytics Cloud Help.
Parameters
notification: NotificationOptions JSON
Returns
boolean
setCommentModeEnabled
setCommentModeEnabled(isEnabled: boolean): void
Enables or disables the comment mode.
Parameters
isEnabled: boolean
setRefreshPaused
setRefreshPaused(dataSources: DataSource[], paused: boolean): void
Enables or disables the pause of the data refresh and at the same time updates the widgets associated with the data sources when the pause of data refresh is disabled.
Parameters
dataSources: DataSource[]
paused: boolean
Event Detail
onInitialization
onInitialization(): void
Called when the analytic application has finished loading.
onOrientationChange
onOrientationChange(angle: DeviceOrientation, previousAngle: DeviceOrientation): void
Called when the user changes the orientation of the mobile device.
Parameters
angle: DeviceOrientation
previousAngle: DeviceOrientation
onPostMessageReceived
onPostMessageReceived(message: string, origin: string): void
Called when the analytic application receives a message from the hosting page or an embedded page. Note: Always check the origin when receiving a message. A malicious site can change the location of the window and intercept the data you sent using the post message without your knowledge.
Parameters
message: string
origin: string
onResize
onResize(): void
Called when the user resizes the browser window. Note: This method is called in intervals of 500 milliseconds while the window is resized.
onShake
onShake(): void
Called when the user shakes the mobile device. Note: This method is called every two seconds during shaking.
Type Library standard
E
ApplicationMode
C
ApplicationPage
Method Summary
Name and Description
moveWidget(widget: Widget): void
Moves the widget into the page.
setRefreshPaused(dataSources: DataSource[], paused: boolean): void
Enables or disables the pausing of the data refresh and updates the widgets associated with the data sources when their pausing of the data refresh is disabled.
Event Summary
Name and Description
onOrientationChange(angle: DeviceOrientation, previousAngle: DeviceOrientation): void
Called when the user changes the orientation of the mobile device.
onShake(): void
Called when the user shakes the mobile device.
onStoryPopupClose(origin: string): void
Called after a Story Popup is Closed.
Method Detail
moveWidget
moveWidget(widget: Widget): void
Moves the widget into the page.
Parameters
widget: Widget
setRefreshPaused
setRefreshPaused(dataSources: DataSource[], paused: boolean): void
Enables or disables the pausing of the data refresh and updates the widgets associated with the data sources when their pausing of the data refresh is disabled.
Parameters
dataSources: DataSource[]
paused: boolean
Event Detail
onOrientationChange
onOrientationChange(angle: DeviceOrientation, previousAngle: DeviceOrientation): void
Called when the user changes the orientation of the mobile device.
Parameters
angle: DeviceOrientation
previousAngle: DeviceOrientation
onShake
onShake(): void
Called when the user shakes the mobile device. Note: This method is called every two seconds during shaking.
onStoryPopupClose
onStoryPopupClose(origin: string): void
Called after a Story Popup is Closed.
Parameters
origin: string
Type Library standard
O
Array
The JavaScript Array global object is a constructor for arrays, which are high-level, list-like objects.
Property Summary
Name and Description
length: integer
An unsigned, 32-bit integer that specifies the number of elements in an array.
Method Summary
Name and Description
static isArray(value: <any type>): boolean
Returns true if an object is an array and false if it isn't an array.
concat(other: <this array's type>): <this array's type>
Returns a new array comprised of this array joined with one or more other arrays and/or values.
copyWithin(target: integer, begin: integer, end?: integer): <this array's type>
Copies a sequence of array elements within the array to the position starting at index position target.
fill(newelt: <this array's element type>, begin?: integer, end?: integer): <this array's type>
Fills all elements of an array at index positions begin to end (end isn't included) with a value.
includes(elt: <this array's element type>): boolean
Returns whether an array includes a certain element, returning true if the element is included or false if the element isn't included.
indexOf(elt: <this array's element type>, from?: integer): integer
Returns the first index position at which a given element is found in the array, or -1 if it isn't present.
join(separator?: string): string
Joins all elements of an array into a string.
keys(): <array iterator traversing this array's integer indices>
Returns a new Array Iterator that contains the keys for each index position in the array.
lastIndexOf(elt: <this array's element type>, from?: integer): integer
Returns the last index position at which a given element is found in the array, or -1 if it isn't present.
pop(): <this array's element type>
Removes the last element from an array and returns that element.
push(newelt: <this array's element type>): integer
Appends one element and returns the new length of the array.
reverse(): void
Reverses an array in place.
shift(): <this array's element type>
Removes the first element from an array and returns that element.
slice(begin?: integer, end?: integer): <this array's type>
Returns a shallow copy of a portion of an array from index positions begin to end (end isn't included).
sort(): void
Sorts the elements of an array in place and returns the array.
splice(pos: integer, amount?: integer, item?: <this array's element type>): <this array's type>
Changes the content of an array, adding new elements while removing old elements.
unshift(newelt: <this array's element type>): integer
Adds one or more elements to the beginning of an array and returns the new length of the array.
values(): <array iterator traversing this array's values>
Returns a new Array Iterator object that contains the values for each index position in the array.
Property Detail
length
length: integer
An unsigned, 32-bit integer that specifies the number of elements in an array.
Method Detail
isArray
static isArray(value: <any type>): boolean
Returns true if an object is an array and false if it isn't an array.
Parameters
value: <any type>
Returns
boolean
concat
concat(other: <this array's type>): <this array's type>
Returns a new array comprised of this array joined with one or more other arrays and/or values.
Parameters
other: <this array's type>
Returns
<this array's type>
copyWithin
copyWithin(target: integer, begin: integer, end?: integer): <this array's type>
Copies a sequence of array elements within the array to the position starting at index position target. The copy is taken from the index positions begin to end (end isn't included).
Parameters
target: integer
begin: integer
end Optional: integer
Returns
<this array's type>
fill
fill(newelt: <this array's element type>, begin?: integer, end?: integer): <this array's type>
Fills all elements of an array at index positions begin to end (end isn't included) with a value.
Parameters
newelt: <this array's element type>
begin Optional: integer
end Optional: integer
Returns
<this array's type>
includes
includes(elt: <this array's element type>): boolean
Returns whether an array includes a certain element, returning true if the element is included or false if the element isn't included.
Parameters
elt: <this array's element type>
Returns
boolean
indexOf
indexOf(elt: <this array's element type>, from?: integer): integer
Returns the first index position at which a given element is found in the array, or -1 if it isn't present. The array is searched starting at index position from.
Parameters
elt: <this array's element type>
from Optional: integer
Returns
integer
join
join(separator?: string): string
Joins all elements of an array into a string.
Parameters
separator Optional: string
Returns
string
keys
keys(): <array iterator traversing this array's integer indices>
Returns a new Array Iterator that contains the keys for each index position in the array.
Returns
<array iterator traversing this array's integer indices>
lastIndexOf
lastIndexOf(elt: <this array's element type>, from?: integer): integer
Returns the last index position at which a given element is found in the array, or -1 if it isn't present. The array is searched backwards, starting at index position from.
Parameters
elt: <this array's element type>
from Optional: integer
Returns
integer
pop
pop(): <this array's element type>
Removes the last element from an array and returns that element.
Returns
<this array's element type>
push
push(newelt: <this array's element type>): integer
Appends one element and returns the new length of the array.
Parameters
newelt: <this array's element type>
Returns
integer
reverse
reverse(): void
Reverses an array in place. The first array element becomes the last and the last array element becomes the first.
shift
shift(): <this array's element type>
Removes the first element from an array and returns that element.
Returns
<this array's element type>
slice
slice(begin?: integer, end?: integer): <this array's type>
Returns a shallow copy of a portion of an array from index positions begin to end (end isn't included).
Parameters
begin Optional: integer
end Optional: integer
Returns
<this array's type>
sort
sort(): void
Sorts the elements of an array in place and returns the array.
splice
splice(pos: integer, amount?: integer, item?: <this array's element type>): <this array's type>
Changes the content of an array, adding new elements while removing old elements.
Parameters
pos: integer
amount Optional: integer
item Optional: <this array's element type>
Returns
<this array's type>
unshift
unshift(newelt: <this array's element type>): integer
Adds one or more elements to the beginning of an array and returns the new length of the array.
Parameters
newelt: <this array's element type>
Returns
integer
values
values(): <array iterator traversing this array's values>
Returns a new Array Iterator object that contains the values for each index position in the array.
Returns
<array iterator traversing this array's values>
C
BackendCondition
C
BatchExportDataSource
Method Summary
Name and Description
setDimensionFilter(dimension: string | DimensionInfo, members: string | string[] | MemberInfo | MemberInfo[] | RangeFilterValue | RangeFilterValue[]): void
Sets a filter on the dimension.
Method Detail
setDimensionFilter
setDimensionFilter(dimension: string | DimensionInfo, members: string | string[] | MemberInfo | MemberInfo[] | RangeFilterValue | RangeFilterValue[]): void
Sets a filter on the dimension. The filter will be used in batch export. Only dimension member and range filter is supported.
Parameters
dimension: string | DimensionInfo
members: string | string[] | MemberInfo | MemberInfo[] | RangeFilterValue | RangeFilterValue[]
Type Library planning
C
BpcPlanningSequence
extends Widget
Method Summary
Name and Description
execute(): BpcPlanningSequenceExecutionResponse
Executes the BPC planning sequence.
getBpcPlanningSequenceDataSource(): BpcPlanningSequenceDataSource
Returns the data source of the BPC Planning Sequence.
openPromptDialog(): void
Opens the Prompt dialog for the BPC planning sequence.
Event Summary
Name and Description
onBeforeExecute(): boolean
Called when the user clicks the BPC planning sequence starter.
Method Detail
execute
execute(): BpcPlanningSequenceExecutionResponse
Executes the BPC planning sequence.
Returns
BpcPlanningSequenceExecutionResponse
Mobile Support
Not supported on mobile devices.
getBpcPlanningSequenceDataSource
getBpcPlanningSequenceDataSource(): BpcPlanningSequenceDataSource
Returns the data source of the BPC Planning Sequence.
Returns
BpcPlanningSequenceDataSource
Mobile Support
Not supported on mobile devices.
openPromptDialog
openPromptDialog(): void
Opens the Prompt dialog for the BPC planning sequence. This method returns after user closes the Prompt dialog.
Mobile Support
Not supported on mobile devices.
Event Detail
onBeforeExecute
onBeforeExecute(): boolean
Called when the user clicks the BPC planning sequence starter. If this method returns true or returns no value, then the BPC planning sequence is executed. If this method returns false, then the BPC planning sequence is ignored.
Returns
boolean Default value: true
Type Library planning
C
BpcPlanningSequenceDataSource
Method Summary
Name and Description
copyVariableValueFrom(sourceDataSource: BpcPlanningSequenceDataSource, variable?: string | string[] | BpcPlanningSequenceVariableInfo | BpcPlanningSequenceVariableInfo[]): void
Copies the value of a variable.
getVariables(): BpcPlanningSequenceVariableInfo[]
Returns all variables of the data source.
getVariableValues(variable: string | BpcPlanningSequenceVariableInfo): VariableValue[]
Returns the values of the variable.
removeVariableValue(variable: string | BpcPlanningSequenceVariableInfo): void
Removes the value of the variable.
setVariableValue(variable: string | BpcPlanningSequenceVariableInfo, variableValue: string | number | VariableValue | VariableValue[], options?: SetVariableValueOptions): void
Sets the value of the variable.
Method Detail
copyVariableValueFrom
copyVariableValueFrom(sourceDataSource: BpcPlanningSequenceDataSource, variable?: string | string[] | BpcPlanningSequenceVariableInfo | BpcPlanningSequenceVariableInfo[]): void
Copies the value of a variable. If no variable is specified, then all variable values of the data source are copied. If you copy an empty variable value to a mandatory variable, then copying this variable is ignored.
Parameters
sourceDataSource: BpcPlanningSequenceDataSource
variable Optional: string | string[] | BpcPlanningSequenceVariableInfo | BpcPlanningSequenceVariableInfo[]
getVariableValues
getVariableValues(variable: string | BpcPlanningSequenceVariableInfo): VariableValue[]
Returns the values of the variable. Each value can be a single, multiple, or range variable value. To access its type-specific properties, cast the value to the corresponding value type based on the "type" property, using the global cast function. Note: This method may return outdated values with SAP BW dynamic filter variables.
Parameters
variable: string | BpcPlanningSequenceVariableInfo
Returns
VariableValue[]
getVariables
getVariables(): BpcPlanningSequenceVariableInfo[]
Returns all variables of the data source.
Returns
BpcPlanningSequenceVariableInfo[]
removeVariableValue
removeVariableValue(variable: string | BpcPlanningSequenceVariableInfo): void
Removes the value of the variable. By default, this removes the variable value of the variable for the data source on the application. If you remove a variable value from a mandatory variable, then this operation is ignored.
Parameters
variable: string | BpcPlanningSequenceVariableInfo
setVariableValue
setVariableValue(variable: string | BpcPlanningSequenceVariableInfo, variableValue: string | number | VariableValue | VariableValue[], options?: SetVariableValueOptions): void
Sets the value of the variable. By default, this sets the variable value of the variable for the data source on the application. If you set an empty variable value to a mandatory variable, then this operation is ignored. Note: The variable value will not be validated. Note: You can omit loading variable descriptions (which are displayed in the Prompt dialog and in dynamic texts) by setting the optional property loadDescriptions in the options to false.
Parameters
variable: string | BpcPlanningSequenceVariableInfo
variableValue: string | number | VariableValue | VariableValue[]
options Optional: SetVariableValueOptions
Type Library planning
C
BpcPlanningSequenceExecutionResponse
Property Summary
Name and Description
status: BpcPlanningSequenceExecutionResponseStatus
The execution is successful or not
Property Detail
status
status: BpcPlanningSequenceExecutionResponseStatus
The execution is successful or not
Type Library planning
E
BpcPlanningSequenceExecutionResponseStatus
Property Summary
Name and Description
static Error: BpcPlanningSequenceExecutionResponseStatus
Execution ended with errors.
static Success: BpcPlanningSequenceExecutionResponseStatus
Execution ended successfully.
Property Detail
Error
static Error: BpcPlanningSequenceExecutionResponseStatus
Execution ended with errors.
Success
static Success: BpcPlanningSequenceExecutionResponseStatus
Execution ended successfully.
Type Library planning
C
BpcPlanningSequenceVariableInfo
Property Summary
Name and Description
description: string
id: string
isInputEnabled: boolean
Property Detail
description
description: string
id
id: string
isInputEnabled
isInputEnabled: boolean
Type Library calendar-integration
C
CalendarCompositeTask
extends CalendarEvent
Method Summary
Name and Description
addReviewer(reviewer: string, level: number): boolean
Adds the reviewer to the specified review level of the calendar event.
approve(): boolean
Approves the calendar task.
canUserApprove(): boolean
Returns whether the current user can approve the task.
canUserDecline(): boolean
Returns whether the current user can decline the task.
canUserReject(): boolean
Returns whether the current user can reject the task.
canUserSubmit(): boolean
Returns whether the current user can submit the task.
decline(): boolean
Declines the calendar task.
reject(): boolean
Rejects the calendar task.
removeReviewer(reviewer: string): boolean
Removes the reviewer from the calendar event.
submit(): boolean
Submits the calendar task.
Inherited from CalendarEvent
activate, addAssignee, addContextFilter, addOwner, addReminder, canUserReopen, getContextFilters, getDependencies, getDescription, getDueDate, getEndDate, getId, getName, getOwners, getParentId, getProgress, getReminders, getStartDate, getStatus, getType, hasUserRole, removeAssignee, removeContextFilter, removeOwner, removeReminder, reopen, sendImmediateReminder, setDependencies, setDescription, setEndDate, setName, setParentId, setProgress, setStartDate
Method Detail
addReviewer
addReviewer(reviewer: string, level: number): boolean
Adds the reviewer to the specified review level of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
reviewer: string
level: number
Returns
boolean
approve
approve(): boolean
Approves the calendar task. Requires the user role "Reviewer". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
canUserApprove
canUserApprove(): boolean
Returns whether the current user can approve the task. A task can be approved if the reviewer has their turn in the reviewer round and the status is "In Progress" or "Open".
Returns
boolean
canUserDecline
canUserDecline(): boolean
Returns whether the current user can decline the task. A task can be declined if the assignee / reviewer can still work on their task and the task isn't final yet.
Returns
boolean
canUserReject
canUserReject(): boolean
Returns whether the current user can reject the task. A task can be rejected if the reviewer has their turn in the reviewer round and the status is "In Progress" or "Open".
Returns
boolean
canUserSubmit
canUserSubmit(): boolean
Returns whether the current user can submit the task. A task can be submitted if the assignee has their turn and the status is "In Progress" or "Open".
Returns
boolean
decline
decline(): boolean
Declines the calendar task. Requires the user role "Assignee" or "Reviewer". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
reject
reject(): boolean
Rejects the calendar task. Requires the user role "Reviewer". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
removeReviewer
removeReviewer(reviewer: string): boolean
Removes the reviewer from the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
reviewer: string
Returns
boolean
submit
submit(): boolean
Submits the calendar task. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
Type Library calendar-integration
C
CalendarCompositeTaskCreateOptions
can be passed as a JSON object to method arguments
This object is deprecated, use "CalendarEventCreateOptions" instead. An object specifying calendar task create options
Property Summary
Name and Description
autoActivate: boolean
Specifies whether the task should automatically be activated when the start date is reached.
Property Detail
autoActivate
autoActivate: boolean
Specifies whether the task should automatically be activated when the start date is reached.
Type Library calendar-integration
C
CalendarCompositeTaskCreateProperties
can be passed as a JSON object to method arguments
An object specifying calendar task properties
Property Summary
Name and Description
assignees: string[]
Assignees of the calendar task
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description: string
Description of the calendar task
dueDate: Date
Deprecated This property is deprecated, use "endDate" instead.
endDate: Date
End date of the calendar task (formerly known as due date)
name: string
Name of the calendar task
owners: string[]
Owners of the calendar task
parentId: string
ID of the parent process of the calendar task
reminders: CalendarReminder[] JSON
Reminders of the calendar task
reviewers: CalendarCompositeTaskReviewersProperties
Reviewers of the calendar task
startDate: Date
Start date of the calendar task
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Property Detail
assignees
assignees: string[]
Assignees of the calendar task
contextFilters
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description
description: string
Description of the calendar task
dueDate
dueDate: Date
Deprecated This property is deprecated, use "endDate" instead. Due date of the calendar task
Deprecated
2025.14
endDate
endDate: Date
End date of the calendar task (formerly known as due date)
name
name: string
Name of the calendar task
owners
owners: string[]
Owners of the calendar task
parentId
parentId: string
ID of the parent process of the calendar task
reminders
reminders: CalendarReminder[] JSON
Reminders of the calendar task
reviewers
reviewers: CalendarCompositeTaskReviewersProperties
Reviewers of the calendar task
startDate
startDate: Date
Start date of the calendar task
workFiles
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Type Library calendar-integration
C
CalendarCompositeTaskReviewersProperties
is an object<string[]>
Reviewers information for a calendar composite task
Type Library calendar-integration
C
CalendarContextFilter
can be passed as a JSON object to method arguments
An object specifying a calendar context filter
Property Summary
Name and Description
hierarchy: HierarchyInfo
Hierarchy of the context filter
members: MemberInfo[]
Members of the context filter
Property Detail
hierarchy
hierarchy: HierarchyInfo
Hierarchy of the context filter
members
members: MemberInfo[]
Members of the context filter
Type Library calendar-integration
C
CalendarDependencies
can be passed as a JSON object to method arguments
An object specifying calendar dependencies
Property Summary
Name and Description
dependentOnIds: string[]
IDs of events this event is dependent on.
triggerStatuses: CalendarTaskStatus[]
Statuses of the predecessors on which this event is initiated
Property Detail
dependentOnIds
dependentOnIds: string[]
IDs of events this event is dependent on. All predecessors need to have no or the same parent process as this event.
triggerStatuses
triggerStatuses: CalendarTaskStatus[]
Statuses of the predecessors on which this event is initiated
Type Library calendar-integration
C
CalendarEvent
is abstract
An object representing a calendar task
Direct Subclasses
CalendarCompositeTask, CalendarGeneralTask, CalendarProcess, CalendarReviewTask
Method Summary
Name and Description
activate(): boolean
Activates a task.
addAssignee(assignee: string): boolean
Adds the assignee to the calendar event.
addContextFilter(contextFilter: CalendarContextFilter JSON): boolean
Adds the context filter to the calendar event.
addOwner(owner: string): boolean
Adds the owner to the calendar event.
addReminder(reminder: CalendarReminder JSON): boolean
Adds the reminder to the calendar event.
canUserReopen(): boolean
Returns whether the current user can reopen the event.
getContextFilters(): CalendarContextFilter[]
Returns the contexts of the calendar event.
getDependencies(): CalendarDependencies
Returns the dependencies of the calendar event.
getDescription(): string
Returns the description of the calendar task.
getDueDate(): Date
Deprecated This method is deprecated, use "getEndDate()" instead.
getEndDate(): Date
Returns the end date of the calendar task (formerly known as due date).
getId(): string
Returns the ID of the calendar task.
getName(): string
Returns the name of the calendar task.
getOwners(): string[]
Returns the owners of the calendar event.
getParentId(): string
Returns the ID of the parent process of the calendar event.
getProgress(): integer
Returns the progress of the calendar task.
getReminders(): CalendarReminder[]
Returns the reminders of the calendar event.
getStartDate(): Date
Returns the start date of the calendar task.
getStatus(): CalendarTaskStatus
Returns the status of the calendar task.
getType(): CalendarTaskType
Returns the type of the calendar task.
hasUserRole(calendarRoleType: CalendarTaskUserRoleType): boolean
Returns whether the current user has the specified role of the calendar task.
removeAssignee(assignee: string): boolean
Removes the assignee from the calendar event.
removeContextFilter(contextFilter: CalendarContextFilter JSON): boolean
Removes the context filter from the calendar event.
removeOwner(owner: string): boolean
Removes the owner from the calendar event.
removeReminder(reminder: CalendarReminder JSON): boolean
Removes the reminder from the calendar event.
reopen(includingChildren?: boolean): boolean
Reopens an event.
sendImmediateReminder(message?: string): boolean
Sends an immediate reminder with an optional message.
setDependencies(dependencies: CalendarDependencies JSON): boolean
Sets the dependencies of the calendar event.
setDescription(description: string): boolean
Sets the description of the calendar event.
setEndDate(endDate: Date): boolean
Sets the end date of the calendar event.
setName(name: string): boolean
Sets the name of the calendar event.
setParentId(parentId: string): boolean
Sets the ID of the parent process of the calendar event.
setProgress(progress: integer): boolean
Sets the progress of the calendar event.
setStartDate(startDate: Date): boolean
Sets the start date of the calendar event.
Method Detail
activate
activate(): boolean
Activates a task. If this operation was successful, then true is returned, and false if it wasn't. The notify option is deprecated and no longer has an effect.
Returns
boolean
addAssignee
addAssignee(assignee: string): boolean
Adds the assignee to the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
assignee: string
Returns
boolean
addContextFilter
addContextFilter(contextFilter: CalendarContextFilter JSON): boolean
Adds the context filter to the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
contextFilter: CalendarContextFilter JSON
Returns
boolean
addOwner
addOwner(owner: string): boolean
Adds the owner to the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
owner: string
Returns
boolean
addReminder
addReminder(reminder: CalendarReminder JSON): boolean
Adds the reminder to the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
reminder: CalendarReminder JSON
Returns
boolean
canUserReopen
canUserReopen(): boolean
Returns whether the current user can reopen the event. An event can be reopened if the event has a final status and the user is an owner of this event.
Returns
boolean
getContextFilters
getContextFilters(): CalendarContextFilter[]
Returns the contexts of the calendar event.
Returns
CalendarContextFilter[]
getDependencies
getDependencies(): CalendarDependencies
Returns the dependencies of the calendar event.
Returns
CalendarDependencies
getDescription
getDescription(): string
Returns the description of the calendar task.
Returns
string
getDueDate
getDueDate(): Date
Deprecated This method is deprecated, use "getEndDate()" instead. Returns the due date of the calendar task.
Returns
Date
Deprecated
2025.14
getEndDate
getEndDate(): Date
Returns the end date of the calendar task (formerly known as due date).
Returns
Date
getId
getId(): string
Returns the ID of the calendar task.
Returns
string
getName
getName(): string
Returns the name of the calendar task.
Returns
string
getOwners
getOwners(): string[]
Returns the owners of the calendar event.
Returns
string[]
getParentId
getParentId(): string
Returns the ID of the parent process of the calendar event.
Returns
string
getProgress
getProgress(): integer
Returns the progress of the calendar task. The progress is specified as an integer between 0 and 100.
Returns
integer
getReminders
getReminders(): CalendarReminder[]
Returns the reminders of the calendar event.
Returns
CalendarReminder[]
getStartDate
getStartDate(): Date
Returns the start date of the calendar task.
Returns
Date
getStatus
getStatus(): CalendarTaskStatus
Returns the status of the calendar task.
Returns
CalendarTaskStatus
getType
getType(): CalendarTaskType
Returns the type of the calendar task.
Returns
CalendarTaskType
hasUserRole
hasUserRole(calendarRoleType: CalendarTaskUserRoleType): boolean
Returns whether the current user has the specified role of the calendar task.
Parameters
calendarRoleType: CalendarTaskUserRoleType
Returns
boolean
removeAssignee
removeAssignee(assignee: string): boolean
Removes the assignee from the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
assignee: string
Returns
boolean
removeContextFilter
removeContextFilter(contextFilter: CalendarContextFilter JSON): boolean
Removes the context filter from the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
contextFilter: CalendarContextFilter JSON
Returns
boolean
removeOwner
removeOwner(owner: string): boolean
Removes the owner from the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
owner: string
Returns
boolean
removeReminder
removeReminder(reminder: CalendarReminder JSON): boolean
Removes the reminder from the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
reminder: CalendarReminder JSON
Returns
boolean
reopen
reopen(includingChildren?: boolean): boolean
Reopens an event. Optionally, for processes all child events can be included to reopen.
Parameters
includingChildren Optional: boolean
Returns
boolean
sendImmediateReminder
sendImmediateReminder(message?: string): boolean
Sends an immediate reminder with an optional message. All involved people will directly receive a notification.
Parameters
message Optional: string
Returns
boolean
setDependencies
setDependencies(dependencies: CalendarDependencies JSON): boolean
Sets the dependencies of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
dependencies: CalendarDependencies JSON
Returns
boolean
setDescription
setDescription(description: string): boolean
Sets the description of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
description: string
Returns
boolean
setEndDate
setEndDate(endDate: Date): boolean
Sets the end date of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
endDate: Date
Returns
boolean
setName
setName(name: string): boolean
Sets the name of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
name: string
Returns
boolean
setParentId
setParentId(parentId: string): boolean
Sets the ID of the parent process of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
parentId: string
Returns
boolean
setProgress
setProgress(progress: integer): boolean
Sets the progress of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
progress: integer
Returns
boolean
setStartDate
setStartDate(startDate: Date): boolean
Sets the start date of the calendar event. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
startDate: Date
Returns
boolean
Type Library calendar-integration
C
CalendarEventCreateOptions
can be passed as a JSON object to method arguments
An object specifying calendar event create options
Property Summary
Name and Description
autoActivate: boolean
Specifies whether the event should automatically be activated when the start date is reached.
Property Detail
autoActivate
autoActivate: boolean
Specifies whether the event should automatically be activated when the start date is reached.
Type Library calendar-integration
C
CalendarGeneralTask
extends CalendarEvent
Method Summary
Name and Description
canUserDecline(): boolean
Returns whether the current user can decline the task.
canUserSubmit(): boolean
Returns whether the current user can submit the task.
decline(): boolean
Declines the calendar task.
submit(): boolean
Submits the calendar task.
Inherited from CalendarEvent
activate, addAssignee, addContextFilter, addOwner, addReminder, canUserReopen, getContextFilters, getDependencies, getDescription, getDueDate, getEndDate, getId, getName, getOwners, getParentId, getProgress, getReminders, getStartDate, getStatus, getType, hasUserRole, removeAssignee, removeContextFilter, removeOwner, removeReminder, reopen, sendImmediateReminder, setDependencies, setDescription, setEndDate, setName, setParentId, setProgress, setStartDate
Method Detail
canUserDecline
canUserDecline(): boolean
Returns whether the current user can decline the task. A task can be declined if the assignee can still work on their task and the task isn't final yet.
Returns
boolean
canUserSubmit
canUserSubmit(): boolean
Returns whether the current user can submit the task. A task can be submitted if the assignee has their turn and the status is "In Progress" or "Open".
Returns
boolean
decline
decline(): boolean
Declines the calendar task. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
submit
submit(): boolean
Submits the calendar task. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
Type Library calendar-integration
C
CalendarGeneralTaskCreateProperties
can be passed as a JSON object to method arguments
An object specifying calendar task properties
Property Summary
Name and Description
assignees: string[]
Assignees of the calendar task
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description: string
Description of the calendar task
endDate: Date
End date of the calendar task (formerly known as due date)
name: string
Name of the calendar task
owners: string[]
Owners of the calendar task
parentId: string
ID of the parent process of the calendar task
reminders: CalendarReminder[] JSON
Reminders of the calendar task
startDate: Date
Start date of the calendar task
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Property Detail
assignees
assignees: string[]
Assignees of the calendar task
contextFilters
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description
description: string
Description of the calendar task
endDate
endDate: Date
End date of the calendar task (formerly known as due date)
name
name: string
Name of the calendar task
owners
owners: string[]
Owners of the calendar task
parentId
parentId: string
ID of the parent process of the calendar task
reminders
reminders: CalendarReminder[] JSON
Reminders of the calendar task
startDate
startDate: Date
Start date of the calendar task
workFiles
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Type Library calendar-integration
C
CalendarIntegration
Method Summary
Name and Description
createCompositeTask(taskProperties: CalendarCompositeTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON | CalendarCompositeTaskCreateOptions JSON): CalendarCompositeTask
Deprecated This method is deprecated, use "createGeneralTask" and "createReviewTask" instead.
createGeneralTask(taskProperties: CalendarGeneralTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarGeneralTask
Creates a general task specified by the task properties and the create options.
createProcess(processProperties: CalendarProcessCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarProcess
Creates a process specified by the process properties and the create options.
createProcessFromTemplate(templateId: string, processFromTemplateProperties: CalendarProcessFromTemplateCreateProperties JSON): CalendarProcess
Creates a process from template specified by the template id, process properties and the create options.
createReviewTask(taskProperties: CalendarReviewTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarReviewTask
Creates a review task specified by the task properties and the create options.
getCalendarEventById(eventId: string): CalendarEvent
Returns the calendar event specified by the event ID.
getCalendarTaskById(taskId: string): CalendarEvent
Deprecated This method is deprecated, use "getCalendarEventById" instead.
getCurrentEvent(): CalendarEvent
Returns the calendar event with which the analytic application or story was started.
getCurrentTask(): CalendarEvent
Deprecated This method is deprecated, use "getCurrentEvent" instead.
getRelatedEventIds(): string[]
Returns an array of IDs of the events where the analytic application or story is a work file.
getRelatedTaskIds(): string[]
Deprecated This method is deprecated, use "getRelatedEventIds" instead.
Method Detail
createCompositeTask
createCompositeTask(taskProperties: CalendarCompositeTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON | CalendarCompositeTaskCreateOptions JSON): CalendarCompositeTask
Deprecated This method is deprecated, use "createGeneralTask" and "createReviewTask" instead. Creates a composite task specified by the task properties and the create options. If this operation was successful, then the composite task is returned, and undefined if it wasn't.
Parameters
taskProperties: CalendarCompositeTaskCreateProperties JSON
createOptions Optional: CalendarEventCreateOptions JSON | CalendarCompositeTaskCreateOptions JSON
Returns
CalendarCompositeTask
Deprecated
2025.14
createGeneralTask
createGeneralTask(taskProperties: CalendarGeneralTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarGeneralTask
Creates a general task specified by the task properties and the create options. If this operation was successful, then the general task is returned, and undefined if it wasn't.
Parameters
taskProperties: CalendarGeneralTaskCreateProperties JSON
createOptions Optional: CalendarEventCreateOptions JSON
Returns
CalendarGeneralTask
createProcess
createProcess(processProperties: CalendarProcessCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarProcess
Creates a process specified by the process properties and the create options. If this operation was successful, then the process is returned, and undefined if it wasn't.
Parameters
processProperties: CalendarProcessCreateProperties JSON
createOptions Optional: CalendarEventCreateOptions JSON
Returns
CalendarProcess
createProcessFromTemplate
createProcessFromTemplate(templateId: string, processFromTemplateProperties: CalendarProcessFromTemplateCreateProperties JSON): CalendarProcess
Creates a process from template specified by the template id, process properties and the create options. If this operation was successful, then the process is returned, and undefined if it wasn't.
Parameters
templateId: string
processFromTemplateProperties: CalendarProcessFromTemplateCreateProperties JSON
Returns
CalendarProcess
createReviewTask
createReviewTask(taskProperties: CalendarReviewTaskCreateProperties JSON, createOptions?: CalendarEventCreateOptions JSON): CalendarReviewTask
Creates a review task specified by the task properties and the create options. If this operation was successful, then the review task is returned, and undefined if it wasn't.
Parameters
taskProperties: CalendarReviewTaskCreateProperties JSON
createOptions Optional: CalendarEventCreateOptions JSON
Returns
CalendarReviewTask
getCalendarEventById
getCalendarEventById(eventId: string): CalendarEvent
Returns the calendar event specified by the event ID. If no calendar event was found, then undefined is returned.
Parameters
eventId: string
Returns
CalendarEvent
getCalendarTaskById
getCalendarTaskById(taskId: string): CalendarEvent
Deprecated This method is deprecated, use "getCalendarEventById" instead. Returns the calendar task specified by the task ID. If no calendar task was found, then undefined is returned.
Parameters
taskId: string
Returns
CalendarEvent
Deprecated
2025.14
getCurrentEvent
getCurrentEvent(): CalendarEvent
Returns the calendar event with which the analytic application or story was started. If the analytic application or story isn't associated with a calendar event, then undefined is returned.
Returns
CalendarEvent
getCurrentTask
getCurrentTask(): CalendarEvent
Deprecated This method is deprecated, use "getCurrentEvent" instead. Returns the calendar task with which the analytic application or story was started. If the analytic application or story isn't associated with a calendar task, then undefined is returned.
Returns
CalendarEvent
Deprecated
2025.14
getRelatedEventIds
getRelatedEventIds(): string[]
Returns an array of IDs of the events where the analytic application or story is a work file. Recurring events are excluded from the result.
Returns
string[]
getRelatedTaskIds
getRelatedTaskIds(): string[]
Deprecated This method is deprecated, use "getRelatedEventIds" instead. Returns an array of task IDs for which the analytic application or story is a work file. Recurring composite tasks are excluded from the result.
Returns
string[]
Deprecated
2025.14
Type Library calendar-integration
C
CalendarProcess
extends CalendarEvent
Method Summary
Name and Description
canUserDecline(): boolean
Returns whether the current user can decline the process.
canUserSubmit(): boolean
Returns whether the current user can submit the process.
decline(): boolean
Declines the calendar process.
getChildren(): string[]
Returns an array of children IDs of the selected process.
submit(): boolean
Submits the calendar process.
Inherited from CalendarEvent
activate, addAssignee, addContextFilter, addOwner, addReminder, canUserReopen, getContextFilters, getDependencies, getDescription, getDueDate, getEndDate, getId, getName, getOwners, getParentId, getProgress, getReminders, getStartDate, getStatus, getType, hasUserRole, removeAssignee, removeContextFilter, removeOwner, removeReminder, reopen, sendImmediateReminder, setDependencies, setDescription, setEndDate, setName, setParentId, setProgress, setStartDate
Method Detail
canUserDecline
canUserDecline(): boolean
Returns whether the current user can decline the process. A process can be declined if the assignee can still work on their process and the process isn't final yet.
Returns
boolean
canUserSubmit
canUserSubmit(): boolean
Returns whether the current user can submit the process. A process can be submitted if the assignee has their turn and the status is "In Progress" or "Open".
Returns
boolean
decline
decline(): boolean
Declines the calendar process. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
getChildren
getChildren(): string[]
Returns an array of children IDs of the selected process.
Returns
string[]
submit
submit(): boolean
Submits the calendar process. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
Type Library calendar-integration
C
CalendarProcessCreateProperties
can be passed as a JSON object to method arguments
An object specifying calendar process properties
Property Summary
Name and Description
assignees: string[]
Assignees of the calendar process
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar process
dependencies: CalendarDependencies JSON
Dependencies of the calendar process
description: string
Description of the calendar process
endDate: Date
End date of the calendar process
name: string
Name of the calendar process
owners: string[]
Owners of the calendar process
parentId: string
ID of the parent process of the calendar process
reminders: CalendarReminder[] JSON
Reminders of the calendar process
startDate: Date
Start date of the calendar process
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar process
Property Detail
assignees
assignees: string[]
Assignees of the calendar process
contextFilters
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar process
dependencies
dependencies: CalendarDependencies JSON
Dependencies of the calendar process
description
description: string
Description of the calendar process
endDate
endDate: Date
End date of the calendar process
name
name: string
Name of the calendar process
owners
owners: string[]
Owners of the calendar process
parentId
parentId: string
ID of the parent process of the calendar process
reminders
reminders: CalendarReminder[] JSON
Reminders of the calendar process
startDate
startDate: Date
Start date of the calendar process
workFiles
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar process
Type Library calendar-integration
C
CalendarProcessFromTemplateCreateProperties
can be passed as a JSON object to method arguments
An object specifying calendar process from template properties
Property Summary
Name and Description
dependencies: CalendarDependencies JSON
Dependencies of the calendar process
endDate: Date
End date of the calendar process
parentId: string
ID of the parent process of the calendar process
prefix: string
Prefix of the generated events
startDate: Date
Start date of the calendar process
suffix: string
Suffix of the generated events
useTypeBasedNames: boolean
Specifies whether the event names should be based on the event type or on the template name.
Property Detail
dependencies
dependencies: CalendarDependencies JSON
Dependencies of the calendar process
endDate
endDate: Date
End date of the calendar process
parentId
parentId: string
ID of the parent process of the calendar process
prefix
prefix: string
Prefix of the generated events
startDate
startDate: Date
Start date of the calendar process
suffix
suffix: string
Suffix of the generated events
useTypeBasedNames
useTypeBasedNames: boolean
Specifies whether the event names should be based on the event type or on the template name.
Type Library calendar-integration
C
CalendarReminder
can be passed as a JSON object to method arguments
An object specifying a calendar reminder
Property Summary
Name and Description
measure: CalendarReminderMeasureType
Measure of the reminder
number: number
Number of the reminder to specify the amount of time.
reference: CalendarReminderReferenceType
Reference of the reminder.
Property Detail
measure
measure: CalendarReminderMeasureType
Measure of the reminder
number
number: number
Number of the reminder to specify the amount of time. Half time reminders don't require this property.
reference
reference: CalendarReminderReferenceType
Reference of the reminder. Half time reminders don't require this property.
Type Library calendar-integration
E
CalendarReminderMeasureType
Property Summary
Name and Description
static Day: CalendarReminderMeasureType
The reminder is sent the specified days before the start or end of the event.
static HalfTime: CalendarReminderMeasureType
The reminder is sent at the half of the event time.
static Hour: CalendarReminderMeasureType
The reminder is sent the specified hours before the start or end of the event.
static Minute: CalendarReminderMeasureType
The reminder is sent the specified minutes before the start or end of the event.
Property Detail
Day
static Day: CalendarReminderMeasureType
The reminder is sent the specified days before the start or end of the event.
HalfTime
static HalfTime: CalendarReminderMeasureType
The reminder is sent at the half of the event time.
Hour
static Hour: CalendarReminderMeasureType
The reminder is sent the specified hours before the start or end of the event.
Minute
static Minute: CalendarReminderMeasureType
The reminder is sent the specified minutes before the start or end of the event.
Type Library calendar-integration
E
CalendarReminderReferenceType
Property Summary
Name and Description
static End: CalendarReminderReferenceType
The reminder is based on the end date.
static Start: CalendarReminderReferenceType
The reminder is based on the start date.
Property Detail
End
static End: CalendarReminderReferenceType
The reminder is based on the end date.
Start
static Start: CalendarReminderReferenceType
The reminder is based on the start date.
Type Library calendar-integration
C
CalendarReviewTask
extends CalendarEvent
Method Summary
Name and Description
approve(): boolean
Approves the calendar task.
canUserApprove(): boolean
Returns whether the current user can approve the task.
canUserReject(): boolean
Returns whether the current user can reject the task.
reject(): boolean
Rejects the calendar task.
Inherited from CalendarEvent
activate, addAssignee, addContextFilter, addOwner, addReminder, canUserReopen, getContextFilters, getDependencies, getDescription, getDueDate, getEndDate, getId, getName, getOwners, getParentId, getProgress, getReminders, getStartDate, getStatus, getType, hasUserRole, removeAssignee, removeContextFilter, removeOwner, removeReminder, reopen, sendImmediateReminder, setDependencies, setDescription, setEndDate, setName, setParentId, setProgress, setStartDate
Method Detail
approve
approve(): boolean
Approves the calendar task. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
canUserApprove
canUserApprove(): boolean
Returns whether the current user can approve the task. A task can be approved if the reviewer has their turn in the reviewer round and the status is "In Progress" or "Open".
Returns
boolean
canUserReject
canUserReject(): boolean
Returns whether the current user can reject the task. A task can be rejected if the reviewer has their turn in the reviewer round and the status is "In Progress" or "Open".
Returns
boolean
reject
reject(): boolean
Rejects the calendar task. Requires the user role "Assignee". If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
Type Library calendar-integration
C
CalendarReviewTaskCreateProperties
can be passed as a JSON object to method arguments
An object specifying calendar task properties
Property Summary
Name and Description
assignees: string[]
Assignees of the calendar task
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description: string
Description of the calendar task
endDate: Date
End date of the calendar task (formerly known as due date)
name: string
Name of the calendar task
owners: string[]
Owners of the calendar task
parentId: string
ID of the parent process of the calendar task
reminders: CalendarReminder[] JSON
Reminders of the calendar task
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Property Detail
assignees
assignees: string[]
Assignees of the calendar task
contextFilters
contextFilters: CalendarContextFilter[] JSON
Context filters of the calendar task
dependencies
dependencies: CalendarDependencies JSON
Dependencies of the calendar task
description
description: string
Description of the calendar task
endDate
endDate: Date
End date of the calendar task (formerly known as due date)
name
name: string
Name of the calendar task
owners
owners: string[]
Owners of the calendar task
parentId
parentId: string
ID of the parent process of the calendar task
reminders
reminders: CalendarReminder[] JSON
Reminders of the calendar task
workFiles
workFiles: CalendarTaskWorkFile[] JSON
Work files of the calendar task
Type Library calendar-integration
E
CalendarTaskStatus
Property Summary
Name and Description
static Canceled: CalendarTaskStatus
The calendar task is in status "Canceled".
static Failed: CalendarTaskStatus
The calendar task is in status "Failed".
static Inactive: CalendarTaskStatus
The calendar task is in status "Inactive".
static InProgress: CalendarTaskStatus
The calendar task is in status "In Progress".
static NoAssignee: CalendarTaskStatus
The calendar task is in status "No Assignee".
static OnHold: CalendarTaskStatus
The calendar task is in status "On Hold".
static Open: CalendarTaskStatus
The calendar task is in status "Open".
static PartiallySuccessful: CalendarTaskStatus
The calendar task is in status "Partially Successful".
static Successful: CalendarTaskStatus
The calendar task is in status "Successful".
Property Detail
Canceled
static Canceled: CalendarTaskStatus
The calendar task is in status "Canceled".
Failed
static Failed: CalendarTaskStatus
The calendar task is in status "Failed".
Inactive
static Inactive: CalendarTaskStatus
The calendar task is in status "Inactive".
InProgress
static InProgress: CalendarTaskStatus
The calendar task is in status "In Progress".
NoAssignee
static NoAssignee: CalendarTaskStatus
The calendar task is in status "No Assignee".
OnHold
static OnHold: CalendarTaskStatus
The calendar task is in status "On Hold".
Open
static Open: CalendarTaskStatus
The calendar task is in status "Open".
PartiallySuccessful
static PartiallySuccessful: CalendarTaskStatus
The calendar task is in status "Partially Successful".
Successful
static Successful: CalendarTaskStatus
The calendar task is in status "Successful".
Type Library calendar-integration
E
CalendarTaskType
Property Summary
Name and Description
static CompositeTask: CalendarTaskType
Composite task
static GeneralTask: CalendarTaskType
General task
static Process: CalendarTaskType
Process
static ReviewTask: CalendarTaskType
Review task
Property Detail
CompositeTask
static CompositeTask: CalendarTaskType
Composite task
GeneralTask
static GeneralTask: CalendarTaskType
General task
Process
static Process: CalendarTaskType
Process
ReviewTask
static ReviewTask: CalendarTaskType
Review task
Type Library calendar-integration
E
CalendarTaskUserRoleType
Property Summary
Name and Description
static Assignee: CalendarTaskUserRoleType
The person who processes the calendar task
static Owner: CalendarTaskUserRoleType
The person who created the calendar task
static Reviewer: CalendarTaskUserRoleType
The person who supervises the work of the assignee
Property Detail
Assignee
static Assignee: CalendarTaskUserRoleType
The person who processes the calendar task
Owner
static Owner: CalendarTaskUserRoleType
The person who created the calendar task
Reviewer
static Reviewer: CalendarTaskUserRoleType
The person who supervises the work of the assignee
Type Library calendar-integration
C
CalendarTaskWorkFile
can be passed as a JSON object to method arguments
An object specifying a calendar task work file
Property Summary
Name and Description
id: string
ID of the work file
type: CalendarTaskWorkFileType
Type of the work file
Property Detail
id
id: string
ID of the work file
type
type: CalendarTaskWorkFileType
Type of the work file
Type Library calendar-integration
E
CalendarTaskWorkFileType
Property Summary
Name and Description
static AnalyticApplication: CalendarTaskWorkFileType
The work file is an analytic application.
static Story: CalendarTaskWorkFileType
The work file is a story.
Property Detail
AnalyticApplication
static AnalyticApplication: CalendarTaskWorkFileType
The work file is an analytic application.
Story
static Story: CalendarTaskWorkFileType
The work file is a story.
Type Library standard
F
cast
Cast an object to the specified type. For example, you can cast a variable filterValue of type FilterValue to the FilterValue subtype SingleFilterValue to access the SingleFilterValue's value property (note the check whether the object is of the correct target type before the cast operation): if (filterValue.type === FilterValueType.Single) { var singleFilter = cast(Type.SingleFilterValue, filterValue); console.log(singleFilter.value); }.
Function Summary
Name and Description
cast(type: Type, arg: <any type>): <type of type>
Cast an object to the specified type.
Function Detail
cast
cast(type: Type, arg: <any type>): <type of type>
Cast an object to the specified type. For example, you can cast a variable filterValue of type FilterValue to the FilterValue subtype SingleFilterValue to access the SingleFilterValue's value property (note the check whether the object is of the correct target type before the cast operation): if (filterValue.type === FilterValueType.Single) { var singleFilter = cast(Type.SingleFilterValue, filterValue); console.log(singleFilter.value); }.
Parameters
type: Type
arg: <any type>
Returns
<type of type>
Type Library chart
C
Chart
Method Summary
Name and Description
getDataChangeInsights(): ChartDataChangeInsights
Returns the Data Change Insights of the chart.
getForecast(): Forecast
Returns the forecast of the chart.
getNumberFormat(): ChartNumberFormat
Returns the chart number format.
getSmartGrouping(): SmartGrouping
Returns the Smart Grouping of the chart.
openInNewStory(): void
Creates a new story with this widget.
openSelectModelDialog(): void
Opens the select model dialog.
setModel(modelId: string, setModelOptions?: SetModelOptions JSON): boolean
Sets the model and replaces the old one.
Method Detail
getDataChangeInsights
getDataChangeInsights(): ChartDataChangeInsights
Returns the Data Change Insights of the chart.
Returns
ChartDataChangeInsights
getForecast
getForecast(): Forecast
Returns the forecast of the chart.
Returns
Forecast
Mobile Support
Not supported on mobile devices.
getNumberFormat
getNumberFormat(): ChartNumberFormat
Returns the chart number format.
Returns
ChartNumberFormat
getSmartGrouping
getSmartGrouping(): SmartGrouping
Returns the Smart Grouping of the chart.
Returns
SmartGrouping
Mobile Support
Not supported on mobile devices.
openInNewStory
openInNewStory(): void
Creates a new story with this widget.
Mobile Support
Not supported on mobile devices.
openSelectModelDialog
openSelectModelDialog(): void
Opens the select model dialog. Selecting a model replaces the model of the chart.
setModel
setModel(modelId: string, setModelOptions?: SetModelOptions JSON): boolean
Sets the model and replaces the old one.
Parameters
modelId: string
setModelOptions Optional: SetModelOptions JSON
Returns
boolean
Type Library chart
C
ChartDataChangeInsights
Method Summary
Name and Description
getSubscriptionLevel(): DataChangeInsightsSubscriptionLevel
Returns the subscription level.
getSubscriptionRange(): DataChangeInsightsSubscriptionRange
Returns the subscription range settings.
setSubscriptionLevel(subscriptionLevel: DataChangeInsightsSubscriptionLevel): void
Sets the subscription level.
setSubscriptionRange(subscriptionRange: DataChangeInsightsSubscriptionRange): void
Sets the subscription range settings.
Method Detail
getSubscriptionLevel
getSubscriptionLevel(): DataChangeInsightsSubscriptionLevel
Returns the subscription level.
Returns
DataChangeInsightsSubscriptionLevel
getSubscriptionRange
getSubscriptionRange(): DataChangeInsightsSubscriptionRange
Returns the subscription range settings.
Returns
DataChangeInsightsSubscriptionRange
setSubscriptionLevel
setSubscriptionLevel(subscriptionLevel: DataChangeInsightsSubscriptionLevel): void
Sets the subscription level.
Parameters
subscriptionLevel: DataChangeInsightsSubscriptionLevel
setSubscriptionRange
setSubscriptionRange(subscriptionRange: DataChangeInsightsSubscriptionRange): void
Sets the subscription range settings.
Parameters
subscriptionRange: DataChangeInsightsSubscriptionRange
Type Library chart
C
ChartNumberFormat
Method Summary
Name and Description
setDecimalPlaces(decimalPlaces: integer, measures?: string[]): void
Specifies the number of decimal places for specific or all measures.
setScaleFormat(scaleFormat: NumberFormatScaleFormat): void
Specifies the scale format of the chart.
setScaleUnit(scaleUnit: NumberFormatScaleUnit, feed: Feed): void
Specifies the scale unit of the labels of the feed.
setSignDisplay(signDisplay: NumberFormatSignDisplay, measures?: string[]): void
Specifies how signs are displayed for specific or all measures.
Method Detail
setDecimalPlaces
setDecimalPlaces(decimalPlaces: integer, measures?: string[]): void
Specifies the number of decimal places for specific or all measures. Number format APIs only apply to measures on axes, Feed.ValueAxis and Feed.ValueAxis2. Tooltip measures Feed.TooltipValueAxis, aren’t supported, for example. Note: Not supported for universal account models.
Parameters
decimalPlaces: integer
measures Optional: string[]
setScaleFormat
setScaleFormat(scaleFormat: NumberFormatScaleFormat): void
Specifies the scale format of the chart. Number format APIs only apply to measures on axes, Feed.ValueAxis and Feed.ValueAxis2. Tooltip measures Feed.TooltipValueAxis, aren’t supported, for example.
Parameters
scaleFormat: NumberFormatScaleFormat
setScaleUnit
setScaleUnit(scaleUnit: NumberFormatScaleUnit, feed: Feed): void
Specifies the scale unit of the labels of the feed. Number format APIs only apply to measures on axes, Feed.ValueAxis and Feed.ValueAxis2. Tooltip measures Feed.TooltipValueAxis, aren’t supported, for example.
Parameters
scaleUnit: NumberFormatScaleUnit
feed: Feed
setSignDisplay
setSignDisplay(signDisplay: NumberFormatSignDisplay, measures?: string[]): void
Specifies how signs are displayed for specific or all measures. Number format APIs only apply to measures on axes, Feed.ValueAxis and Feed.ValueAxis2. Tooltip measures Feed.TooltipValueAxis, aren’t supported, for example. Note: Not supported for universal account models.
Parameters
signDisplay: NumberFormatSignDisplay
measures Optional: string[]
Type Library datasource
C
CommentInfo
Property Summary
Name and Description
commentId: string
createdAt: string
createdBy: UserInfo
numberOfLikes: integer
text: string
Property Detail
commentId
commentId: string
createdAt
createdAt: string
createdBy
createdBy: UserInfo
numberOfLikes
numberOfLikes: integer
text
text: string
Type Library visualization-controls
C
Commenting
extends Widget
Method Summary
Name and Description
getCommentingDataSource(): CommentingDataSource
Returns the data source of the commenting widget.
Method Detail
getCommentingDataSource
getCommentingDataSource(): CommentingDataSource
Returns the data source of the commenting widget.
Returns
CommentingDataSource
Type Library visualization-controls
C
CommentingDataSource
Method Summary
Name and Description
getDimensionFilters(dimension: string | DimensionInfo): FilterValue[]
Returns the dimension filters.
removeDimensionFilter(dimension: string | DimensionInfo): void
Removes any filter that is set on the dimension.
setDimensionFilter(dimension: string | DimensionInfo, member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[]): void
Sets a filter on the dimension.
Method Detail
getDimensionFilters
getDimensionFilters(dimension: string | DimensionInfo): FilterValue[]
Returns the dimension filters. They don't contain Advanced Filters. Note: Currently, they don't contain time range filters.
Parameters
dimension: string | DimensionInfo
Returns
FilterValue[]
removeDimensionFilter
removeDimensionFilter(dimension: string | DimensionInfo): void
Removes any filter that is set on the dimension. Advanced Filters aren't affected.
Parameters
dimension: string | DimensionInfo
setDimensionFilter
setDimensionFilter(dimension: string | DimensionInfo, member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[]): void
Sets a filter on the dimension. Any existing filter (except Advanced Filters) on the dimension is overwritten. For most dimensions, you can specify one or more members to be included in the filter. For date- and time-based dimensions, you can specify one or more time ranges to be included in the filter.
Parameters
dimension: string | DimensionInfo
member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[]
Type Library containers
C
Composite
extends Widget
Method Summary
Name and Description
static fireEvent(eventName: string): Event
Fires composite interface event.
hideBusyIndicator(): void
Hides the busy indicator.
showBusyIndicator(text?: string): void
Shows the busy indicator.
Method Detail
fireEvent
static fireEvent(eventName: string): Event
Fires composite interface event.
Parameters
eventName: string
Returns
Event
hideBusyIndicator
hideBusyIndicator(): void
Hides the busy indicator.
showBusyIndicator
showBusyIndicator(text?: string): void
Shows the busy indicator.
Parameters
text Optional: string
Type Library standard
O
console
Method Summary
Name and Description
static log(arg: any): void
Outputs a message to the Web Console.
Method Detail
log
static log(arg: any): void
Outputs a message to the Web Console.
Parameters
arg: any
C
CrossPagePopupSizeOptions
Property Summary
Name and Description
static height: integer
Height
static heightUnit: PopupSizeUnit
Height Unit
static width: integer
Width
static widthUnit: PopupSizeUnit
Width Unit
Property Detail
height
static height: integer
Height
heightUnit
static heightUnit: PopupSizeUnit
Height Unit
width
static width: integer
Width
widthUnit
static widthUnit: PopupSizeUnit
Width Unit
C
CurrentDateTime
Type Library data-action
C
DataAction
Method Summary
Name and Description
execute(): DataActionExecutionResponse
Executes the data action as a blocking operation, which prevents the rest of the application script from running until the data action is complete.
executeInBackground(executionName: string): DataActionBackgroundExecutionResponse
Executes the data action as a non-blocking operation.
getExecutionProgress(executionId: string): DataActionExecutionResponseStatus
Returns status of given Data Action execution.
getParameterValue(id: string): DataActionParameterValue
Returns the value of the parameter.
isAllMembersSelected(id: string): boolean
Returns whether the parameter has the all member as value.
setAllMembersSelected(id: string, hierarchy?: string): void
Sets the all member as parameter value.
setParameterValue(id: string, value: string | string[] | DataActionParameterValue JSON | number): void
Sets the value of the parameter.
Event Summary
Name and Description
onExecutionStatusUpdate(status: DataActionExecutionResponseStatus, executionId: string, executionName: string): void
Called when an asynchronous Data Action execution changes its status.
Method Detail
execute
execute(): DataActionExecutionResponse
Executes the data action as a blocking operation, which prevents the rest of the application script from running until the data action is complete. It's best to use it only for data actions that take a short time to run.
Returns
DataActionExecutionResponse
executeInBackground
executeInBackground(executionName: string): DataActionBackgroundExecutionResponse
Executes the data action as a non-blocking operation. A non-blocking operation doesn't block further execution while that operation is executed.
Parameters
executionName: string
Returns
DataActionBackgroundExecutionResponse
getExecutionProgress
getExecutionProgress(executionId: string): DataActionExecutionResponseStatus
Returns status of given Data Action execution.
Parameters
executionId: string
Returns
DataActionExecutionResponseStatus
getParameterValue
getParameterValue(id: string): DataActionParameterValue
Returns the value of the parameter.
Parameters
id: string
Returns
DataActionParameterValue
isAllMembersSelected
isAllMembersSelected(id: string): boolean
Returns whether the parameter has the all member as value.
Parameters
id: string
Returns
boolean
setAllMembersSelected
setAllMembersSelected(id: string, hierarchy?: string): void
Sets the all member as parameter value.
Parameters
id: string
hierarchy Optional: string
setParameterValue
setParameterValue(id: string, value: string | string[] | DataActionParameterValue JSON | number): void
Sets the value of the parameter.
Parameters
id: string
value: string | string[] | DataActionParameterValue JSON | number
Event Detail
onExecutionStatusUpdate
onExecutionStatusUpdate(status: DataActionExecutionResponseStatus, executionId: string, executionName: string): void
Called when an asynchronous Data Action execution changes its status.
Parameters
status: DataActionExecutionResponseStatus
executionId: string
executionName: string
Type Library data-action
C
DataActionAllMemberSelection
extends DataActionParameterValue, can be passed as a JSON object to method arguments
An object defining a data action parameter all member selection
Property Summary
Name and Description
hierarchy: string
Hierarchy name
Inherited from DataActionParameterValue
type
Property Detail
hierarchy
hierarchy: string
Hierarchy name
Type Library data-action
C
DataActionBackgroundExecutionResponse
Property Summary
Name and Description
executionId: string
Generated execution ID.
status: DataActionBackgroundExecutionResponseStatus
Execution status
Property Detail
executionId
executionId: string
Generated execution ID.
status
status: DataActionBackgroundExecutionResponseStatus
Execution status
Type Library data-action
E
DataActionBackgroundExecutionResponseStatus
Property Summary
Name and Description
static Accepted: DataActionBackgroundExecutionResponseStatus
Execution is accepted.
static Error: DataActionBackgroundExecutionResponseStatus
Execution ended with errors.
Property Detail
Accepted
static Accepted: DataActionBackgroundExecutionResponseStatus
Execution is accepted.
Error
static Error: DataActionBackgroundExecutionResponseStatus
Execution ended with errors.
Type Library data-action
C
DataActionExecutionResponse
Property Summary
Name and Description
status: DataActionExecutionResponseStatus
Execution result status
Property Detail
status
status: DataActionExecutionResponseStatus
Execution result status
Type Library data-action
E
DataActionExecutionResponseStatus
Property Summary
Name and Description
static Accepted: DataActionExecutionResponseStatus
Execution is accepted.
static Canceled: DataActionExecutionResponseStatus
Execution has been canceled.
static Error: DataActionExecutionResponseStatus
Execution ended with errors.
static Queued: DataActionExecutionResponseStatus
Execution is queued.
static Running: DataActionExecutionResponseStatus
Execution is running.
static Success: DataActionExecutionResponseStatus
Execution ended successfully.
Property Detail
Accepted
static Accepted: DataActionExecutionResponseStatus
Execution is accepted.
Canceled
static Canceled: DataActionExecutionResponseStatus
Execution has been canceled.
Error
static Error: DataActionExecutionResponseStatus
Execution ended with errors.
Queued
static Queued: DataActionExecutionResponseStatus
Execution is queued.
Running
static Running: DataActionExecutionResponseStatus
Execution is running.
Success
static Success: DataActionExecutionResponseStatus
Execution ended successfully.
Type Library data-action
C
DataActionMemberParameterValue
extends DataActionParameterValue, can be passed as a JSON object to method arguments
An object defining a data action member parameter value
Property Summary
Name and Description
members: string[]
Member IDs
Inherited from DataActionParameterValue
type
Property Detail
members
members: string[]
Member IDs
Type Library data-action
C
DataActionNumberParameterValue
extends DataActionParameterValue, can be passed as a JSON object to method arguments
An object defining a data action number parameter value
Property Summary
Name and Description
value: number
Number value
Inherited from DataActionParameterValue
type
Property Detail
value
value: number
Number value
Type Library data-action
C
DataActionParameterValue
can be passed as a JSON object to method arguments
An object defining a data action parameter value
Direct Subclasses
DataActionAllMemberSelection, DataActionMemberParameterValue, DataActionNumberParameterValue, DataActionPlanningModelMemberParameterValue
Property Summary
Name and Description
type: DataActionParameterValueType
Type of the parameter value
Property Detail
type
type: DataActionParameterValueType
Type of the parameter value
Type Library data-action
E
DataActionParameterValueType
Property Summary
Name and Description
static All: DataActionParameterValueType
All member selection type
static Member: DataActionParameterValueType
Member value type
static Number: DataActionParameterValueType
Number value type
static PlanningModelMember: DataActionParameterValueType
Planning Model Member value type
Property Detail
All
static All: DataActionParameterValueType
All member selection type
Member
static Member: DataActionParameterValueType
Member value type
Number
static Number: DataActionParameterValueType
Number value type
PlanningModelMember
static PlanningModelMember: DataActionParameterValueType
Planning Model Member value type
C
DataActionPlanningModelMemberParameterValue
extends DataActionParameterValue, can be passed as a JSON object to method arguments
An object defining a data action member parameter value
Property Summary
Name and Description
hierarchy: string
Specific hierarchy which should be used for the given members.
members: PlanningModelMember[] JSON
Planning Model Member
Inherited from DataActionParameterValue
type
Property Detail
hierarchy
hierarchy: string
Specific hierarchy which should be used for the given members. If undefined, the fixed hierarchy of the parameter or the default hierarchy of the dimension will be used
members
members: PlanningModelMember[] JSON
Planning Model Member
Type Library planning
C
DataActionTrigger
extends Widget
Event Summary
Name and Description
onBeforeExecute(): boolean
Called when the user clicks the data action starter.
Event Detail
onBeforeExecute
onBeforeExecute(): boolean
Called when the user clicks the data action starter. If this method returns true or returns no value, then the data action is executed. If this method returns false, then the data action is ignored.
Returns
boolean Default value: true
Type Library data-binding
C
DataBinding
Method Summary
Name and Description
addDimensionToFeed(feed: string, dimensionId: string, position?: integer): void
Adds a dimension to a feed.
addMemberToFeed(feed: string, memberId: string, position?: integer): void
Adds a member to a feed.
getDataSource(): DataSource
Returns the data source of the data-binding.
getDimensions(feed: string): string[]
Returns all dimensions on the feed.
getLinkedAnalysis(): LinkedAnalysis
linked ayalysis for custom widget.
getMembers(feed: string): string[]
Returns all members on the feed.
openSelectModelDialog(): void
Opens the select model dialog.
removeDimension(dimensionId: string): void
Removes a dimension from the feed on which it is currently on.
removeMember(memberId: string): void
Removes a member from the feed on which it is currently on.
setModel(modelId: string): boolean
Sets the model and replaces the old one.
Method Detail
addDimensionToFeed
addDimensionToFeed(feed: string, dimensionId: string, position?: integer): void
Adds a dimension to a feed.
Parameters
feed: string
dimensionId: string
position Optional: integer
addMemberToFeed
addMemberToFeed(feed: string, memberId: string, position?: integer): void
Adds a member to a feed.
Parameters
feed: string
memberId: string
position Optional: integer
getDataSource
getDataSource(): DataSource
Returns the data source of the data-binding. If the data-binding has no data source, then undefined is returned.
Returns
DataSource
getDimensions
getDimensions(feed: string): string[]
Returns all dimensions on the feed.
Parameters
feed: string
Returns
string[]
getLinkedAnalysis
getLinkedAnalysis(): LinkedAnalysis
linked ayalysis for custom widget.
Returns
LinkedAnalysis
getMembers
getMembers(feed: string): string[]
Returns all members on the feed.
Parameters
feed: string
Returns
string[]
openSelectModelDialog
openSelectModelDialog(): void
Opens the select model dialog. Selecting a model replaces the model and clears the query of the databinding.
removeDimension
removeDimension(dimensionId: string): void
Removes a dimension from the feed on which it is currently on.
Parameters
dimensionId: string
removeMember
removeMember(memberId: string): void
Removes a member from the feed on which it is currently on.
Parameters
memberId: string
setModel
setModel(modelId: string): boolean
Sets the model and replaces the old one.
Parameters
modelId: string
Returns
boolean
Type Library data-binding
C
DataBindings
Method Summary
Name and Description
getDataBinding(dataBindingId?: string): DataBinding
Returns the databinding of the custom widget.
Method Detail
getDataBinding
getDataBinding(dataBindingId?: string): DataBinding
Returns the databinding of the custom widget. If arugment is omitted, the first databinding defined in the contribution will be returned. If the customwidget has no databinding, then undefined is returned.
Parameters
dataBindingId Optional: string
Returns
DataBinding
Type Library datasource
C
DataCell
Type Library data-change-insights
C
DataChangeInsight
Property Summary
Name and Description
content: string
type: DataChangeInsightType
Property Detail
content
content: string
type
type: DataChangeInsightType
Type Library data-change-insights
C
DataChangeInsights
Method Summary
Name and Description
compareApplicationStateWithSnapshot(target: Date, options?: DataChangeInsightsComparisonOptions JSON): DataChangeInsightsResult
Compares the current state of the analytic application with a Data Change Insights snapshot.
compareSnapshots(source: Date, target: Date, options?: DataChangeInsightsComparisonOptions JSON): DataChangeInsightsResult
Compares two Data Change Insights snapshots by date.
getVersion(): integer
Returns the Data Change Insights version of the analytic application.
isRunBySnapshotGeneration(): boolean
Returns whether the Data Change Insights snapshot task is running.
listRecentSnapshotDates(maximumNumber?: integer): Date[]
Returns a list of dates when a Data Change Insights snapshot was created from the analytic application.
openSubscriptionDialog(): void
Opens the subscription dialog.
saveSnapshot(): boolean
Saves a Data Change Insights snapshot.
Method Detail
compareApplicationStateWithSnapshot
compareApplicationStateWithSnapshot(target: Date, options?: DataChangeInsightsComparisonOptions JSON): DataChangeInsightsResult
Compares the current state of the analytic application with a Data Change Insights snapshot.
Parameters
target: Date
options Optional: DataChangeInsightsComparisonOptions JSON
Returns
DataChangeInsightsResult
compareSnapshots
compareSnapshots(source: Date, target: Date, options?: DataChangeInsightsComparisonOptions JSON): DataChangeInsightsResult
Compares two Data Change Insights snapshots by date. Note: An analytic application can have only one Data Change Insights snapshot per day.
Parameters
source: Date
target: Date
options Optional: DataChangeInsightsComparisonOptions JSON
Returns
DataChangeInsightsResult
getVersion
getVersion(): integer
Returns the Data Change Insights version of the analytic application.
Returns
integer
isRunBySnapshotGeneration
isRunBySnapshotGeneration(): boolean
Returns whether the Data Change Insights snapshot task is running.
Returns
boolean
listRecentSnapshotDates
listRecentSnapshotDates(maximumNumber?: integer): Date[]
Returns a list of dates when a Data Change Insights snapshot was created from the analytic application. Optionally, you can specify the maximum number of returned dates (default: 10 for Local Tenant Storage, 100 for Data Repositories). The maximum number is limited to 10 for Local Tenant Storage, 100 for Data Repositories.
Parameters
maximumNumber Optional: integer
Returns
Date[]
openSubscriptionDialog
openSubscriptionDialog(): void
Opens the subscription dialog.
Mobile Support
Not supported on mobile devices.
saveSnapshot
saveSnapshot(): boolean
Saves a Data Change Insights snapshot. Only one snapshot is kept per analytic application per day. When you save more snapshots per analytic application per day, then the latest snapshot overwrites the previous snapshot.
Returns
boolean
Type Library data-change-insights
C
DataChangeInsightsComparisonOptions
can be passed as a JSON object to method arguments
Property Summary
Name and Description
top: integer
Number of returned Data Change Insights.
Property Detail
top
top: integer
Number of returned Data Change Insights. The maximum number is limited to 5.
Type Library data-change-insights
C
DataChangeInsightsResult
Property Summary
Name and Description
insights: DataChangeInsight[]
status: DataChangeInsightsStatus
statusMessage: string
Property Detail
insights
insights: DataChangeInsight[]
status
status: DataChangeInsightsStatus
statusMessage
statusMessage: string
Type Library data-change-insights
E
DataChangeInsightsStatus
Property Summary
Name and Description
static Error: DataChangeInsightsStatus
Error
static Invalid: DataChangeInsightsStatus
Invalid
static Ok: DataChangeInsightsStatus
Ok
Property Detail
Error
static Error: DataChangeInsightsStatus
Error
Invalid
static Invalid: DataChangeInsightsStatus
Invalid
Ok
static Ok: DataChangeInsightsStatus
Ok
Type Library chart
E
DataChangeInsightsSubscriptionLevel
Type Library chart
C
DataChangeInsightsSubscriptionRange
Type Library data-change-insights
E
DataChangeInsightType
Property Summary
Name and Description
static TopNMemberChange: DataChangeInsightType
Top N member change
static ValueChange: DataChangeInsightType
Value change
static ValueChangeOverReferenceLine: DataChangeInsightType
Value change over reference line
static ValueChangeOverThreshold: DataChangeInsightType
Value change over threshold
Property Detail
TopNMemberChange
static TopNMemberChange: DataChangeInsightType
Top N member change
ValueChange
static ValueChange: DataChangeInsightType
Value change
ValueChangeOverReferenceLine
static ValueChangeOverReferenceLine: DataChangeInsightType
Value change over reference line
ValueChangeOverThreshold
static ValueChangeOverThreshold: DataChangeInsightType
Value change over threshold
Type Library datasource
C
DataContext
A data context describes a member or measure. For example, a data context of a member is {"id": "[Date_703i1904sd].[YHQM].[Date_703i1904sd.YEAR].[2014]", "description": "2014", "parentId": "[Date_703i1904sd].[YHQM].[All].[(all)]", properties: {}}. For example, a data context of a measure is {"id": "[Account_BestRunJ_sold].[parentId].&[Discount]", "description": "Discount", "formattedValue": "45674567", "rawValue": "45674567"}.
Property Summary
Name and Description
description: string
Member or measure description (optional)
formattedValue: string
Formatted value (measures only)
id: string
Member or measure ID
parentId: string
Parent ID of member or measure (optional)
properties: ResultMemberProperties
Properties of a dimension
rawValue: string
Raw (unformatted) value (measures only)
Property Detail
description
description: string
Member or measure description (optional)
formattedValue
formattedValue: string
Formatted value (measures only)
id
id: string
Member or measure ID
parentId
parentId: string
Parent ID of member or measure (optional)
properties
properties: ResultMemberProperties
Properties of a dimension
rawValue
rawValue: string
Raw (unformatted) value (measures only)
Type Library planning
C
DataLocking
Method Summary
Name and Description
getState(selection: Selection): DataLockingState
Returns the data locking state of a data cell.
setState(selection: Selection, value: DataLockingState): boolean
Sets the data locking state of a data cell.
Method Detail
getState
getState(selection: Selection): DataLockingState
Returns the data locking state of a data cell. The data cell is specified by the selection.
Parameters
selection: Selection
Returns
DataLockingState
setState
setState(selection: Selection, value: DataLockingState): boolean
Sets the data locking state of a data cell. The data cell is specified by the selection. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
selection: Selection
value: DataLockingState
Returns
boolean
Type Library planning
E
DataLockingState
Property Summary
Name and Description
static Locked: DataLockingState
The value of a data cell can't be changed.
static Mixed: DataLockingState
The data locking state can't be determined.
static Open: DataLockingState
The value of a data cell can be changed by users who have the permission to enter values for the model.
static Restricted: DataLockingState
The value of a data cell can be changed only by users who have effective ownership of the locks of the data cell.
Property Detail
Locked
static Locked: DataLockingState
The value of a data cell can't be changed.
Mixed
static Mixed: DataLockingState
The data locking state can't be determined.
Open
static Open: DataLockingState
The value of a data cell can be changed by users who have the permission to enter values for the model.
Restricted
static Restricted: DataLockingState
The value of a data cell can be changed only by users who have effective ownership of the locks of the data cell.
Type Library datasource
C
DataSource
Method Summary
Name and Description
collapseNode(dimension: string | DimensionInfo, selection: Selection): void
Collapses a hierarchy node.
copyDimensionFilterFrom(sourceDataSource: DataSource, dimension?: string | string[] | DimensionInfo | DimensionInfo[]): void
Copies the dimension filters of the dimensions of the source data source to the dimensions of this data source.
copyVariableValueFrom(sourceDataSource: DataSource, variable?: string | string[] | VariableInfo | VariableInfo[]): void
Copies the value of a variable.
expandNode(dimension: string | DimensionInfo, selection: Selection): void
Expands a hierarchy node.
getBackendCondition(backendConditionId: string): BackendCondition
Gets a BEx condition by its ID.
getBackendConditions(): BackendCondition[]
Gets all BEx conditions.
getComments(): DataSourceComments
Deprecated This method is deprecated, use Table.getComments() instead.
getData(selection: Selection): DataCell
Returns the data cell of the selection.
getDataSelections(selections?: Selection | Selection[] | SelectionContext, offset?: integer, limit?: integer): Selection[]
Returns selections of data cells.
getDimensionFilters(dimension: string | DimensionInfo): FilterValue[]
Returns the dimension filters.
getDimensionProperties(dimension: string | DimensionInfo): DimensionPropertyInfo[]
Returns the properties of the dimension.
getDimensions(): DimensionInfo[]
Returns all dimensions of the data source.
getHierarchies(dimension: string | DimensionInfo): HierarchyInfo[]
Returns all hierarchies of the dimension.
getHierarchy(dimension: string | DimensionInfo): HierarchyInfo
Returns the hierarchy set on the dimension.
getHierarchyLevel(dimension: string | DimensionInfo): integer
Returns the hierarchy level of the dimension.
getInfo(): DataSourceInfo
Returns information about the data source.
getMeasures(): MeasureInfo[]
Returns all measures of the data source.
getMember(dimension: string | DimensionInfo, memberId: string, hierarchy?: string | HierarchyInfo): MemberInfo
Returns the member info object from a member ID.
getMemberDisplayMode(dimension: string | DimensionInfo): MemberDisplayMode
Returns the display mode for members of the dimension.
getMembers(dimension: string | DimensionInfo, options?: integer | MembersOptions): MemberInfo[]
Returns the members of the dimension.
getRefreshPaused(): PauseMode
Returns the pause mode of the data refresh.
getResultMember(dimension: string | DimensionInfo, selection: Selection): ResultMemberInfo
Returns the result member.
getResultSet(selections?: Selection | Selection[] | SelectionContext, offset?: integer, limit?: integer): ResultSet[]
Returns result sets.
getVariables(): VariableInfo[]
Returns all variables of the data source.
getVariableValues(variable: string | VariableInfo): VariableValue[]
Returns the values of the variable.
isRefreshPaused(): boolean
Deprecated This method is deprecated, use getRefreshPaused() instead.
isResultEmpty(): boolean
Returns whether the result of the data source query state is empty, that is, no data cells were returned.
openPromptDialog(): void
Opens the Prompt dialog for the model used by this data source.
refreshData(): void
Triggers data refresh and updates the widgets associated with the data source at the same time.
removeDimensionFilter(dimension: string | DimensionInfo): void
Removes any filter that is set on the dimension.
removeVariableValue(variable: string | VariableInfo): void
Removes the value of the variable.
setDimensionFilter(dimension: string | DimensionInfo, member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[] | FilterValue | RangeFilterValue[]): void
Sets a filter on the dimension.
setHierarchy(dimension: string | DimensionInfo, hierarchy: string | HierarchyInfo): void
Sets the hierarchy on the dimension.
setHierarchyLevel(dimension: string | DimensionInfo, level?: integer): void
Sets the hierarchy level of the dimension.
setMemberDisplayMode(dimension: string | DimensionInfo, displayMode: MemberDisplayMode): void
Sets the display mode for members of the dimension.
setRefreshPaused(paused: PauseMode | boolean): void
Sets the pause mode of the data refresh.
setVariableValue(variable: string | VariableInfo, variableValue: string | number | VariableValue | VariableValue[], options?: SetVariableValueOptions): void
Sets the value of the variable.
Method Detail
collapseNode
collapseNode(dimension: string | DimensionInfo, selection: Selection): void
Collapses a hierarchy node. The dimension node specified by the selection is collapsed. For tables, only one dimension node is collapsed. The expansion state of its child nodes is restored when this dimension node is expanded again. For charts, all specified dimension nodes are collapsed, along with their child nodes. For Waterfall charts with one or more dimensions, the selection specifies one dimension and one measure. For Waterfall charts with one measure but no dimensions, the selection specifies this measure. For Waterfall charts with more than one measure but no dimensions, this operation is ignored. Note: Currently, this operation is not supported for data sources associated with geo map layers.
Parameters
dimension: string | DimensionInfo
selection: Selection
copyDimensionFilterFrom
copyDimensionFilterFrom(sourceDataSource: DataSource, dimension?: string | string[] | DimensionInfo | DimensionInfo[]): void
Copies the dimension filters of the dimensions of the source data source to the dimensions of this data source. If no dimensions are specified, then the filters of all matching dimensions are copied. Note: Only filters on dimensions with the same name and the same active hierarchy in both the source data source and this data source are copied. Note: Advanced Filters are not copied.
Parameters
sourceDataSource: DataSource
dimension Optional: string | string[] | DimensionInfo | DimensionInfo[]
copyVariableValueFrom
copyVariableValueFrom(sourceDataSource: DataSource, variable?: string | string[] | VariableInfo | VariableInfo[]): void
Copies the value of a variable. If no variable is specified, then all variable values of the data source are copied. If you copy an empty variable value to a mandatory variable, then copying this variable is ignored. If you copy a variable value to a data source of a widget that overrides variables and the variable is of type text, then copying this variable is ignored.
Parameters
sourceDataSource: DataSource
variable Optional: string | string[] | VariableInfo | VariableInfo[]
expandNode
expandNode(dimension: string | DimensionInfo, selection: Selection): void
Expands a hierarchy node. Only one hierarchy dimension can be expanded. Every node on the hierarchy path is expanded as well. For tables, this operation is ignored if one of the dimension nodes on the hierarchy path doesn't exist. Invalid dimensions in the selection are ignored. For charts, all dimension nodes specified by the selection are expanded. If the selection doesn't specify dimension nodes of the specified dimension, then this operation is ignored. For Waterfall charts with one or more dimensions, the selection specifies one dimension and one measure. For Waterfall charts with one measure but no dimensions, the selection specifies this measure. For Waterfall charts with more than one measure but no dimensions, this operation is ignored. Note: Currently, this operation is not supported for data sources associated with geo map layers.
Parameters
dimension: string | DimensionInfo
selection: Selection
getBackendCondition
getBackendCondition(backendConditionId: string): BackendCondition
Gets a BEx condition by its ID. Note: Only supported for data sources associated with charts.
Parameters
backendConditionId: string
Returns
BackendCondition
getBackendConditions
getBackendConditions(): BackendCondition[]
Gets all BEx conditions. Note: Only supported for data sources associated with charts.
Returns
BackendCondition[]
getComments
getComments(): DataSourceComments
Deprecated This method is deprecated, use Table.getComments() instead. Returns the comments of the data source. Note: Currently, this operation is only supported for data sources associated with tables. If the data source isn't associated with a table, then undefined is returned.
Returns
DataSourceComments
Deprecated
2025.14
getData
getData(selection: Selection): DataCell
Returns the data cell of the selection. If no value is available for that selection, then undefined is returned. See also the documentation of Selection.
Parameters
selection: Selection
Returns
DataCell
getDataSelections
getDataSelections(selections?: Selection | Selection[] | SelectionContext, offset?: integer, limit?: integer): Selection[]
Returns selections of data cells. Optionally, you can specify the offset and the limit, which must be zero or positive numbers. If no offset and limit are specified or are invalid, then a selection including all data cells is returned. See also the documentation of Selection or SelectionContext.
Parameters
selections Optional: Selection | Selection[] | SelectionContext
offset Optional: integer
limit Optional: integer
Returns
Selection[]
getDimensionFilters
getDimensionFilters(dimension: string | DimensionInfo): FilterValue[]
Returns the dimension filters. They don't contain Advanced Filters. Note: Currently, they don't contain time range filters.
Parameters
dimension: string | DimensionInfo
Returns
FilterValue[]
getDimensionProperties
getDimensionProperties(dimension: string | DimensionInfo): DimensionPropertyInfo[]
Returns the properties of the dimension. Note: Currently, this operation is only supported for data sources associated with tables.
Parameters
dimension: string | DimensionInfo
Returns
DimensionPropertyInfo[]
getDimensions
getDimensions(): DimensionInfo[]
Returns all dimensions of the data source.
Returns
DimensionInfo[]
getHierarchies
getHierarchies(dimension: string | DimensionInfo): HierarchyInfo[]
Returns all hierarchies of the dimension.
Parameters
dimension: string | DimensionInfo
Returns
HierarchyInfo[]
getHierarchy
getHierarchy(dimension: string | DimensionInfo): HierarchyInfo
Returns the hierarchy set on the dimension.
Parameters
dimension: string | DimensionInfo
Returns
HierarchyInfo
getHierarchyLevel
getHierarchyLevel(dimension: string | DimensionInfo): integer
Returns the hierarchy level of the dimension. This operation is only supported for data sources associated with tables, charts and optimized geo map bubble color. If the dimension is invalid or if the dimension doesn't have a hierarchy, then undefined is returned. Note: This operation isn't supported for data sources associated with charts on SAP BW models and undefined is returned. For non-active dimensions this operation is only supported for data sources associated with charts in optimized view mode.
Parameters
dimension: string | DimensionInfo
Returns
integer
getInfo
getInfo(): DataSourceInfo
Returns information about the data source.
Returns
DataSourceInfo
getMeasures
getMeasures(): MeasureInfo[]
Returns all measures of the data source.
Returns
MeasureInfo[]
getMember
getMember(dimension: string | DimensionInfo, memberId: string, hierarchy?: string | HierarchyInfo): MemberInfo
Returns the member info object from a member ID. Note: The member ID of a member may differ depending on its dimension's hierarchy. For example, for a SAP BW system, the member ID of the same member may be "DE" for a flat presentation hierarchy and "!DE" for an actual hierarchy. Note: If the specified hierarchy doesn't exist, then undefined is returned. Note: If the data source is associated with an R visualization and you specify a hierarchy other than Alias.FlatHierarchy (flat presentation), then undefined is returned. Note: returns compounded displayId if available.
Parameters
dimension: string | DimensionInfo
memberId: string
hierarchy Optional: string | HierarchyInfo
Returns
MemberInfo
getMemberDisplayMode
getMemberDisplayMode(dimension: string | DimensionInfo): MemberDisplayMode
Returns the display mode for members of the dimension.
Parameters
dimension: string | DimensionInfo
Returns
MemberDisplayMode
getMembers
getMembers(dimension: string | DimensionInfo, options?: integer | MembersOptions): MemberInfo[]
Returns the members of the dimension. If you specify a number, then at most this many members are returned (default: 200). If you specify members options, then you can control the returned set of members even finer. Note: If the hierarchy specified in the members options doesn't exist, then an empty array is returned. Note: If the data source is associated with an R visualization and you specify a hierarchy other than Alias.FlatHierarchy (flat presentation) in the members options, then an empty array is returned. Note: returns compounded displayId if available.
Parameters
dimension: string | DimensionInfo
options Optional: integer | MembersOptions
Returns
MemberInfo[]
getRefreshPaused
getRefreshPaused(): PauseMode
Returns the pause mode of the data refresh. Note: This operation is only supported for data sources associated with charts or tables.
Returns
PauseMode
getResultMember
getResultMember(dimension: string | DimensionInfo, selection: Selection): ResultMemberInfo
Returns the result member. It is specified by a dimension and a selection.
Parameters
dimension: string | DimensionInfo
selection: Selection
Returns
ResultMemberInfo
getResultSet
getResultSet(selections?: Selection | Selection[] | SelectionContext, offset?: integer, limit?: integer): ResultSet[]
Returns result sets. The result sets are specified by selections. Optionally, you can specify the offset and the limit, which must be zero or positive numbers. If no offset and limit are specified or are invalid, then a result set including all data is returned. See also the documentation of Selection or SelectionContext.
Parameters
selections Optional: Selection | Selection[] | SelectionContext
offset Optional: integer
limit Optional: integer
Returns
ResultSet[]
getVariableValues
getVariableValues(variable: string | VariableInfo): VariableValue[]
Returns the values of the variable. Each value can be a single, multiple, or range variable value. To access its type-specific properties, cast the value to the corresponding value type based on the "type" property, using the global cast function. Note: This method may return outdated values with SAP BW dynamic filter variables. Use getDimensionFilters() instead if you are interested in their current values.
Parameters
variable: string | VariableInfo
Returns
VariableValue[]
getVariables
getVariables(): VariableInfo[]
Returns all variables of the data source.
Returns
VariableInfo[]
isRefreshPaused
isRefreshPaused(): boolean
Deprecated This method is deprecated, use getRefreshPaused() instead. Returns whether the data refresh is paused. If the pause mode of the data source is Auto, then false is returned.
Returns
boolean
Deprecated
2025.14
isResultEmpty
isResultEmpty(): boolean
Returns whether the result of the data source query state is empty, that is, no data cells were returned.
Returns
boolean
openPromptDialog
openPromptDialog(): void
Opens the Prompt dialog for the model used by this data source. By default, this is the same as opening the Prompt dialog from the toolbar for the model used by this data source. If the widget is overriding the variables, then this is the same as opening the Prompt dialog from the widget directly.
refreshData
refreshData(): void
Triggers data refresh and updates the widgets associated with the data source at the same time. Note: This operation is only supported for data sources associated with charts, tables or geo map layers. Otherwise, no data refresh is triggered.
removeDimensionFilter
removeDimensionFilter(dimension: string | DimensionInfo): void
Removes any filter that is set on the dimension. Advanced Filters aren't affected.
Parameters
dimension: string | DimensionInfo
removeVariableValue
removeVariableValue(variable: string | VariableInfo): void
Removes the value of the variable. By default, this removes the variable value of the variable for the data source on the application. If you remove the variable value of a variable for a data source of a widget that overrides variables, then this operation removes only the variable value for this widget. If you remove a variable value from a mandatory variable, then this operation is ignored. If you remove a variable value of a variable for a data source of a widget that overrides variables and the variable is of type text, then this operation is ignored.
Parameters
variable: string | VariableInfo
setDimensionFilter
setDimensionFilter(dimension: string | DimensionInfo, member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[] | FilterValue | RangeFilterValue[]): void
Sets a filter on the dimension. Any existing filter (except Advanced Filters) on the dimension is overwritten. For most dimensions, you can specify one or multiple members to be included or excluded in the filter. Note that for charts, the exclude option doesn't support Alias.MeasureDimension from SAP BW models. For date and time based dimensions, you can specify one or more time ranges to be included in the filter. For numeric dimensions, you can specify one or more filter ranges to be included in the filter. If the dimension has a hierarchy, then the specified members need to be part of this hierarchy. If they belong to a different hierarchy, then set that hierarchy with DataSource.setHierarchy() first before calling DataSource.setDimensionFilter().
Parameters
dimension: string | DimensionInfo
member: string | string[] | MemberInfo | MemberInfo[] | MeasureInfo | MeasureInfo[] | TimeRange | TimeRange[] | FilterValue | RangeFilterValue[]
setHierarchy
setHierarchy(dimension: string | DimensionInfo, hierarchy: string | HierarchyInfo): void
Sets the hierarchy on the dimension. Note: Currently, this operation is ignored for measure structures. This operation is not supported for data sources associated with geo map layers.
Parameters
dimension: string | DimensionInfo
hierarchy: string | HierarchyInfo
setHierarchyLevel
setHierarchyLevel(dimension: string | DimensionInfo, level?: integer): void
Sets the hierarchy level of the dimension. If the dimension or the hierarchy level of the dimension is invalid, then this operation is ignored. The default value of the level is defined by the dimension's default level. For data sources associated with charts, the level value is optional.
Parameters
dimension: string | DimensionInfo
level Optional: integer
setMemberDisplayMode
setMemberDisplayMode(dimension: string | DimensionInfo, displayMode: MemberDisplayMode): void
Sets the display mode for members of the dimension.
Parameters
dimension: string | DimensionInfo
displayMode: MemberDisplayMode
setRefreshPaused
setRefreshPaused(paused: PauseMode | boolean): void
Sets the pause mode of the data refresh. The script is fully executed without waiting for all the widgets associated with the data source to be updated when their pause of data refresh is disabled. Note: This operation is only supported for data sources associated with charts or tables. For more information about the different modes, see the chapter "Use Pause Refresh Options and APIs" in SAP Analytics Cloud Help.
Parameters
paused: PauseMode | boolean
setVariableValue
setVariableValue(variable: string | VariableInfo, variableValue: string | number | VariableValue | VariableValue[], options?: SetVariableValueOptions): void
Sets the value of the variable. By default, this sets the variable value of the variable for the data source on the application. If you set the variable value of a variable for a data source of a widget that overrides variables, then this operation sets only the variable value for this widget. If you set an empty variable value to a mandatory variable, then this operation is ignored. If you set a variable value of a variable for a data source of a widget that overrides variables and the variable is of type text, then this operation is ignored. Note: The variable value will not be validated. Note: You can omit loading variable descriptions (which are displayed in the Prompt dialog and in dynamic texts) by setting the optional property loadDescriptions in the options to false.
Parameters
variable: string | VariableInfo
variableValue: string | number | VariableValue | VariableValue[]
options Optional: SetVariableValueOptions
Type Library datasource
C
DataSourceComments
Method Summary
Name and Description
addComment(selection: Selection, value: string): CommentInfo
Adds a comment to data cells.
addComments(selection: Selection, value: string[]): CommentInfo[]
Adds multiple comments to data cells.
getAllComments(selection: Selection): CommentInfo[]
Returns all comments of data cells.
getComment(commentId: string): CommentInfo
Returns a comment.
removeAllComments(selection: Selection): boolean
Removes all comments on data cells.
removeComment(commentId: string): boolean
Removes a comment.
setCommentLiked(commentId: string, isLiked: boolean): boolean
Switches the Like flag of a comment on or off.
updateComment(commentId: string, value: string): CommentInfo
Updates a comment.
Method Detail
addComment
addComment(selection: Selection, value: string): CommentInfo
Adds a comment to data cells. The data cells are specified by the selection. If this operation was successful, then the comment is returned, and undefined if it wasn't.
Parameters
selection: Selection
value: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
addComments
addComments(selection: Selection, value: string[]): CommentInfo[]
Adds multiple comments to data cells. The data cells are specified by the selection. If this operation was successful, then the comments are returned, and undefined if it wasn't. Note: Not supported for SAP BW live data models.
Parameters
selection: Selection
value: string[]
Returns
CommentInfo[]
Mobile Support
Not supported on mobile devices.
getAllComments
getAllComments(selection: Selection): CommentInfo[]
Returns all comments of data cells. The data cells are specified by the selection. If no comments exist, then an empty array is returned. Note: For SAP BW live data models, returns the only comment of the latest version.
Parameters
selection: Selection
Returns
CommentInfo[]
Mobile Support
Not supported on mobile devices.
getComment
getComment(commentId: string): CommentInfo
Returns a comment. The comment is specified by the comment ID. If the comment ID is invalid, then undefined is returned.
Parameters
commentId: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
removeAllComments
removeAllComments(selection: Selection): boolean
Removes all comments on data cells. The data cells are specified by the selection. If this operation was successful, then true is returned, and false if it wasn't. Note: For SAP BW live data models, removes the only comment along with all history versions.
Parameters
selection: Selection
Returns
boolean
Mobile Support
Not supported on mobile devices.
removeComment
removeComment(commentId: string): boolean
Removes a comment. The comment is specified by the comment ID. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
commentId: string
Returns
boolean
Mobile Support
Not supported on mobile devices.
setCommentLiked
setCommentLiked(commentId: string, isLiked: boolean): boolean
Switches the Like flag of a comment on or off. The comment is specified by the comment ID. If the comment ID is valid, then true is returned, and false if it isn't. Note: Not supported for SAP BW live data models.
Parameters
commentId: string
isLiked: boolean
Returns
boolean
Mobile Support
Not supported on mobile devices.
updateComment
updateComment(commentId: string, value: string): CommentInfo
Updates a comment. The comment is specified by the comment ID. Returns the latest comment if this operation is successful, and undefined if it fails. Note: Only supported for SAP BW live data models.
Parameters
commentId: string
value: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
Type Library datasource
C
DataSourceInfo
Type Library planning
E
DataUploadExecutionResponseStatus
Property Summary
Name and Description
static Canceled: DataUploadExecutionResponseStatus
Execution has been canceled.
static Error: DataUploadExecutionResponseStatus
Execution ended with errors.
static Success: DataUploadExecutionResponseStatus
Execution ended successfully.
static Warning: DataUploadExecutionResponseStatus
Execution ended with warning.
Property Detail
Canceled
static Canceled: DataUploadExecutionResponseStatus
Execution has been canceled.
Error
static Error: DataUploadExecutionResponseStatus
Execution ended with errors.
Success
static Success: DataUploadExecutionResponseStatus
Execution ended successfully.
Warning
static Warning: DataUploadExecutionResponseStatus
Execution ended with warning.
Type Library standard
O
Date
Creates JavaScript Date instances which let you work with dates and times.
Method Summary
Name and Description
static now(): integer
Returns the number of milliseconds elapsed since January 1, 1970, 00:00:00 UTC.
static parse(source: string): integer
Parses a string representation of a date and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
static UTC(year: number, month: number, date: number, hour?: number, min?: number, sec?: number, ms?: number): integer
Returns the number of milliseconds in a date since January 1, 1970, 00:00:00 UTC.
getDate(): integer
Returns the day of the month of the specified date according to local time (where 1 represents the first day of the month).
getDay(): integer
Returns the day of the week of the specified date according to local time (where 0 represents Sunday).
getFullYear(): integer
Returns the full year of the specified date according to local time.
getHours(): integer
Returns the hour of the specified date according to local time.
getMilliseconds(): number
Returns the milliseconds of the specified date according to local time.
getMinutes(): integer
Returns the minutes of the specified date according to local time.
getMonth(): integer
Returns the month of the specified date according to local time (where 0 represents the first month of the year).
getSeconds(): integer
Returns the seconds of the specified date according to local time.
getTime(): integer
Returns the numeric value corresponding to the time for the specified date according to universal time.
getTimezoneOffset(): integer
Returns the time zone difference, in minutes, from the current locale to universal time.
getUTCDate(): integer
Returns the day of the month of the specified date according to universal time (where 1 represents the first day of the month).
getUTCDay(): integer
Returns the day of the week of the specified date according to universal time (where 0 represents Sunday).
getUTCHours(): integer
Returns the hours of the specified date according to universal time.
getUTCMilliseconds(): integer
Returns the milliseconds of the specified date according to universal time.
getUTCMinutes(): integer
Returns the minutes of the specified date according to universal time.
getUTCMonth(): integer
Returns the month of the specified date according to universal time (where 0 represents the first month of the year).
getUTCSeconds(): integer
Returns the seconds of the specified date according to universal time.
getYear(): integer
Returns the year of the specified date according to local time.
setDate(day: number): integer
Sets the day of the month of a specified date according to local time (where 1 represents the first day of the month).
setFullYear(year: number): integer
Sets the full year of a specified date according to local time.
setHours(hour: number): integer
Sets the hours of a specified date according to local time.
setMilliseconds(ms: number): integer
Sets the milliseconds of a specified date according to local time.
setMinutes(min: number): integer
Sets the minutes of a specified date according to local time.
setMonth(month: number): integer
Sets the month of a specified date according to local time (where 0 represents the first month of the year).
setSeconds(sec: number): integer
Sets the seconds of a specified date according to local time.
setTime(timeValue: integer): integer
Sets the date to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.
setUTCDate(day: number): integer
Sets the day of the month of a specified date according to universal time (where 1 represents the first day of the month).
setUTCFullYear(year: number): integer
Sets the full year of a specified date according to universal time.
setUTCHours(hour: number): integer
Sets the hour of a specified date according to universal time.
setUTCMilliseconds(ms: number): integer
Sets the milliseconds of a specified date according to universal time.
setUTCMinutes(min: number): integer
Sets the minutes of a specified date according to universal time.
setUTCMonth(month: number): integer
Sets the month of a specified date according to universal time (where 0 represents the first month of the year).
setUTCSeconds(sec: number): integer
Sets the seconds of a specified date according to universal time.
toDateString(): string
Returns the "date" portion of a date in human readable form in American English.
toISOString(): string
Converts a date to a string in ISO 8601 Extended Format.
toJSON(): string
Returns a string (using toISOString()) representing the date's value.
toLocaleDateString(): string
Converts a date to a string, returning the "date" portion using the operating system's locale conventions.
toLocaleTimeString(): string
Converts a date to a string, returning the "time" portion using the operating system's locale conventions.
toTimeString(): string
Returns the "time" portion of a date in human readable form in American English.
toUTCString(): string
Converts a date to a string according to universal time.
Method Detail
UTC
static UTC(year: number, month: number, date: number, hour?: number, min?: number, sec?: number, ms?: number): integer
Returns the number of milliseconds in a date since January 1, 1970, 00:00:00 UTC.
Parameters
year: number
month: number
date: number
hour Optional: number
min Optional: number
sec Optional: number
ms Optional: number
Returns
integer
now
static now(): integer
Returns the number of milliseconds elapsed since January 1, 1970, 00:00:00 UTC.
Returns
integer
parse
static parse(source: string): integer
Parses a string representation of a date and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
Parameters
source: string
Returns
integer
getDate
getDate(): integer
Returns the day of the month of the specified date according to local time (where 1 represents the first day of the month).
Returns
integer
getDay
getDay(): integer
Returns the day of the week of the specified date according to local time (where 0 represents Sunday).
Returns
integer
getFullYear
getFullYear(): integer
Returns the full year of the specified date according to local time.
Returns
integer
getHours
getHours(): integer
Returns the hour of the specified date according to local time.
Returns
integer
getMilliseconds
getMilliseconds(): number
Returns the milliseconds of the specified date according to local time.
Returns
number
getMinutes
getMinutes(): integer
Returns the minutes of the specified date according to local time.
Returns
integer
getMonth
getMonth(): integer
Returns the month of the specified date according to local time (where 0 represents the first month of the year).
Returns
integer
getSeconds
getSeconds(): integer
Returns the seconds of the specified date according to local time.
Returns
integer
getTime
getTime(): integer
Returns the numeric value corresponding to the time for the specified date according to universal time.
Returns
integer
getTimezoneOffset
getTimezoneOffset(): integer
Returns the time zone difference, in minutes, from the current locale to universal time.
Returns
integer
getUTCDate
getUTCDate(): integer
Returns the day of the month of the specified date according to universal time (where 1 represents the first day of the month).
Returns
integer
getUTCDay
getUTCDay(): integer
Returns the day of the week of the specified date according to universal time (where 0 represents Sunday).
Returns
integer
getUTCHours
getUTCHours(): integer
Returns the hours of the specified date according to universal time.
Returns
integer
getUTCMilliseconds
getUTCMilliseconds(): integer
Returns the milliseconds of the specified date according to universal time.
Returns
integer
getUTCMinutes
getUTCMinutes(): integer
Returns the minutes of the specified date according to universal time.
Returns
integer
getUTCMonth
getUTCMonth(): integer
Returns the month of the specified date according to universal time (where 0 represents the first month of the year).
Returns
integer
getUTCSeconds
getUTCSeconds(): integer
Returns the seconds of the specified date according to universal time.
Returns
integer
getYear
getYear(): integer
Returns the year of the specified date according to local time.
Returns
integer
setDate
setDate(day: number): integer
Sets the day of the month of a specified date according to local time (where 1 represents the first day of the month). Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
day: number
Returns
integer
setFullYear
setFullYear(year: number): integer
Sets the full year of a specified date according to local time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
year: number
Returns
integer
setHours
setHours(hour: number): integer
Sets the hours of a specified date according to local time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
hour: number
Returns
integer
setMilliseconds
setMilliseconds(ms: number): integer
Sets the milliseconds of a specified date according to local time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
ms: number
Returns
integer
setMinutes
setMinutes(min: number): integer
Sets the minutes of a specified date according to local time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
min: number
Returns
integer
setMonth
setMonth(month: number): integer
Sets the month of a specified date according to local time (where 0 represents the first month of the year). Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
month: number
Returns
integer
setSeconds
setSeconds(sec: number): integer
Sets the seconds of a specified date according to local time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
sec: number
Returns
integer
setTime
setTime(timeValue: integer): integer
Sets the date to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.
Parameters
timeValue: integer
Returns
integer
setUTCDate
setUTCDate(day: number): integer
Sets the day of the month of a specified date according to universal time (where 1 represents the first day of the month). Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
day: number
Returns
integer
setUTCFullYear
setUTCFullYear(year: number): integer
Sets the full year of a specified date according to universal time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
year: number
Returns
integer
setUTCHours
setUTCHours(hour: number): integer
Sets the hour of a specified date according to universal time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
hour: number
Returns
integer
setUTCMilliseconds
setUTCMilliseconds(ms: number): integer
Sets the milliseconds of a specified date according to universal time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
ms: number
Returns
integer
setUTCMinutes
setUTCMinutes(min: number): integer
Sets the minutes of a specified date according to universal time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
min: number
Returns
integer
setUTCMonth
setUTCMonth(month: number): integer
Sets the month of a specified date according to universal time (where 0 represents the first month of the year). Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
month: number
Returns
integer
setUTCSeconds
setUTCSeconds(sec: number): integer
Sets the seconds of a specified date according to universal time. Returns the number of milliseconds between January 1, 1970, 00:00:00 UTC and the updated date.
Parameters
sec: number
Returns
integer
toDateString
toDateString(): string
Returns the "date" portion of a date in human readable form in American English.
Returns
string
toISOString
toISOString(): string
Converts a date to a string in ISO 8601 Extended Format.
Returns
string
toJSON
toJSON(): string
Returns a string (using toISOString()) representing the date's value.
Returns
string
toLocaleDateString
toLocaleDateString(): string
Converts a date to a string, returning the "date" portion using the operating system's locale conventions.
Returns
string
toLocaleTimeString
toLocaleTimeString(): string
Converts a date to a string, returning the "time" portion using the operating system's locale conventions.
Returns
string
toTimeString
toTimeString(): string
Returns the "time" portion of a date in human readable form in American English.
Returns
string
toUTCString
toUTCString(): string
Converts a date to a string according to universal time.
Returns
string
Type Library standard
C
DateFormat
Type Library standard
E
DeviceOrientation
Property Summary
Name and Description
static Angle0: DeviceOrientation
static Angle180: DeviceOrientation
static Angle90Clockwise: DeviceOrientation
static Angle90Counterclockwise: DeviceOrientation
Property Detail
Angle0
static Angle0: DeviceOrientation
Angle180
static Angle180: DeviceOrientation
Angle90Clockwise
static Angle90Clockwise: DeviceOrientation
Angle90Counterclockwise
static Angle90Counterclockwise: DeviceOrientation
Type Library datasource
C
DimensionInfo
Type Library datasource
C
DimensionPropertyInfo
Type Library standard
E
Direction
A set of values describing a direction
Type Library standard
C
Event
Type Library exportpdf
C
ExportPdf
Method Summary
Name and Description
excludeComponent(component: Widget | Popup): void
Excludes a widget or a popup from the exported PDF file.
exportReport(): void
Exports all included tables in full length (report) to a PDF file.
getBatchExportDataSource(modelId: string): BatchExportDataSource
Returns the data source of related modelId.
includeComponent(component: Widget | Popup): void
Includes a widget or a popup in the exported PDF file.
isBatchExportEnabled(): boolean
Returns whether batch export is enabled.
isCommentsVisible(): boolean
Returns whether the comments are visible in the exported PDF file.
isExportInBackgroundEnabled(): boolean
Returns whether the export of the PDF file in the background is enabled.
isReportIncluded(): boolean
Returns whether the export of all included tables in full length (report) is enabled when the analytic application is exported to a PDF file with exportView().
setBatchExportEnabled(isEnabled: boolean): void
Enable or disable batch export.
setCommentsVisible(visible: boolean): void
Shows or hides the comments in the exported PDF file.
setExportInBackgroundEnabled(isEnabled: boolean): void
Enables or disables the export of the PDF file in the background.
setReportIncluded(included: boolean): void
Includes or excludes the export of all included tables in full length (report) when the analytic application is exported to a PDF file with exportView().
Method Detail
excludeComponent
excludeComponent(component: Widget | Popup): void
Excludes a widget or a popup from the exported PDF file.
Parameters
component: Widget | Popup
exportReport
exportReport(): void
Exports all included tables in full length (report) to a PDF file.
Mobile Support
Not supported on mobile devices.
getBatchExportDataSource
getBatchExportDataSource(modelId: string): BatchExportDataSource
Returns the data source of related modelId.
Parameters
modelId: string
Returns
BatchExportDataSource
includeComponent
includeComponent(component: Widget | Popup): void
Includes a widget or a popup in the exported PDF file.
Parameters
component: Widget | Popup
isBatchExportEnabled
isBatchExportEnabled(): boolean
Returns whether batch export is enabled.
Returns
boolean
isCommentsVisible
isCommentsVisible(): boolean
Returns whether the comments are visible in the exported PDF file.
Returns
boolean
isExportInBackgroundEnabled
isExportInBackgroundEnabled(): boolean
Returns whether the export of the PDF file in the background is enabled.
Returns
boolean
isReportIncluded
isReportIncluded(): boolean
Returns whether the export of all included tables in full length (report) is enabled when the analytic application is exported to a PDF file with exportView().
Returns
boolean
setBatchExportEnabled
setBatchExportEnabled(isEnabled: boolean): void
Enable or disable batch export.
Parameters
isEnabled: boolean
setCommentsVisible
setCommentsVisible(visible: boolean): void
Shows or hides the comments in the exported PDF file.
Parameters
visible: boolean
setExportInBackgroundEnabled
setExportInBackgroundEnabled(isEnabled: boolean): void
Enables or disables the export of the PDF file in the background.
Parameters
isEnabled: boolean
setReportIncluded
setReportIncluded(included: boolean): void
Includes or excludes the export of all included tables in full length (report) when the analytic application is exported to a PDF file with exportView().
Parameters
included: boolean
Type Library exportpptx
C
ExportPptx
Method Summary
Name and Description
getBatchExportDataSource(modelId: string): BatchExportDataSource
Returns the data source of related modelId.
isBatchExportEnabled(): boolean
Returns whether batch export is enabled.
setBatchExportEnabled(isEnabled: boolean): void
Enable or disable batch export.
Method Detail
getBatchExportDataSource
getBatchExportDataSource(modelId: string): BatchExportDataSource
Returns the data source of related modelId.
Parameters
modelId: string
Returns
BatchExportDataSource
isBatchExportEnabled
isBatchExportEnabled(): boolean
Returns whether batch export is enabled.
Returns
boolean
setBatchExportEnabled
setBatchExportEnabled(isEnabled: boolean): void
Enable or disable batch export.
Parameters
isEnabled: boolean
Type Library chart
E
Feed
Type Library planning
C
FileUploadTrigger
extends Widget
Event Summary
Name and Description
onAfterExecute(status: DataUploadExecutionResponseStatus): void
Called when the Data Upload Starter execution ends.
onBeforeExecute(): boolean
Called when the user clicks the Data Upload Starter.
Event Detail
onAfterExecute
onAfterExecute(status: DataUploadExecutionResponseStatus): void
Called when the Data Upload Starter execution ends.
Parameters
status: DataUploadExecutionResponseStatus
onBeforeExecute
onBeforeExecute(): boolean
Called when the user clicks the Data Upload Starter. If this method returns true or returns no value, then the data upload is executed. If this method returns false, then the data upload is ignored.
Returns
boolean Default value: true
Type Library datasource-controls
C
FilterLine
extends Widget
Method Summary
Name and Description
setModel(modelId: string): boolean
Sets the model and replaces the old one.
Method Detail
setModel
setModel(modelId: string): boolean
Sets the model and replaces the old one. Note: This operation is only supported for filter lines set to mode "Group Filter".
Parameters
modelId: string
Returns
boolean
C
FilterPanel
Method Summary
Name and Description
isVisible(): boolean
Returns whether FilterPanel is visible.
setVisible(visible: boolean): void
Shows or hides FilterPanel.
Method Detail
isVisible
isVisible(): boolean
Returns whether FilterPanel is visible.
Returns
boolean
setVisible
setVisible(visible: boolean): void
Shows or hides FilterPanel.
Parameters
visible: boolean
Type Library datasource
C
FilterValue
Direct Subclasses
MultipleFilterValue, SingleFilterValue
Type Library containers
C
FlowPanel
Method Summary
Name and Description
moveWidget(widget: Widget): void
Moves the widget into the panel.
Method Detail
moveWidget
moveWidget(widget: Widget): void
Moves the widget into the panel.
Parameters
widget: Widget
Type Library chart
C
Forecast
Method Summary
Name and Description
setNumberOfPeriods(number: integer): void
Sets the number of forecast periods.
setType(forecastType: ForecastType): void
Sets the forecast type.
Method Detail
setNumberOfPeriods
setNumberOfPeriods(number: integer): void
Sets the number of forecast periods. If the value is out of the forecast range, then it is set to the default min-max period number.
Parameters
number: integer
setType
setType(forecastType: ForecastType): void
Sets the forecast type.
Parameters
forecastType: ForecastType
Type Library chart
E
ForecastType
Type Library advanced-controls
C
GeoMap
Method Summary
Name and Description
openInNewStory(): void
Creates a new story with this widget.
Method Detail
openInNewStory
openInNewStory(): void
Creates a new story with this widget.
Mobile Support
Not supported on mobile devices.
Type Library datasource
C
HierarchyInfo
Type Library table2
C
IChangedCell
Property Summary
Name and Description
context: Selection
Dimension the cell corresponds to, whose value is its dimension ID
newValue: string
Cell value after change
oldValue: string
Cell value before change
Property Detail
context
context: Selection
Dimension the cell corresponds to, whose value is its dimension ID
newValue
newValue: string
Cell value after change
oldValue
oldValue: string
Cell value before change
Type Library standard
E
LayoutUnit
Type Library standard
C
LayoutValue
Property Summary
Name and Description
static Auto: LayoutValue
unit: LayoutUnit
Property Detail
Auto
static Auto: LayoutValue
unit
unit: LayoutUnit
Type Library data-binding
C
LinkedAnalysis
Method Summary
Name and Description
isDataPointSelectionEnabled(): boolean
Whether it supports filter on data point selection
removeFilters(): void
Remove the filters on data point selection
setFilters(selections: Selection | Selection[]): void
Set the filter on data point selection
Method Detail
isDataPointSelectionEnabled
isDataPointSelectionEnabled(): boolean
Whether it supports filter on data point selection
Returns
boolean
removeFilters
removeFilters(): void
Remove the filters on data point selection
setFilters
setFilters(selections: Selection | Selection[]): void
Set the filter on data point selection
Parameters
selections: Selection | Selection[]
Type Library standard
O
Math
A built-in object that has properties and methods for mathematical constants and functions.
Property Summary
Name and Description
static E: number
Euler's constant and the base of natural logarithms, approximately 2.718.
static LN10: number
Natural logarithm of 10, approximately 2.302.
static LN2: number
Natural logarithm of 2, approximately 0.693.
static LOG10E: number
Base 10 logarithm of E, approximately 0.434.
static LOG2E: number
Base 2 logarithm of E, approximately 1.443.
static PI: number
Ratio of the circumference of a circle to its diameter, approximately 3.14159.
static SQRT1_2: number
Square root of 1/2; equivalently, 1 over the square root of 2, approximately 0.707.
static SQRT2: number
Square root of 2, approximately 1.414.
Method Summary
Name and Description
static abs(x: number): number
Returns the absolute value of a number.
static acos(x: number): number
Returns the arccosine (in radians) of a number.
static acosh(x: number): number
Returns the hyperbolic arccosine of a number.
static asin(x: number): number
Returns the arcsine (in radians) of a number.
static asinh(x: number): number
Returns the hyperbolic arcsine of a number.
static atan(x: number): number
Returns the arctangent (in radians) of a number.
static atan2(y: number, x: number): number
Returns the arctangent of the quotient y/x.
static atanh(x: number): number
Returns the hyperbolic arctangent of a number.
static cbrt(x: number): number
Returns the cube root of a number.
static ceil(x: number): integer
Returns the smallest integer greater than or equal to a number.
static clz32(x: number): integer
Returns the number of leading zero bits in the 32-bit binary representation of a number.
static cos(x: number): number
Returns the cosine of a number.
static cosh(x: number): number
Returns the hyperbolic cosine of a number.
static exp(x: number): number
Returns E to the power of x, where E is Euler's constant, the base of the natural logarithm.
static expm1(x: number): number
Returns exp(x) - 1.
static floor(x: number): integer
Returns the largest integer less than or equal to a number.
static fround(x: number): integer
Returns the nearest single precision float representation of a number.
static hypot(value: number): number
Returns the square root of the sum of squares of its arguments.
static imul(a: number, b: number): integer
Returns the result of a 32-bit integer multiplication.
static log(x: number): number
Returns the natural logarithm (logarithm to base E, also ln(x)) of a number.
static log10(x: number): number
Returns the base 10 logarithm of a number.
static log1p(x: number): number
Returns the natural logarithm (logarithm to base E, also ln(x)) of 1 + x.
static log2(x: number): number
Returns the base 2 logarithm of a number.
static max(a: number, a: number): number
Returns the largest of zero or more numbers.
static min(a: number, b: number): number
Returns the smallest of zero or more numbers.
static pow(base: number, exponent: number): number
Returns base to the power of exponent, that is, base^exponent.
static random(): number
Returns a floating-point pseudo-random number in the range [0, 1), that is, from 0 (inclusive) up to but not including 1 (exclusive).
static round(x: number): integer
Returns the value of a number rounded to the nearest integer.
static sign(x: number): integer
Returns the sign of a number, indicating whether the number is positive, negative, or zero.
static sin(x: number): number
Returns the sine of a number.
static sinh(x: number): number
Returns the hyperbolic sine of a number.
static sqrt(x: number): number
Returns the square root of a number.
static tan(x: number): number
Returns the tangent of a number.
static tanh(x: number): number
Returns the hyperbolic tangent of a number.
static trunc(x: number): integer
Returns the integer part of a number, removing any fractional digits.
Property Detail
E
static E: number
Euler's constant and the base of natural logarithms, approximately 2.718.
LN10
static LN10: number
Natural logarithm of 10, approximately 2.302.
LN2
static LN2: number
Natural logarithm of 2, approximately 0.693.
LOG10E
static LOG10E: number
Base 10 logarithm of E, approximately 0.434.
LOG2E
static LOG2E: number
Base 2 logarithm of E, approximately 1.443.
PI
static PI: number
Ratio of the circumference of a circle to its diameter, approximately 3.14159.
SQRT1_2
static SQRT1_2: number
Square root of 1/2; equivalently, 1 over the square root of 2, approximately 0.707.
SQRT2
static SQRT2: number
Square root of 2, approximately 1.414.
Method Detail
abs
static abs(x: number): number
Returns the absolute value of a number.
Parameters
x: number
Returns
number
acos
static acos(x: number): number
Returns the arccosine (in radians) of a number.
Parameters
x: number
Returns
number
acosh
static acosh(x: number): number
Returns the hyperbolic arccosine of a number.
Parameters
x: number
Returns
number
asin
static asin(x: number): number
Returns the arcsine (in radians) of a number.
Parameters
x: number
Returns
number
asinh
static asinh(x: number): number
Returns the hyperbolic arcsine of a number.
Parameters
x: number
Returns
number
atan
static atan(x: number): number
Returns the arctangent (in radians) of a number.
Parameters
x: number
Returns
number
atan2
static atan2(y: number, x: number): number
Returns the arctangent of the quotient y/x.
Parameters
y: number
x: number
Returns
number
atanh
static atanh(x: number): number
Returns the hyperbolic arctangent of a number.
Parameters
x: number
Returns
number
cbrt
static cbrt(x: number): number
Returns the cube root of a number.
Parameters
x: number
Returns
number
ceil
static ceil(x: number): integer
Returns the smallest integer greater than or equal to a number.
Parameters
x: number
Returns
integer
clz32
static clz32(x: number): integer
Returns the number of leading zero bits in the 32-bit binary representation of a number.
Parameters
x: number
Returns
integer
cos
static cos(x: number): number
Returns the cosine of a number.
Parameters
x: number
Returns
number
cosh
static cosh(x: number): number
Returns the hyperbolic cosine of a number.
Parameters
x: number
Returns
number
exp
static exp(x: number): number
Returns E to the power of x, where E is Euler's constant, the base of the natural logarithm.
Parameters
x: number
Returns
number
expm1
static expm1(x: number): number
Returns exp(x) - 1.
Parameters
x: number
Returns
number
floor
static floor(x: number): integer
Returns the largest integer less than or equal to a number.
Parameters
x: number
Returns
integer
fround
static fround(x: number): integer
Returns the nearest single precision float representation of a number.
Parameters
x: number
Returns
integer
hypot
static hypot(value: number): number
Returns the square root of the sum of squares of its arguments.
Parameters
value: number
Returns
number
imul
static imul(a: number, b: number): integer
Returns the result of a 32-bit integer multiplication.
Parameters
a: number
b: number
Returns
integer
log
static log(x: number): number
Returns the natural logarithm (logarithm to base E, also ln(x)) of a number.
Parameters
x: number
Returns
number
log10
static log10(x: number): number
Returns the base 10 logarithm of a number.
Parameters
x: number
Returns
number
log1p
static log1p(x: number): number
Returns the natural logarithm (logarithm to base E, also ln(x)) of 1 + x.
Parameters
x: number
Returns
number
log2
static log2(x: number): number
Returns the base 2 logarithm of a number.
Parameters
x: number
Returns
number
max
static max(a: number, a: number): number
Returns the largest of zero or more numbers.
Parameters
a: number
a: number
Returns
number
min
static min(a: number, b: number): number
Returns the smallest of zero or more numbers.
Parameters
a: number
b: number
Returns
number
pow
static pow(base: number, exponent: number): number
Returns base to the power of exponent, that is, base^exponent.
Parameters
base: number
exponent: number
Returns
number
random
static random(): number
Returns a floating-point pseudo-random number in the range [0, 1), that is, from 0 (inclusive) up to but not including 1 (exclusive).
Returns
number
round
static round(x: number): integer
Returns the value of a number rounded to the nearest integer.
Parameters
x: number
Returns
integer
sign
static sign(x: number): integer
Returns the sign of a number, indicating whether the number is positive, negative, or zero.
Parameters
x: number
Returns
integer
sin
static sin(x: number): number
Returns the sine of a number.
Parameters
x: number
Returns
number
sinh
static sinh(x: number): number
Returns the hyperbolic sine of a number.
Parameters
x: number
Returns
number
sqrt
static sqrt(x: number): number
Returns the square root of a number.
Parameters
x: number
Returns
number
tan
static tan(x: number): number
Returns the tangent of a number.
Parameters
x: number
Returns
number
tanh
static tanh(x: number): number
Returns the hyperbolic tangent of a number.
Parameters
x: number
Returns
number
trunc
static trunc(x: number): integer
Returns the integer part of a number, removing any fractional digits.
Parameters
x: number
Returns
integer
Type Library datasource
C
MeasureInfo
Type Library datasource
E
MemberDisplayMode
Type Library datasource
C
MemberInfo
Type Library datasource
C
MembersOptions
Type Library multi-action
C
MultiAction
Method Summary
Name and Description
execute(): MultiActionExecutionResponse
Executes the multi action as a blocking operation, which prevents other scripts from running until the multi action execution is complete.
executeInBackground(executionName: string): MultiActionBackgroundExecutionResponse
Executes the multi action as a non-blocking operation.
getParameterValue(id: string): MultiActionParameterValue
Returns the value of the parameter.
isAllMembersSelected(id: string): boolean
Returns whether the parameter has the all member as value.
setAllMembersSelected(id: string, hierarchy?: string): void
Sets the all member as parameter value.
setParameterValue(id: string, value: string | string[] | MultiActionParameterValue JSON | number): void
Sets the value of the parameter.
Event Summary
Name and Description
onExecutionStatusUpdate(status: MultiActionExecutionResponseStatus, executionId: string, executionName: string, message: string): void
Called when an asynchronous Multi Action execution changes its status.
Method Detail
execute
execute(): MultiActionExecutionResponse
Executes the multi action as a blocking operation, which prevents other scripts from running until the multi action execution is complete. Best to use it for multi actions that take a short time to run.
Returns
MultiActionExecutionResponse
Mobile Support
Not supported on mobile devices.
executeInBackground
executeInBackground(executionName: string): MultiActionBackgroundExecutionResponse
Executes the multi action as a non-blocking operation. Other scripts can be running at the same time without waiting for the multi action execution to complete.
Parameters
executionName: string
Returns
MultiActionBackgroundExecutionResponse
Mobile Support
Not supported on mobile devices.
getParameterValue
getParameterValue(id: string): MultiActionParameterValue
Returns the value of the parameter.
Parameters
id: string
Returns
MultiActionParameterValue
Mobile Support
Not supported on mobile devices.
isAllMembersSelected
isAllMembersSelected(id: string): boolean
Returns whether the parameter has the all member as value.
Parameters
id: string
Returns
boolean
setAllMembersSelected
setAllMembersSelected(id: string, hierarchy?: string): void
Sets the all member as parameter value.
Parameters
id: string
hierarchy Optional: string
setParameterValue
setParameterValue(id: string, value: string | string[] | MultiActionParameterValue JSON | number): void
Sets the value of the parameter.
Parameters
id: string
value: string | string[] | MultiActionParameterValue JSON | number
Mobile Support
Not supported on mobile devices.
Event Detail
onExecutionStatusUpdate
onExecutionStatusUpdate(status: MultiActionExecutionResponseStatus, executionId: string, executionName: string, message: string): void
Called when an asynchronous Multi Action execution changes its status.
Parameters
status: MultiActionExecutionResponseStatus
executionId: string
executionName: string
message: string
Type Library multi-action
C
MultiActionAllMemberSelection
extends MultiActionParameterValue, can be passed as a JSON object to method arguments
An object defining a multi action parameter all member selection
Property Summary
Name and Description
hierarchy: string
Hierarchy name
Inherited from MultiActionParameterValue
type
Property Detail
hierarchy
hierarchy: string
Hierarchy name
Type Library multi-action
C
MultiActionBackgroundExecutionResponse
Property Summary
Name and Description
executionId: string
Generated execution ID.
status: MultiActionBackgroundExecutionResponseStatus
Execution status
Property Detail
executionId
executionId: string
Generated execution ID.
status
status: MultiActionBackgroundExecutionResponseStatus
Execution status
Type Library multi-action
E
MultiActionBackgroundExecutionResponseStatus
Property Summary
Name and Description
static Accepted: MultiActionBackgroundExecutionResponseStatus
Execution is accepted.
static Error: MultiActionBackgroundExecutionResponseStatus
Execution ended with errors.
Property Detail
Accepted
static Accepted: MultiActionBackgroundExecutionResponseStatus
Execution is accepted.
Error
static Error: MultiActionBackgroundExecutionResponseStatus
Execution ended with errors.
Type Library multi-action
C
MultiActionDatetimeParameterValue
extends MultiActionParameterValue, can be passed as a JSON object to method arguments
An object defining a multi action datetime parameter value
Property Summary
Name and Description
values: string[]
Datetime values
Inherited from MultiActionParameterValue
type
Property Detail
values
values: string[]
Datetime values
Type Library multi-action
C
MultiActionExecutionResponse
Property Summary
Name and Description
message: string
Execution result message
status: MultiActionExecutionResponseStatus
Execution result status
Property Detail
message
message: string
Execution result message
status
status: MultiActionExecutionResponseStatus
Execution result status
Type Library multi-action
E
MultiActionExecutionResponseStatus
Property Summary
Name and Description
static Error: MultiActionExecutionResponseStatus
Execution ended with errors.
static Running: MultiActionExecutionResponseStatus
Execution is running.
static Success: MultiActionExecutionResponseStatus
Execution ended successfully.
static Warning: MultiActionExecutionResponseStatus
Execution ended with warning.
Property Detail
Error
static Error: MultiActionExecutionResponseStatus
Execution ended with errors.
Running
static Running: MultiActionExecutionResponseStatus
Execution is running.
Success
static Success: MultiActionExecutionResponseStatus
Execution ended successfully.
Warning
static Warning: MultiActionExecutionResponseStatus
Execution ended with warning.
Type Library multi-action
C
MultiActionMemberParameterValue
extends MultiActionParameterValue, can be passed as a JSON object to method arguments
An object defining a multi action member parameter value
Property Summary
Name and Description
members: string[]
Member IDs
Inherited from MultiActionParameterValue
type
Property Detail
members
members: string[]
Member IDs
Type Library multi-action
C
MultiActionNumberParameterValue
extends MultiActionParameterValue, can be passed as a JSON object to method arguments
An object defining a multi action number parameter value
Property Summary
Name and Description
value: number
Number value
Inherited from MultiActionParameterValue
type
Property Detail
value
value: number
Number value
Type Library multi-action
C
MultiActionParameterValue
can be passed as a JSON object to method arguments
An object defining a multi action parameter value
Direct Subclasses
MultiActionAllMemberSelection, MultiActionDatetimeParameterValue, MultiActionMemberParameterValue, MultiActionNumberParameterValue, MultiActionStringParameterValue
Property Summary
Name and Description
type: MultiActionParameterValueType
Type of the parameter value
Property Detail
type
type: MultiActionParameterValueType
Type of the parameter value
Type Library multi-action
E
MultiActionParameterValueType
Property Summary
Name and Description
static All: MultiActionParameterValueType
All member selection type
static Datetime: MultiActionParameterValueType
Datetime value type
static Member: MultiActionParameterValueType
Member value type
static Number: MultiActionParameterValueType
Number value type
static String: MultiActionParameterValueType
String value type
Property Detail
All
static All: MultiActionParameterValueType
All member selection type
Datetime
static Datetime: MultiActionParameterValueType
Datetime value type
Member
static Member: MultiActionParameterValueType
Member value type
Number
static Number: MultiActionParameterValueType
Number value type
String
static String: MultiActionParameterValueType
String value type
Type Library multi-action
C
MultiActionStringParameterValue
extends MultiActionParameterValue, can be passed as a JSON object to method arguments
An object defining a multi action string parameter value
Property Summary
Name and Description
values: string[]
String values
Inherited from MultiActionParameterValue
type
Property Detail
values
values: string[]
String values
Type Library planning
C
MultiActionTrigger
extends Widget
Event Summary
Name and Description
onBeforeExecute(): boolean
Called when the user clicks the multi action starter.
Event Detail
onBeforeExecute
onBeforeExecute(): boolean
Called when the user clicks the multi action starter. If this method returns true or returns no value, then the multi action is executed. If this method returns false, then the multi action is ignored.
Returns
boolean Default value: true
Type Library datasource
C
MultipleFilterValue
extends FilterValue, can be passed as a JSON object to method arguments
An object representing multiple filter values
Property Summary
Name and Description
descriptions: string[]
Multiple filter descriptions
exclude: boolean
Indicates whether to exclude the filter values.
values: string[]
Multiple filter values
Property Detail
descriptions
descriptions: string[]
Multiple filter descriptions
exclude
exclude: boolean
Indicates whether to exclude the filter values.
values
values: string[]
Multiple filter values
Type Library datasource
C
MultipleVariableValue
extends VariableValue, can be passed as a JSON object to method arguments
Property Summary
Name and Description
exclude: boolean
Indicates whether to exclude the variable values.
values: string[]
Multiple variable values
Property Detail
exclude
exclude: boolean
Indicates whether to exclude the variable values.
values
values: string[]
Multiple variable values
Type Library table2
C
NavigationPanelOptions
can be passed as a JSON object to method arguments
An object specifying navigation panel options
Property Summary
Name and Description
expanded: boolean
Indicates whether the navigation panel opens in expanded state.
Property Detail
expanded
expanded: boolean
Indicates whether the navigation panel opens in expanded state.
Type Library standard
C
NavigationUtils
Method Summary
Name and Description
static createApplicationUrl(appId: string, parameters?: UrlParameter | UrlParameter[]): string
Creates an analytic application URL.
static createStoryUrl(storyId: string, pageId: string, parameters?: UrlParameter | UrlParameter[]): string
Creates a story URL.
static openApplication(appId: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens an analytic application.
static openDataAnalyzer(connection?: string, dataSourceName?: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens the Data Analyzer.
static openInsight(insightId: string, urlParameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens the Insight.
static openStory(storyId: string, pageId: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens a story.
static openUrl(url: string, newTab?: boolean): void
Opens a URL.
Method Detail
createApplicationUrl
static createApplicationUrl(appId: string, parameters?: UrlParameter | UrlParameter[]): string
Creates an analytic application URL.
Parameters
appId: string
parameters Optional: UrlParameter | UrlParameter[]
Returns
string
Mobile Support
Not supported on mobile devices.
createStoryUrl
static createStoryUrl(storyId: string, pageId: string, parameters?: UrlParameter | UrlParameter[]): string
Creates a story URL.
Parameters
storyId: string
pageId: string
parameters Optional: UrlParameter | UrlParameter[]
Returns
string
Mobile Support
Not supported on mobile devices.
openApplication
static openApplication(appId: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens an analytic application. Note: This operation is ignored when scheduling a publication.
Parameters
appId: string
parameters Optional: UrlParameter | UrlParameter[]
newTab Optional: boolean
openDataAnalyzer
static openDataAnalyzer(connection?: string, dataSourceName?: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens the Data Analyzer. Note: This operation is ignored when scheduling a publication.
Parameters
connection Optional: string
dataSourceName Optional: string
parameters Optional: UrlParameter | UrlParameter[]
newTab Optional: boolean
openInsight
static openInsight(insightId: string, urlParameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens the Insight. Note: This operation is ignored when scheduling a publication.
Parameters
insightId: string
urlParameters Optional: UrlParameter | UrlParameter[]
newTab Optional: boolean
Mobile Support
Not supported on mobile devices.
openStory
static openStory(storyId: string, pageId: string, parameters?: UrlParameter | UrlParameter[], newTab?: boolean): void
Opens a story. Note: This operation is ignored when scheduling a publication.
Parameters
storyId: string
pageId: string
parameters Optional: UrlParameter | UrlParameter[]
newTab Optional: boolean
openUrl
static openUrl(url: string, newTab?: boolean): void
Opens a URL. Note: This operation is ignored when scheduling a publication.
Parameters
url: string
newTab Optional: boolean
Type Library standard
C
NotificationOptions
can be passed as a JSON object to method arguments
Property Summary
Name and Description
content: string
Content of the notification
isSendEmail: boolean
Indicates whether an email notification is sent to the receivers (default: false).
isSendMobileNotification: boolean
Indicates whether a mobile notification is sent to the receivers (default: false).
mode: ApplicationMode
Mode in which the analytic application is displayed when it is opened from the notification (default: Present)
parameters: UrlParameter[]
URL parameters to be used when opening the analytic application
receivers: string[]
Users to receive the notification.
title: string
Title of the notification
Property Detail
content
content: string
Content of the notification
isSendEmail
isSendEmail: boolean
Indicates whether an email notification is sent to the receivers (default: false).
isSendMobileNotification
isSendMobileNotification: boolean
Indicates whether a mobile notification is sent to the receivers (default: false).
mode
mode: ApplicationMode
Mode in which the analytic application is displayed when it is opened from the notification (default: Present)
parameters
parameters: UrlParameter[]
URL parameters to be used when opening the analytic application
receivers
receivers: string[]
Users to receive the notification. If no receivers are specified, then the receiver is the creator of the calendar task that runs the analytic application by the scheduling service.
title
title: string
Title of the notification
Type Library standard
O
Number
The Number JavaScript object is a wrapper object allowing you to work with numerical values.
Property Summary
Name and Description
static EPSILON: number
Difference between 1 and the smallest value greater than 1 that can be represented as a Number.
static MAX_SAFE_INTEGER: integer
Maximum safe integer in JavaScript (2^53 - 1).
static MAX_VALUE: number
Maximum numeric value representable in JavaScript.
static MIN_SAFE_INTEGER: integer
Minimum safe integer in JavaScript (-(2^53 - 1)).
static MIN_VALUE: number
Smallest positive numeric value representable in JavaScript.
static NEGATIVE_INFINITY: number
Negative Infinity value.
static POSITIVE_INFINITY: number
Positive Infinity value.
Method Summary
Name and Description
static isFinite(testValue: <any type>): boolean
Returns whether the value is a finite number.
static isInteger(testValue: <any type>): boolean
Returns whether the value is an integer.
static isNaN(testValue: <any type>): boolean
Returns whether the value is NaN and its type is a Number.
static isSafeInteger(testValue: <any type>): boolean
Returns whether the value is a safe integer.
static parseFloat(string: string): number
Parses a string and returns a floating-point number.
static parseInt(string: string, radix?: number): integer
Parses a string and returns an integer of the specified radix or base.
toExponential(significantDigits?: number): string
Returns a string representing the number in exponential notation.
toFixed(significantDigits?: number): string
Returns a string representing the number in fixed-point notation.
toPrecision(significantDigits?: number): string
Returns a string representing the number to the specified precision.
toString(radix?: number): string
Returns a string representing the number in the (optionally) specified radix or base.
Property Detail
EPSILON
static EPSILON: number
Difference between 1 and the smallest value greater than 1 that can be represented as a Number.
MAX_SAFE_INTEGER
static MAX_SAFE_INTEGER: integer
Maximum safe integer in JavaScript (2^53 - 1).
MAX_VALUE
static MAX_VALUE: number
Maximum numeric value representable in JavaScript.
MIN_SAFE_INTEGER
static MIN_SAFE_INTEGER: integer
Minimum safe integer in JavaScript (-(2^53 - 1)).
MIN_VALUE
static MIN_VALUE: number
Smallest positive numeric value representable in JavaScript.
NEGATIVE_INFINITY
static NEGATIVE_INFINITY: number
Negative Infinity value.
POSITIVE_INFINITY
static POSITIVE_INFINITY: number
Positive Infinity value.
Method Detail
isFinite
static isFinite(testValue: <any type>): boolean
Returns whether the value is a finite number.
Parameters
testValue: <any type>
Returns
boolean
isInteger
static isInteger(testValue: <any type>): boolean
Returns whether the value is an integer.
Parameters
testValue: <any type>
Returns
boolean
isNaN
static isNaN(testValue: <any type>): boolean
Returns whether the value is NaN and its type is a Number.
Parameters
testValue: <any type>
Returns
boolean
isSafeInteger
static isSafeInteger(testValue: <any type>): boolean
Returns whether the value is a safe integer. A safe integer is an integer that can be exactly represented as an IEEE-754 double precision number and whose IEEE-754 representation can't be the result of rounding any other integer to fit the IEEE-754 representation.
Parameters
testValue: <any type>
Returns
boolean
parseFloat
static parseFloat(string: string): number
Parses a string and returns a floating-point number.
Parameters
string: string
Returns
number
parseInt
static parseInt(string: string, radix?: number): integer
Parses a string and returns an integer of the specified radix or base.
Parameters
string: string
radix Optional: number
Returns
integer
toExponential
toExponential(significantDigits?: number): string
Returns a string representing the number in exponential notation. It has one digit before the decimal point and is rounded to significantDigits digits after the decimal point.
Parameters
significantDigits Optional: number
Returns
string
toFixed
toFixed(significantDigits?: number): string
Returns a string representing the number in fixed-point notation. It is rounded to significantDigits digits after the decimal point.
Parameters
significantDigits Optional: number
Returns
string
toPrecision
toPrecision(significantDigits?: number): string
Returns a string representing the number to the specified precision. It is rounded to significantDigits digits after the decimal point.
Parameters
significantDigits Optional: number
Returns
string
toString
toString(radix?: number): string
Returns a string representing the number in the (optionally) specified radix or base.
Parameters
radix Optional: number
Returns
string
Type Library standard
C
NumberFormat
Method Summary
Name and Description
format(value: number): string
Formats a number by applying the settings of this number format.
getDecimalSeparator(): string
Returns the decimal separator.
getGroupingSeparator(): string
Returns the grouping separator.
getMaximumDecimalPlaces(): integer
Returns the maximum number of decimal places.
getMinimumDecimalPlaces(): integer
Returns the minimum number of decimal places.
getScalingFactor(): number
Returns the scaling factor.
getScalingText(): string
Returns the scaling text.
getSignDisplay(): NumberFormatSignDisplay
Returns how signs are displayed.
setDecimalSeparator(decimalSeparator: string): void
Sets the decimal separator.
setGroupingSeparator(groupingSeparator: string): void
Sets the grouping separator.
setMaximumDecimalPlaces(maximumDecimalPlaces: integer): void
Sets the maximum number of decimal places.
setMinimumDecimalPlaces(minimumDecimalPlaces: integer): void
Sets the minimum number of decimal places.
setScalingFactor(factor: number): void
Sets the scaling factor.
setScalingText(text: string): void
Sets the scaling text.
setSignDisplay(mode: NumberFormatSignDisplay): void
Specifies how signs are displayed.
Method Detail
format
format(value: number): string
Formats a number by applying the settings of this number format.
Parameters
value: number
Returns
string
getDecimalSeparator
getDecimalSeparator(): string
Returns the decimal separator.
Returns
string
getGroupingSeparator
getGroupingSeparator(): string
Returns the grouping separator.
Returns
string
getMaximumDecimalPlaces
getMaximumDecimalPlaces(): integer
Returns the maximum number of decimal places.
Returns
integer
getMinimumDecimalPlaces
getMinimumDecimalPlaces(): integer
Returns the minimum number of decimal places.
Returns
integer
getScalingFactor
getScalingFactor(): number
Returns the scaling factor.
Returns
number
getScalingText
getScalingText(): string
Returns the scaling text.
Returns
string
getSignDisplay
getSignDisplay(): NumberFormatSignDisplay
Returns how signs are displayed.
Returns
NumberFormatSignDisplay
setDecimalSeparator
setDecimalSeparator(decimalSeparator: string): void
Sets the decimal separator.
Parameters
decimalSeparator: string
setGroupingSeparator
setGroupingSeparator(groupingSeparator: string): void
Sets the grouping separator. If the grouping separator is an empty string (""), then the digits of the number aren't grouped.
Parameters
groupingSeparator: string
setMaximumDecimalPlaces
setMaximumDecimalPlaces(maximumDecimalPlaces: integer): void
Sets the maximum number of decimal places.
Parameters
maximumDecimalPlaces: integer
setMinimumDecimalPlaces
setMinimumDecimalPlaces(minimumDecimalPlaces: integer): void
Sets the minimum number of decimal places.
Parameters
minimumDecimalPlaces: integer
setScalingFactor
setScalingFactor(factor: number): void
Sets the scaling factor. If the scaling factor is 0 or 1, then the number isn't scaled.
Parameters
factor: number
setScalingText
setScalingText(text: string): void
Sets the scaling text.
Parameters
text: string
setSignDisplay
setSignDisplay(mode: NumberFormatSignDisplay): void
Specifies how signs are displayed.
Parameters
mode: NumberFormatSignDisplay
Type Library standard
E
NumberFormatDisplayUnit
Type Library standard
E
NumberFormatScaleFormat
Type Library standard
E
NumberFormatScaleUnit
Type Library standard
E
NumberFormatSignDisplay
Type Library oDataService
C
ODataError
Property Summary
Name and Description
code: string
details: ODataError[]
message: string
target: string
Property Detail
code
code: string
details
details: ODataError[]
message
message: string
target
target: string
Type Library oDataService
C
ODataQueryOptions
Property Summary
Name and Description
filter: string
orderby: string
select: string
skip: integer
top: integer
Property Detail
filter
filter: string
orderby
orderby: string
select
select: string
skip
skip: integer
top
top: integer
Type Library containers
C
PageBook
extends Widget
Method Summary
Name and Description
getPage(pageKey: string): PageBookPage
Returns a page of the page book.
getSelectedKey(): string
Returns the key of the selected page of the page book.
hideBusyIndicator(): void
Hides the busy indicator.
moveWidget(pageKey: string, widget: Widget): void
Moves the widget into the specified page of the page book.
setSelectedKey(pageKey: string): void
Selects a page.
showBusyIndicator(text?: string): void
Shows the busy indicator.
Event Summary
Name and Description
onSelect(): void
Called when the user selects a page.
Method Detail
getPage
getPage(pageKey: string): PageBookPage
Returns a page of the page book. The page is specified by the key of the page. If the page doesn't exist, then undefined is returned.
Parameters
pageKey: string
Returns
PageBookPage
getSelectedKey
getSelectedKey(): string
Returns the key of the selected page of the page book.
Returns
string
hideBusyIndicator
hideBusyIndicator(): void
Hides the busy indicator.
moveWidget
moveWidget(pageKey: string, widget: Widget): void
Moves the widget into the specified page of the page book.
Parameters
pageKey: string
widget: Widget
setSelectedKey
setSelectedKey(pageKey: string): void
Selects a page. The page is specified by the key of the page. The selected page is the visible page of the page book. If the page doesn't exist, then this operation is ignored.
Parameters
pageKey: string
showBusyIndicator
showBusyIndicator(text?: string): void
Shows the busy indicator.
Parameters
text Optional: string
Event Detail
onSelect
onSelect(): void
Called when the user selects a page.
Type Library containers
C
PageBookPage
Method Summary
Name and Description
getKey(): string
Returns the key of the page.
isVisible(): boolean
Returns whether the page is visible.
setVisible(visible: boolean): void
Shows or hides the page.
Method Detail
getKey
getKey(): string
Returns the key of the page.
Returns
string
isVisible
isVisible(): boolean
Returns whether the page is visible.
Returns
boolean
setVisible
setVisible(visible: boolean): void
Shows or hides the page.
Parameters
visible: boolean
Type Library containers
C
Panel
Method Summary
Name and Description
moveWidget(widget: Widget): void
Moves the widget into the panel.
Method Detail
moveWidget
moveWidget(widget: Widget): void
Moves the widget into the panel.
Parameters
widget: Widget
Type Library datasource
E
PauseMode
A set of values to describe the pause mode. For more information about the different modes, see the chapter "Using Pause Refresh APIs" in SAP Analytics Cloud Help.
Type Library planning
C
Planning
Method Summary
Name and Description
getDataLocking(): DataLocking
Returns the Data Locking object of the table.
getPlanningAreaInfo(): PlanningAreaInfo
Returns the Planning Area Info object that is initialized with the filters applied to the table.
getPrivateVersion(versionId: string): PlanningPrivateVersion
Returns a private version associated with the data source.
getPrivateVersions(): PlanningPrivateVersion[]
Returns all private versions associated with the data source.
getPublicVersion(versionId: string): PlanningPublicVersion
Returns a public version associated with the data source.
getPublicVersions(): PlanningPublicVersion[]
Returns all public versions associated with the data source.
isEnabled(): boolean
Returns whether planning is enabled for the table.
setEnabled(enabled: boolean): boolean
Enables or disables planning for the table.
setUserInput(selectedData: Selection, value: string): boolean
Sets a value to data cells.
submitData(): boolean
Submits the data to the server.
Method Detail
getDataLocking
getDataLocking(): DataLocking
Returns the Data Locking object of the table. If the data source associated with the table doesn't support data locking, then undefined is returned.
Returns
DataLocking
getPlanningAreaInfo
getPlanningAreaInfo(): PlanningAreaInfo
Returns the Planning Area Info object that is initialized with the filters applied to the table. If the data source associated with the table doesn't support planning, then undefined is returned.
Returns
PlanningAreaInfo
getPrivateVersion
getPrivateVersion(versionId: string): PlanningPrivateVersion
Returns a private version associated with the data source. If there is no private version with this version ID, then undefined is returned.
Parameters
versionId: string
Returns
PlanningPrivateVersion
getPrivateVersions
getPrivateVersions(): PlanningPrivateVersion[]
Returns all private versions associated with the data source.
Returns
PlanningPrivateVersion[]
getPublicVersion
getPublicVersion(versionId: string): PlanningPublicVersion
Returns a public version associated with the data source. If there is no public version with this version ID, then undefined is returned.
Parameters
versionId: string
Returns
PlanningPublicVersion
getPublicVersions
getPublicVersions(): PlanningPublicVersion[]
Returns all public versions associated with the data source.
Returns
PlanningPublicVersion[]
isEnabled
isEnabled(): boolean
Returns whether planning is enabled for the table.
Returns
boolean
setEnabled
setEnabled(enabled: boolean): boolean
Enables or disables planning for the table. If this operation was successful, then true is returned (even if you try to enable planning for a table that is already planning-enabled), and false if it wasn't.
Parameters
enabled: boolean
Returns
boolean
setUserInput
setUserInput(selectedData: Selection, value: string): boolean
Sets a value to data cells. The data cells are specified by the selection. The selection references a visible data cell in the rows or columns of the table. If this operation was successful, then true is returned, and false if it wasn't. Note: If this operation wasn't successful, then one of the following could be the cause: The cell is either a fact cell, a calculation cell, or not input-enabled. Note: After calling setUserInput() it's best to immediately submit your input with Planning.submitData(). Otherwise, unexpected results may occur. For example, if other operations are performed in scripts or by user interaction that lead to a refresh of the planning table before submitting your input, then your input may be discarded. Note: When setting a value for a key figure of a BPC model, you can use digits, letters, and special characters in the value.
Parameters
selectedData: Selection
value: string
Returns
boolean
submitData
submitData(): boolean
Submits the data to the server. If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
Type Library planning
C
PlanningAreaFilter
can be passed as a JSON object to method arguments
Property Summary
Name and Description
dimension: string
hierarchy: string
members: string[]
property: string
Property Detail
dimension
dimension: string
hierarchy
hierarchy: string
members
members: string[]
property
property: string
Type Library planning
C
PlanningAreaInfo
Method Summary
Name and Description
changeFilter(dimension: string | DimensionInfo, memberInfo: PlanningAreaMemberInfo JSON): PlanningAreaInfo
Sets a filter on the dimension.
getFilters(): PlanningAreaFilter[]
Returns filters that define the planning area.
removeFilter(dimension: string | DimensionInfo): PlanningAreaInfo
Removes any filter that is set on the dimension.
Method Detail
changeFilter
changeFilter(dimension: string | DimensionInfo, memberInfo: PlanningAreaMemberInfo JSON): PlanningAreaInfo
Sets a filter on the dimension. Any existing filter on the dimension is overwritten.
Parameters
dimension: string | DimensionInfo
memberInfo: PlanningAreaMemberInfo JSON
Returns
PlanningAreaInfo
getFilters
getFilters(): PlanningAreaFilter[]
Returns filters that define the planning area. Filters on Version and Measure dimensions are ignored.
Returns
PlanningAreaFilter[]
removeFilter
removeFilter(dimension: string | DimensionInfo): PlanningAreaInfo
Removes any filter that is set on the dimension.
Parameters
dimension: string | DimensionInfo
Returns
PlanningAreaInfo
Type Library planning
C
PlanningAreaMemberInfo
can be passed as a JSON object to method arguments
Property Summary
Name and Description
hierarchy: string
members: string[]
Property Detail
hierarchy
hierarchy: string
members
members: string[]
Type Library planning
E
PlanningCategory
Property Summary
Name and Description
static Actuals: PlanningCategory
Predefined "Actuals" category of the SAP Analytic Cloud planning model
static Budget: PlanningCategory
Predefined "Budget" category of the SAP Analytic Cloud planning model
static Forecast: PlanningCategory
Predefined "Forecast" category of the SAP Analytic Cloud planning model
static Planning: PlanningCategory
Predefined "Planning" category of the SAP Analytic Cloud planning model
static RollingForecast: PlanningCategory
Predefined "Rolling Forecast" category of the SAP Analytic Cloud planning model
Property Detail
Actuals
static Actuals: PlanningCategory
Predefined "Actuals" category of the SAP Analytic Cloud planning model
Budget
static Budget: PlanningCategory
Predefined "Budget" category of the SAP Analytic Cloud planning model
Forecast
static Forecast: PlanningCategory
Predefined "Forecast" category of the SAP Analytic Cloud planning model
Planning
static Planning: PlanningCategory
Predefined "Planning" category of the SAP Analytic Cloud planning model
RollingForecast
static RollingForecast: PlanningCategory
Predefined "Rolling Forecast" category of the SAP Analytic Cloud planning model
Type Library planning
E
PlanningCopyOption
Property Summary
Name and Description
static AllData: PlanningCopyOption
All data is included when copying a version.
static CustomizedPlanningArea: PlanningCopyOption
Planning Area with customized filter is included when copying a version.
static NoData: PlanningCopyOption
All data is excluded when copying a version.
static PlanningArea: PlanningCopyOption
Deprecated This option is deprecated, Planning Area data is included when copying a version.
static VisibleData: PlanningCopyOption
Visible data based on the table is included when copying a version.
Property Detail
AllData
static AllData: PlanningCopyOption
All data is included when copying a version.
CustomizedPlanningArea
static CustomizedPlanningArea: PlanningCopyOption
Planning Area with customized filter is included when copying a version.
NoData
static NoData: PlanningCopyOption
All data is excluded when copying a version.
PlanningArea
static PlanningArea: PlanningCopyOption
Deprecated This option is deprecated, Planning Area data is included when copying a version.
Deprecated
2025.14
VisibleData
static VisibleData: PlanningCopyOption
Visible data based on the table is included when copying a version.
Type Library planning-model
C
PlanningModel
Method Summary
Name and Description
createMembers(dimensionId: string, members: PlanningModelMember JSON | PlanningModelMember[] JSON): boolean
Creates planning model members.
deleteMembers(dimensionId: string, members: string | string[]): boolean
Deletes planning model members.
getMember(dimensionId: string, memberId: string): PlanningModelMember
Returns a planning model member.
getMembers(dimensionId: string, options?: PlanningModelMemberOptions JSON): PlanningModelMember[]
Returns planning model members.
getPrivateVersion(versionId: string): PlanningModelPrivateVersion
Returns a private version associated with the data source.
getPrivateVersions(): PlanningModelPrivateVersion[]
Returns all private versions associated with the data source.
getPublicVersion(versionId: string): PlanningModelPublicVersion
Returns a public version associated with the data source.
getPublicVersions(): PlanningModelPublicVersion[]
Returns all public versions associated with the data source.
updateMembers(dimensionId: string, members: PlanningModelMember JSON | PlanningModelMember[] JSON): boolean
Updates planning model members.
Method Detail
createMembers
createMembers(dimensionId: string, members: PlanningModelMember JSON | PlanningModelMember[] JSON): boolean
Creates planning model members. If this operation was successful, then true is returned, and false if it wasn't. Note: Currently, this operation supports only generic dimensions. Note: Call DataSource.refreshData() or Application.refreshData() after this operation, if you need the chart or table to reflect the created members in subsequent method calls operating on visible cells or elements of those widgets, for example, Planning.setUserInput(), DataSource.getData(), or DataSource.getPlanning().getState(). Note: Creating a member with the same member ID as an already existing member results in an error.
Parameters
dimensionId: string
members: PlanningModelMember JSON | PlanningModelMember[] JSON
Returns
boolean
deleteMembers
deleteMembers(dimensionId: string, members: string | string[]): boolean
Deletes planning model members. If this operation was successful, then true is returned, and false if it wasn't. Note: Currently, this operation supports only generic dimensions. Note: Call DataSource.refreshData() or Application.refreshData() after this operation, if you need the chart or table to reflect the deleted members in subsequent method calls operating on visible cells or elements of those widgets, for example, Planning.setUserInput(), DataSource.getData(), or DataSource.getPlanning().getState().
Parameters
dimensionId: string
members: string | string[]
Returns
boolean
getMember
getMember(dimensionId: string, memberId: string): PlanningModelMember
Returns a planning model member. Note: Currently, this operation supports only generic dimensions.
Parameters
dimensionId: string
memberId: string
Returns
PlanningModelMember
getMembers
getMembers(dimensionId: string, options?: PlanningModelMemberOptions JSON): PlanningModelMember[]
Returns planning model members. Note: Currently, this operation supports only generic dimensions. Note: If you specify options, then you can control the returned set of members even finer, for example, the number of returned members (default: 200).
Parameters
dimensionId: string
options Optional: PlanningModelMemberOptions JSON
Returns
PlanningModelMember[]
getPrivateVersion
getPrivateVersion(versionId: string): PlanningModelPrivateVersion
Returns a private version associated with the data source. If there is no private version with this version ID, then undefined is returned.
Parameters
versionId: string
Returns
PlanningModelPrivateVersion
getPrivateVersions
getPrivateVersions(): PlanningModelPrivateVersion[]
Returns all private versions associated with the data source.
Returns
PlanningModelPrivateVersion[]
getPublicVersion
getPublicVersion(versionId: string): PlanningModelPublicVersion
Returns a public version associated with the data source. If there is no public version with this version ID, then undefined is returned.
Parameters
versionId: string
Returns
PlanningModelPublicVersion
getPublicVersions
getPublicVersions(): PlanningModelPublicVersion[]
Returns all public versions associated with the data source.
Returns
PlanningModelPublicVersion[]
updateMembers
updateMembers(dimensionId: string, members: PlanningModelMember JSON | PlanningModelMember[] JSON): boolean
Updates planning model members. If this operation was successful, then true is returned, and false if it wasn't. Note: Currently, this operation supports only generic dimensions. Note: Call DataSource.refreshData() or Application.refreshData() after this operation, if you need the chart or table to reflect the updated members in subsequent method calls operating on visible cells or elements of those widgets, for example, Planning.setUserInput(), DataSource.getData(), or DataSource.getPlanning().getState().
Parameters
dimensionId: string
members: PlanningModelMember JSON | PlanningModelMember[] JSON
Returns
boolean
E
PlanningModelCopyOption
Property Summary
Name and Description
static AllData: PlanningModelCopyOption
All data is included when copying a version.
static NoData: PlanningModelCopyOption
All data is excluded when copying a version.
Property Detail
AllData
static AllData: PlanningModelCopyOption
All data is included when copying a version.
NoData
static NoData: PlanningModelCopyOption
All data is excluded when copying a version.
Type Library planning-model
C
PlanningModelMember
can be passed as a JSON object to method arguments
An object defining a planning model member
Property Summary
Name and Description
dataLockingOwners: PlanningModelMemberPrincipal[] JSON
Users and teams who own data locks on the planning model member
description: string
Description of the planning model member
hierarchies: PlanningModelMemberHierarchies
Hierarchies of the planning model member.
id: string
ID of the planning model member
properties: PlanningModelMemberProperties
Properties of the planning model member
readers: PlanningModelMemberPrincipal[] JSON
Users and teams who can read the planning model member
responsible: PlanningModelMemberPrincipal JSON
Responsible user for the planning model member
writers: PlanningModelMemberPrincipal[] JSON
Users and teams who can update the planning model member
Property Detail
dataLockingOwners
dataLockingOwners: PlanningModelMemberPrincipal[] JSON
Users and teams who own data locks on the planning model member
description
description: string
Description of the planning model member
hierarchies
hierarchies: PlanningModelMemberHierarchies
Hierarchies of the planning model member. Here's an example of the structure of the hierarchies object, hierarchies: { MyHierarchyId: { parentId: "HCUST0001", previousSiblingId: "CUST0007" } }. In this example, "MyHierarchyId" represents the ID of the hierarchy in your model.
id
id: string
ID of the planning model member
properties
properties: PlanningModelMemberProperties
Properties of the planning model member
readers
readers: PlanningModelMemberPrincipal[] JSON
Users and teams who can read the planning model member
responsible
responsible: PlanningModelMemberPrincipal JSON
Responsible user for the planning model member
writers
writers: PlanningModelMemberPrincipal[] JSON
Users and teams who can update the planning model member
Type Library planning-model
C
PlanningModelMemberHierarchies
is an object<PlanningModelMemberHierarchy>
Hierarchies of the planning model member. Here's an example of the structure of the hierarchies object, hierarchies: { MyHierarchyId: { parentId: "HCUST0001", previousSiblingId: "CUST0007" } }. In this example, "MyHierarchyId" represents the ID of the hierarchy in your model.
Type Library planning-model
C
PlanningModelMemberHierarchy
can be passed as a JSON object to method arguments
An object defining a planning model member hierarchy
Property Summary
Name and Description
parentId: string
Parent ID of a planning model member hierarchy
previousSiblingId: string
Previous sibling ID of a planning model member hierarchy.
Property Detail
parentId
parentId: string
Parent ID of a planning model member hierarchy
previousSiblingId
previousSiblingId: string
Previous sibling ID of a planning model member hierarchy. The planning model member is inserted after the specified sibling. If previousSiblingId is an empty string (""), then the planning model member is inserted as the first sibling. If the property previousSiblingId is omitted, then the planning model member is appended as the last sibling.
Type Library planning-model
C
PlanningModelMemberOptions
can be passed as a JSON object to method arguments
An object specifiying planning model members
Property Summary
Name and Description
hierarchyId: string
Hierarchy ID
limit: integer
Maximum number of returned members.
offset: integer
Number of members to skip before starting to read members
parentId: string
Parent ID
Property Detail
hierarchyId
hierarchyId: string
Hierarchy ID
limit
limit: integer
Maximum number of returned members. It must be zero or a positive number. If the limit isn't specified or invalid, then the default value is used (default: 200).
offset
offset: integer
Number of members to skip before starting to read members
parentId
parentId: string
Parent ID
Type Library planning-model
C
PlanningModelMemberPrincipal
can be passed as a JSON object to method arguments
An object defining a user or a team who has certain access to a planning model member
Property Summary
Name and Description
id: string
ID of a user or a team that has certain access to a planning model member
type: UserType
Type of a user or a team who has certain access to a planning model member
Property Detail
id
id: string
ID of a user or a team that has certain access to a planning model member
type
type: UserType
Type of a user or a team who has certain access to a planning model member
Type Library planning-model
C
PlanningModelMemberProperties
is an object<string>
Properties of a planning model member
C
PlanningModelPrivateVersion
extends PlanningModelVersion
Method Summary
Name and Description
getOwnerId(): string
Returns the user ID of the user who created this private version.
publish(targetVersion?: PlanningModelPublicVersion, updateChangedDataOnly?: boolean, publishOptions?: PrivateVersionPublishOptions JSON): boolean
Creates a public version from this private version.
publishAs(newVersionName: string, versionCategory?: PlanningCategory): boolean
Creates a public version with the specified name from this private version.
Inherited from PlanningModelVersion
copy, deleteVersion, getDisplayId, getId, redo, undo
Method Detail
getOwnerId
getOwnerId(): string
Returns the user ID of the user who created this private version.
Returns
string
publish
publish(targetVersion?: PlanningModelPublicVersion, updateChangedDataOnly?: boolean, publishOptions?: PrivateVersionPublishOptions JSON): boolean
Creates a public version from this private version. If a public target version is specified, then updateChangedDataOnly specifies whether to update only data that was changed or to update all valid member combinations (default: false). If no public target version is specified, then the original public version is overwritten that was used when the private version was created. If the public target version is unrelated to the private version and updateChangedDataOnly is false, then the private version overwrites the public target version. If the public target version is unrelated to the private version and updateChangedDataOnly is true, then only the changed data is published to the public target version. If this operation was successful, then this private version is deleted.
Parameters
targetVersion Optional: PlanningModelPublicVersion
updateChangedDataOnly Optional: boolean
publishOptions Optional: PrivateVersionPublishOptions JSON
Returns
boolean
publishAs
publishAs(newVersionName: string, versionCategory?: PlanningCategory): boolean
Creates a public version with the specified name from this private version. If no category is specified, then the category of the private version is used for the new public version. If this operation was successful, then this private version is deleted.
Parameters
newVersionName: string
versionCategory Optional: PlanningCategory
Returns
boolean
E
PlanningModelPublicEditOption
Property Summary
Name and Description
static AllData: PlanningModelPublicEditOption
All data is included when starting edit version.
static PlanningArea: PlanningModelPublicEditOption
Planning Area data is included when starting edit version.
Property Detail
AllData
static AllData: PlanningModelPublicEditOption
All data is included when starting edit version.
PlanningArea
static PlanningArea: PlanningModelPublicEditOption
Planning Area data is included when starting edit version.
C
PlanningModelPublicVersion
extends PlanningModelVersion
Method Summary
Name and Description
isDirty(): boolean
Returns whether this version has been modified and can be published or reverted.
publish(publishOptions?: PublicVersionPublishOptions JSON): boolean
Publishes the modifications applied by the user.
revert(): boolean
Reverts the modifications applied by the user.
startEditMode(planningPublicEditOption: PlanningModelPublicEditOption): boolean
Starts the edit mode for public version.
updateProperty(propertyName: string, propertyValue: string | PlanningCategory): boolean
Updates the property of this version.
Inherited from PlanningModelVersion
copy, deleteVersion, getDisplayId, getId, redo, undo
Method Detail
isDirty
isDirty(): boolean
Returns whether this version has been modified and can be published or reverted.
Returns
boolean
publish
publish(publishOptions?: PublicVersionPublishOptions JSON): boolean
Publishes the modifications applied by the user. If this operation was successful, then true is returned, and false if it wasn't. Note: Before publishing, check with PlanningModelPublicVersion.isDirty() if there are modifications available that can be published. When there're conflicting changes, if the related parameter isn't specified, the user's changes overwrite the other ones.
Parameters
publishOptions Optional: PublicVersionPublishOptions JSON
Returns
boolean
revert
revert(): boolean
Reverts the modifications applied by the user. If this operation was successful, then true is returned, and false if it wasn't. Note: Before reverting, check with PlanningModelPublicVersion.isDirty() if there are modifications available that can be reverted.
Returns
boolean
startEditMode
startEditMode(planningPublicEditOption: PlanningModelPublicEditOption): boolean
Starts the edit mode for public version. If this operation was successful, then true is returned, and false if it wasn't. Note: Before starting edit mode, check with PlanningModelPublicVersion.isDirty() to false.
Parameters
planningPublicEditOption: PlanningModelPublicEditOption
Returns
boolean
updateProperty
updateProperty(propertyName: string, propertyValue: string | PlanningCategory): boolean
Updates the property of this version. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
propertyName: string
propertyValue: string | PlanningCategory
Returns
boolean
C
PlanningModelVersion
is abstract
Direct Subclasses
PlanningModelPrivateVersion, PlanningModelPublicVersion
Method Summary
Name and Description
copy(newVersionName: string, planningCopyOption: PlanningModelCopyOption, versionCategory?: PlanningCategory): boolean
Creates a private copy of this version.
deleteVersion(): boolean
Deletes this version.
getDisplayId(): string
Returns the display ID of this version.
getId(): string
Returns the ID of this version.
redo(): boolean
Redoes changes to the version.
undo(): boolean
Undoes changes to the version.
Method Detail
copy
copy(newVersionName: string, planningCopyOption: PlanningModelCopyOption, versionCategory?: PlanningCategory): boolean
Creates a private copy of this version. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
newVersionName: string
planningCopyOption: PlanningModelCopyOption
versionCategory Optional: PlanningCategory
Returns
boolean
deleteVersion
deleteVersion(): boolean
Deletes this version. If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
getDisplayId
getDisplayId(): string
Returns the display ID of this version. You can use it, for example, to display the version in dropdowns or texts.
Returns
string
getId
getId(): string
Returns the ID of this version. You can use it, for example, when calling DataSource.getData().
Returns
string
redo
redo(): boolean
Redoes changes to the version. If the operation is successful, then "true" is returned, and "false" if it isn't.
Returns
boolean
undo
undo(): boolean
Undoes changes to the version. If the operation is successful, then "true" is returned, and "false" if it isn't.
Returns
boolean
Type Library planning
C
PlanningPrivateVersion
extends PlanningVersion
Method Summary
Name and Description
getOwnerId(): string
Returns the user ID of the user who created this private version.
publish(targetVersion?: PlanningPublicVersion, updateChangedDataOnly?: boolean, publishOptions?: PrivateVersionPublishOptions JSON): boolean
Creates a public version from this private version.
publishAs(newVersionName: string, versionCategory?: PlanningCategory): boolean
Creates a public version with the specified name from this private version.
Inherited from PlanningVersion
copy, deleteVersion, getDisplayId, getId, redo, undo
Method Detail
getOwnerId
getOwnerId(): string
Returns the user ID of the user who created this private version.
Returns
string
publish
publish(targetVersion?: PlanningPublicVersion, updateChangedDataOnly?: boolean, publishOptions?: PrivateVersionPublishOptions JSON): boolean
Creates a public version from this private version. If a public target version is specified, then updateChangedDataOnly specifies whether to update only data that was changed or to update all valid member combinations (default: false). If no public target version is specified, then the original public version is overwritten that was used when the private version was created. If the public target version is unrelated to the private version and updateChangedDataOnly is false, then the private version overwrites the public target version. If the public target version is unrelated to the private version and updateChangedDataOnly is true, then only the changed data is published to the public target version. If this operation was successful, then this private version is deleted.
Parameters
targetVersion Optional: PlanningPublicVersion
updateChangedDataOnly Optional: boolean
publishOptions Optional: PrivateVersionPublishOptions JSON
Returns
boolean
publishAs
publishAs(newVersionName: string, versionCategory?: PlanningCategory): boolean
Creates a public version with the specified name from this private version. If no category is specified, then the category of the private version is used for the new public version. If this operation was successful, then this private version is deleted.
Parameters
newVersionName: string
versionCategory Optional: PlanningCategory
Returns
boolean
Type Library planning
E
PlanningPublicEditOption
Property Summary
Name and Description
static AllData: PlanningPublicEditOption
All data is included when starting edit version.
static CustomizedPlanningArea: PlanningPublicEditOption
Planning Area with customized filter is included when starting edit version.
static PlanningArea: PlanningPublicEditOption
Planning Area data is included when starting edit version.
static TableContextWithPlanningArea: PlanningPublicEditOption
Table context with Planning Area is included when starting edit version.
Property Detail
AllData
static AllData: PlanningPublicEditOption
All data is included when starting edit version.
CustomizedPlanningArea
static CustomizedPlanningArea: PlanningPublicEditOption
Planning Area with customized filter is included when starting edit version.
PlanningArea
static PlanningArea: PlanningPublicEditOption
Planning Area data is included when starting edit version.
TableContextWithPlanningArea
static TableContextWithPlanningArea: PlanningPublicEditOption
Table context with Planning Area is included when starting edit version.
Type Library planning
C
PlanningPublicVersion
extends PlanningVersion
Method Summary
Name and Description
isDirty(): boolean
Returns whether this version has been modified and can be published or reverted.
publish(publishOptions?: PublicVersionPublishOptions JSON): boolean
Publishes the modifications applied by the user.
revert(): boolean
Reverts the modifications applied by the user.
startEditMode(planningPublicEditOption: PlanningPublicEditOption, planningAreaFilter?: PlanningAreaFilter[] JSON): boolean
Starts the edit mode for public version.
Inherited from PlanningVersion
copy, deleteVersion, getDisplayId, getId, redo, undo
Method Detail
isDirty
isDirty(): boolean
Returns whether this version has been modified and can be published or reverted.
Returns
boolean
publish
publish(publishOptions?: PublicVersionPublishOptions JSON): boolean
Publishes the modifications applied by the user. If this operation was successful, then true is returned, and false if it wasn't. Note: Before publishing, check with PlanningPublicVersion.isDirty() if there are modifications available that can be published. When there're conflicting changes, if the related parameter isn't specified, the user's changes overwrite the other ones.
Parameters
publishOptions Optional: PublicVersionPublishOptions JSON
Returns
boolean
revert
revert(): boolean
Reverts the modifications applied by the user. If this operation was successful, then true is returned, and false if it wasn't. Note: Before reverting, check with PlanningPublicVersion.isDirty() if there are modifications available that can be reverted.
Returns
boolean
startEditMode
startEditMode(planningPublicEditOption: PlanningPublicEditOption, planningAreaFilter?: PlanningAreaFilter[] JSON): boolean
Starts the edit mode for public version. If this operation was successful, then true is returned, and false if it wasn't. Note: Before starting edit mode, check with PlanningPublicVersion.isDirty() to false.
Parameters
planningPublicEditOption: PlanningPublicEditOption
planningAreaFilter Optional: PlanningAreaFilter[] JSON
Returns
boolean
Type Library planning
C
PlanningVersion
is abstract
Direct Subclasses
PlanningPrivateVersion, PlanningPublicVersion
Method Summary
Name and Description
copy(newVersionName: string, planningCopyOption: PlanningCopyOption, versionCategory?: PlanningCategory, planningAreaFilter?: PlanningAreaFilter[] JSON, hideUnbooked?: boolean): boolean
Creates a private copy of this version.
deleteVersion(): boolean
Deletes this version.
getDisplayId(): string
Returns the display ID of this version.
getId(): string
Returns the ID of this version.
redo(): boolean
Redoes changes to the version.
undo(): boolean
Undoes changes to the version.
Method Detail
copy
copy(newVersionName: string, planningCopyOption: PlanningCopyOption, versionCategory?: PlanningCategory, planningAreaFilter?: PlanningAreaFilter[] JSON, hideUnbooked?: boolean): boolean
Creates a private copy of this version. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
newVersionName: string
planningCopyOption: PlanningCopyOption
versionCategory Optional: PlanningCategory
planningAreaFilter Optional: PlanningAreaFilter[] JSON
hideUnbooked Optional: boolean
Returns
boolean
deleteVersion
deleteVersion(): boolean
Deletes this version. If this operation was successful, then true is returned, and false if it wasn't.
Returns
boolean
getDisplayId
getDisplayId(): string
Returns the display ID of this version. You can use it, for example, to display the version in dropdowns or texts.
Returns
string
getId
getId(): string
Returns the ID of this version. You can use it, for example, when calling DataSource.getData().
Returns
string
redo
redo(): boolean
Redoes changes to the version. If the operation is successful, then "true" is returned, and "false" if it isn't.
Returns
boolean
undo
undo(): boolean
Undoes changes to the version. If the operation is successful, then "true" is returned, and "false" if it isn't.
Returns
boolean
Type Library containers
C
Popup
Method Summary
Name and Description
close(): void
Closes the popup.
getCssClass(): string
Returns the Cascading Style Sheet (CSS) class name of the popup.
getTitle(): string
Returns the title of the popup.
hideBusyIndicator(): void
Hides the busy indicator.
isButtonEnabled(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is enabled.
isButtonVisible(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is visible.
open(): void
Opens the popup.
setButtonEnabled(buttonId: string, enabled: boolean): void
Enables or disables a specific button in the footer of the popup.
setButtonVisible(buttonId: string, visible: boolean): void
Shows or hides a specific button in the footer of the popup.
setCssClass(className: string): void
Sets the Cascading Style Sheet (CSS) class name of the popup.
setSize(size: PopupSizeOptions): void
Sets the popup size.
setTitle(title: string): void
Sets the title of the popup.
showBusyIndicator(text?: string): void
Shows the busy indicator.
Event Summary
Name and Description
onButtonClick(buttonId: string): void
Called when the user clicks any button in the footer of the popup.
onResize(width: number, height: number): void
Called when the popup is resized.
Method Detail
close
close(): void
Closes the popup.
getCssClass
getCssClass(): string
Returns the Cascading Style Sheet (CSS) class name of the popup.
Returns
string
getTitle
getTitle(): string
Returns the title of the popup.
Returns
string
hideBusyIndicator
hideBusyIndicator(): void
Hides the busy indicator.
isButtonEnabled
isButtonEnabled(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is enabled.
Parameters
buttonId: string
Returns
boolean
isButtonVisible
isButtonVisible(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is visible.
Parameters
buttonId: string
Returns
boolean
open
open(): void
Opens the popup.
setButtonEnabled
setButtonEnabled(buttonId: string, enabled: boolean): void
Enables or disables a specific button in the footer of the popup.
Parameters
buttonId: string
enabled: boolean
setButtonVisible
setButtonVisible(buttonId: string, visible: boolean): void
Shows or hides a specific button in the footer of the popup.
Parameters
buttonId: string
visible: boolean
setCssClass
setCssClass(className: string): void
Sets the Cascading Style Sheet (CSS) class name of the popup.
Parameters
className: string
setSize
setSize(size: PopupSizeOptions): void
Sets the popup size.
Parameters
size: PopupSizeOptions
setTitle
setTitle(title: string): void
Sets the title of the popup.
Parameters
title: string
showBusyIndicator
showBusyIndicator(text?: string): void
Shows the busy indicator.
Parameters
text Optional: string
Event Detail
onButtonClick
onButtonClick(buttonId: string): void
Called when the user clicks any button in the footer of the popup.
Parameters
buttonId: string
onResize
onResize(width: number, height: number): void
Called when the popup is resized.
Parameters
width: number
height: number
C
PopupSizeOptions
Property Summary
Name and Description
static height: integer
Height
static heightUnit: PopupSizeUnit
Height Unit
static width: integer
Width
static widthUnit: PopupSizeUnit
Width Unit
Property Detail
height
static height: integer
Height
heightUnit
static heightUnit: PopupSizeUnit
Height Unit
width
static width: integer
Width
widthUnit
static widthUnit: PopupSizeUnit
Width Unit
E
PopupSizeUnit
Property Summary
Name and Description
static Percent: PopupSizeUnit
static Pixel: PopupSizeUnit
Property Detail
Percent
static Percent: PopupSizeUnit
Pixel
static Pixel: PopupSizeUnit
Type Library planning
E
PrivatePublishConflict
Property Summary
Name and Description
static PublishWithoutWarning: PrivatePublishConflict
Publishes the version without showing the conflict warning dialog, and the user's changes in conflict with the other's will be lost.
static ShowWarning: PrivatePublishConflict
Shows the warning dialog for the user to handle conflicting changes.
Property Detail
PublishWithoutWarning
static PublishWithoutWarning: PrivatePublishConflict
Publishes the version without showing the conflict warning dialog, and the user's changes in conflict with the other's will be lost.
ShowWarning
static ShowWarning: PrivatePublishConflict
Shows the warning dialog for the user to handle conflicting changes.
Type Library planning
C
PrivateVersionPublishOptions
can be passed as a JSON object to method arguments
Private version publish options
Property Summary
Name and Description
privatePublishConflict: PrivatePublishConflict
Used for handling conflicting changes.
Property Detail
privatePublishConflict
privatePublishConflict: PrivatePublishConflict
Used for handling conflicting changes. The values correspond to showing the conflict warning dialog, overwriting user's changes without showing the dialog respectively.
Type Library planning
E
PublicPublishConflict
Property Summary
Name and Description
static PublishWithoutWarning: PublicPublishConflict
Publishes the version without showing the conflict warning dialog, and the user's changes in conflict with the other's will be lost.
static RevertWithoutWarning: PublicPublishConflict
Reverts the version without showing the conflict warning dialog.
static ShowWarning: PublicPublishConflict
Shows the warning dialog for the user to handle conflicting changes.
Property Detail
PublishWithoutWarning
static PublishWithoutWarning: PublicPublishConflict
Publishes the version without showing the conflict warning dialog, and the user's changes in conflict with the other's will be lost.
RevertWithoutWarning
static RevertWithoutWarning: PublicPublishConflict
Reverts the version without showing the conflict warning dialog.
ShowWarning
static ShowWarning: PublicPublishConflict
Shows the warning dialog for the user to handle conflicting changes.
Type Library planning
C
PublicVersionPublishOptions
can be passed as a JSON object to method arguments
Public version publish options
Property Summary
Name and Description
publicPublishConflict: PublicPublishConflict
Used for handling conflicting changes.
Property Detail
publicPublishConflict
publicPublishConflict: PublicPublishConflict
Used for handling conflicting changes. The values correspond to showing the conflict warning dialog, overwriting user's changes without showing the dialog, and reverting the version without showing the dialog respectively.
Type Library input-controls
C
Range
Method Summary
Name and Description
getEndValue(): number
Returns the end value of the range.
getStartValue(): number
Returns the start value of the range.
setEndValue(value: number): void
Sets the end value of the range.
setStartValue(value: number): void
Sets the start value of the range.
Method Detail
getEndValue
getEndValue(): number
Returns the end value of the range.
Returns
number
getStartValue
getStartValue(): number
Returns the start value of the range.
Returns
number
setEndValue
setEndValue(value: number): void
Sets the end value of the range.
Parameters
value: number
setStartValue
setStartValue(value: number): void
Sets the start value of the range.
Parameters
value: number
Type Library datasource
C
RangeFilterValue
Type Library datasource
C
RangeVariableValue
extends VariableValue, can be passed as a JSON object to method arguments
Property Summary
Name and Description
exclude: boolean
Indicates whether to exclude the variable values.
from: string
Start variable value of a range
greater: string
Variable value specifying a range of variable values greater than this variable value
greaterOrEqual: string
Variable value specifying a range of variable values greater or equal than this variable value
less: string
Variable value specifying a range of variable values less than this variable value
lessOrEqual: string
Variable value specifying a range of variable values less or equal than this variable value
to: string
End variable value of a range
Property Detail
exclude
exclude: boolean
Indicates whether to exclude the variable values.
from
from: string
Start variable value of a range
greater
greater: string
Variable value specifying a range of variable values greater than this variable value
greaterOrEqual
greaterOrEqual: string
Variable value specifying a range of variable values greater or equal than this variable value
less
less: string
Variable value specifying a range of variable values less than this variable value
lessOrEqual
lessOrEqual: string
Variable value specifying a range of variable values less or equal than this variable value
to
to: string
End variable value of a range
Type Library datasource
E
RankOrder
A set of values describing the rank order
Type Library advanced-controls
C
RDataFrame
Method Summary
Name and Description
getDataSource(): DataSource
Returns the data source of the data frame.
Method Detail
getDataSource
getDataSource(): DataSource
Returns the data source of the data frame.
Returns
DataSource
Type Library advanced-controls
C
REnvironmentValues
Method Summary
Name and Description
getNumber(key: string): number
Returns the number value of an R code variable.
Method Detail
getNumber
getNumber(key: string): number
Returns the number value of an R code variable. The variable is specified by its name.
Parameters
key: string
Returns
number
Type Library datasource
C
ResultMemberInfo
Type Library datasource
C
ResultMemberProperties
Type Library datasource
C
ResultSet
Type Library advanced-controls
C
RInputParameters
Method Summary
Name and Description
getNumber(key: string): number
Returns the value of an input parameter that is a number.
getNumberArray(key: string): number[]
Returns the value of an input parameter that is a number array.
getString(key: string): string
Returns the value of an input parameter that is a string.
getStringArray(key: string): string[]
Returns the value of an input parameter that is a string array.
setNumber(key: string, param: number): void
Sets the value of an input parameter.
setNumberArray(key: string, params: number[]): void
Sets the value of an input parameter.
setString(key: string, param: string): void
Sets the value of an input parameter.
setStringArray(key: string, params: string[]): void
Sets the value of an input parameter.
Method Detail
getNumber
getNumber(key: string): number
Returns the value of an input parameter that is a number. If the input parameter doesn't exist or the type is invalid, then undefined is returned.
Parameters
key: string
Returns
number
getNumberArray
getNumberArray(key: string): number[]
Returns the value of an input parameter that is a number array. If the input parameter doesn't exist or the type is invalid, then undefined is returned.
Parameters
key: string
Returns
number[]
getString
getString(key: string): string
Returns the value of an input parameter that is a string. If the input parameter doesn't exist or the type is invalid, then undefined is returned.
Parameters
key: string
Returns
string
getStringArray
getStringArray(key: string): string[]
Returns the value of an input parameter that is a string array. If the input parameter doesn't exist or the type is invalid, then undefined is returned.
Parameters
key: string
Returns
string[]
setNumber
setNumber(key: string, param: number): void
Sets the value of an input parameter. This overwrites any previous value of the input parameter, regardless of its type.
Parameters
key: string
param: number
setNumberArray
setNumberArray(key: string, params: number[]): void
Sets the value of an input parameter. This overwrites any previous value of the input parameter, regardless of its type.
Parameters
key: string
params: number[]
setString
setString(key: string, param: string): void
Sets the value of an input parameter. This overwrites any previous value of the input parameter, regardless of its type.
Parameters
key: string
param: string
setStringArray
setStringArray(key: string, params: string[]): void
Sets the value of an input parameter. This overwrites any previous value of the input parameter, regardless of its type.
Parameters
key: string
params: string[]
Type Library visualization-controls
C
RssFeedInfo
Property Summary
Name and Description
title: string
url: string
Property Detail
title
title: string
url
url: string
Type Library visualization-controls
C
RssReader
extends Widget
Method Summary
Name and Description
addFeed(title: string, url: string): void
Adds a new RSS feed to the RSS feeds.
getAllFeeds(): RssFeedInfo[]
Returns all RSS feeds.
getSelectedFeed(): RssFeedInfo
Returns the selected RSS feed.
removeAllFeeds(): void
Removes all RSS feeds.
removeFeed(url: string): void
Removes any RSS feed with this URL from the RSS feeds.
setSelectedFeed(url: string): void
Selects the first RSS feed with this URL.
Method Detail
addFeed
addFeed(title: string, url: string): void
Adds a new RSS feed to the RSS feeds. If an RSS feed with the same title and URL is already present, then the new RSS feed is still added.
Parameters
title: string
url: string
getAllFeeds
getAllFeeds(): RssFeedInfo[]
Returns all RSS feeds.
Returns
RssFeedInfo[]
getSelectedFeed
getSelectedFeed(): RssFeedInfo
Returns the selected RSS feed.
Returns
RssFeedInfo
removeAllFeeds
removeAllFeeds(): void
Removes all RSS feeds.
removeFeed
removeFeed(url: string): void
Removes any RSS feed with this URL from the RSS feeds. If an RSS feed is removed that is selected, then that RSS feed is removed, and the first RSS feed of the RSS feeds is selected. If there is no RSS feed with this URL, then this operation is ignored.
Parameters
url: string
setSelectedFeed
setSelectedFeed(url: string): void
Selects the first RSS feed with this URL. If there is no RSS feed with this URL, then this operation is ignored.
Parameters
url: string
Type Library advanced-controls
C
RVisualization
extends Widget
Method Summary
Name and Description
getDataFrame(dataframeName: string): RDataFrame
Returns the data frame.
getEnvironmentValues(): REnvironmentValues
Returns the environment values.
getInputParameters(): RInputParameters
Returns the input parameters.
getMessages(): string[]
Returns the console output.
getStatus(): RVisualizationStatus
Returns the execution status of the R code.
openInNewStory(): void
Creates a new story with this widget.
setContextMenuVisible(visible: boolean): void
Shows or hides the More Actions button and the context menu.
setHyperlink(type: UrlType, value?: string): void
Sets the hyperlink that the R widget will navigate to.
setQuickActionsVisibility(quickActionsVisibility: RVisualizationQuickActionsVisibility): void
Shows or hides Quick Actions specified by the Quick Actions visibility.
Event Summary
Name and Description
onResultChanged(): void
Called when the result set in the R visualization changes.
Method Detail
getDataFrame
getDataFrame(dataframeName: string): RDataFrame
Returns the data frame.
Parameters
dataframeName: string
Returns
RDataFrame
Mobile Support
Not supported on mobile devices.
getEnvironmentValues
getEnvironmentValues(): REnvironmentValues
Returns the environment values.
Returns
REnvironmentValues
Mobile Support
Not supported on mobile devices.
getInputParameters
getInputParameters(): RInputParameters
Returns the input parameters.
Returns
RInputParameters
Mobile Support
Not supported on mobile devices.
getMessages
getMessages(): string[]
Returns the console output.
Returns
string[]
Mobile Support
Not supported on mobile devices.
getStatus
getStatus(): RVisualizationStatus
Returns the execution status of the R code.
Returns
RVisualizationStatus
Mobile Support
Not supported on mobile devices.
openInNewStory
openInNewStory(): void
Creates a new story with this widget.
Mobile Support
Not supported on mobile devices.
setContextMenuVisible
setContextMenuVisible(visible: boolean): void
Shows or hides the More Actions button and the context menu.
Parameters
visible: boolean
Mobile Support
Not supported on mobile devices.
setHyperlink
setHyperlink(type: UrlType, value?: string): void
Sets the hyperlink that the R widget will navigate to.
Parameters
type: UrlType
value Optional: string
Mobile Support
Not supported on mobile devices.
setQuickActionsVisibility
setQuickActionsVisibility(quickActionsVisibility: RVisualizationQuickActionsVisibility): void
Shows or hides Quick Actions specified by the Quick Actions visibility.
Parameters
quickActionsVisibility: RVisualizationQuickActionsVisibility
Mobile Support
Not supported on mobile devices.
Event Detail
onResultChanged
onResultChanged(): void
Called when the result set in the R visualization changes.
Type Library advanced-controls
C
RVisualizationQuickActionsVisibility
Property Summary
Name and Description
static addComment: boolean
Comment
static fullscreen: boolean
Fullscreen
static rDetail: boolean
Applied to R Visualization
Property Detail
addComment
static addComment: boolean
Comment
fullscreen
static fullscreen: boolean
Fullscreen
rDetail
static rDetail: boolean
Applied to R Visualization
Type Library advanced-controls
E
RVisualizationStatus
Property Summary
Name and Description
static Error: RVisualizationStatus
The R request failed to execute the R script.
static Running: RVisualizationStatus
The R request is processed by the R server.
static Success: RVisualizationStatus
The R request was executed successfully.
Property Detail
Error
static Error: RVisualizationStatus
The R request failed to execute the R script.
Running
static Running: RVisualizationStatus
The R request is processed by the R server.
Success
static Success: RVisualizationStatus
The R request was executed successfully.
Type Library standard
C
Scheduling
Method Summary
Name and Description
static isRunBySchedulePublication(): boolean
Returns whether the analytic application is run by scheduling.
static logMessage(messageType: SchedulingMessageType, messageText: string): void
Log a message in the scheduling status details.
static openSubscriptionDialog(): void
Opens the scheduling subscription dialog.
static publish(): boolean
Triggers the scheduling of an export in manual mode.
Method Detail
isRunBySchedulePublication
static isRunBySchedulePublication(): boolean
Returns whether the analytic application is run by scheduling.
Returns
boolean
logMessage
static logMessage(messageType: SchedulingMessageType, messageText: string): void
Log a message in the scheduling status details.
Parameters
messageType: SchedulingMessageType
messageText: string
openSubscriptionDialog
static openSubscriptionDialog(): void
Opens the scheduling subscription dialog.
Mobile Support
Not supported on mobile devices.
publish
static publish(): boolean
Triggers the scheduling of an export in manual mode.
Returns
boolean
Type Library standard
E
SchedulingMessageType
Property Summary
Name and Description
static Error: SchedulingMessageType
Error message
static Info: SchedulingMessageType
Information message
static Warning: SchedulingMessageType
Warning message
Property Detail
Error
static Error: SchedulingMessageType
Error message
Info
static Info: SchedulingMessageType
Information message
Warning
static Warning: SchedulingMessageType
Warning message
Type Library search-to-insight
C
SearchToInsight
Method Summary
Name and Description
applySearchToChart(question: string, chart: Chart): boolean
Applies the Search to Insight result to a chart.
closeDialog(): void
getVariables(modelId: string): VariableInfo[]
Returns the variable values stored in this Search to Insight component.
openDialog(question: string, mode: SearchToInsightDialogMode, cleanHistory?: boolean, autoSearch?: boolean): void
setVariableValue(modelId: string, variable: string | VariableInfo, variableValue: string | number | VariableValue | VariableValue[]): void
Stores a variable value in this Search to Insight component.
Method Detail
applySearchToChart
applySearchToChart(question: string, chart: Chart): boolean
Applies the Search to Insight result to a chart. The chart also applies variable values set by earlier calls of SearchToInsight.setVariableValue().
Parameters
question: string
chart: Chart
Returns
boolean
closeDialog
closeDialog(): void
getVariables
getVariables(modelId: string): VariableInfo[]
Returns the variable values stored in this Search to Insight component.
Parameters
modelId: string
Returns
VariableInfo[]
openDialog
openDialog(question: string, mode: SearchToInsightDialogMode, cleanHistory?: boolean, autoSearch?: boolean): void
Parameters
question: string
mode: SearchToInsightDialogMode
cleanHistory Optional: boolean
autoSearch Optional: boolean
Mobile Support
Not supported on mobile devices.
setVariableValue
setVariableValue(modelId: string, variable: string | VariableInfo, variableValue: string | number | VariableValue | VariableValue[]): void
Stores a variable value in this Search to Insight component. The variable value is applied to a chart when calling SearchToInsight.applySearchToChart().
Parameters
modelId: string
variable: string | VariableInfo
variableValue: string | number | VariableValue | VariableValue[]
Type Library search-to-insight
E
SearchToInsightDialogMode
Property Summary
Name and Description
static Advanced: SearchToInsightDialogMode
Advanced Search to Insight dialog with model selection and suggestions
static Simple: SearchToInsightDialogMode
Simple Search to Insight dialog
Property Detail
Advanced
static Advanced: SearchToInsightDialogMode
Advanced Search to Insight dialog with model selection and suggestions
Simple
static Simple: SearchToInsightDialogMode
Simple Search to Insight dialog
Type Library datasource
C
Selection
Type Library datasource
C
SelectionContext
C
SetModelOptions
can be passed as a JSON object to method arguments
Property Summary
Name and Description
suppressPromptDialog: boolean
suppress prompt dialog
Property Detail
suppressPromptDialog
suppressPromptDialog: boolean
suppress prompt dialog
Type Library datasource
C
SetVariableValueOptions
Type Library visualization-controls
C
Shape
Method Summary
Name and Description
setStyle(style: ShapeStyle JSON): void
Applies the style to the shape.
Method Detail
setStyle
setStyle(style: ShapeStyle JSON): void
Applies the style to the shape. You can also pass a JSON object for this argument. In the script editor, type "{}", place the cursor between the curly brackets, then press Ctrl+Space to list the available properties.
Parameters
style: ShapeStyle JSON
Type Library visualization-controls
C
ShapeStyle
can be passed as a JSON object to method arguments
Property Summary
Name and Description
fillColor: string
Fill color of the shape
lineColor: string
Line color of the shape
Property Detail
fillColor
fillColor: string
Fill color of the shape
lineColor
lineColor: string
Line color of the shape
Type Library datasource
C
SingleFilterValue
extends FilterValue, can be passed as a JSON object to method arguments
An object representing a single filter value
Property Summary
Name and Description
description: string
Filter description
exclude: boolean
Indicates whether to exclude the filter value.
value: string
Filter value
Property Detail
description
description: string
Filter description
exclude
exclude: boolean
Indicates whether to exclude the filter value.
value
value: string
Filter value
Type Library datasource
C
SingleVariableValue
extends VariableValue, can be passed as a JSON object to method arguments
Property Summary
Name and Description
exclude: boolean
Indicates whether to exclude the variable value.
value: string
Variable value
Property Detail
exclude
exclude: boolean
Indicates whether to exclude the variable value.
value
value: string
Variable value
Type Library chart
C
SmartGrouping
Method Summary
Name and Description
setGroupLabel(label: string): void
Sets the group prefix label.
setNumberOfGroups(number: integer): void
Sets the group number.
setTooltipFeedsIncluded(included: boolean): void
Includes or excludes the tooltip feeds.
setTooltipMeasureIncluded(included: boolean): void
Deprecated This method is deprecated, use setTooltipFeedsIncluded() instead.
setVisible(visible: boolean): void
Enables or disables Smart Grouping.
Method Detail
setGroupLabel
setGroupLabel(label: string): void
Sets the group prefix label.
Parameters
label: string
setNumberOfGroups
setNumberOfGroups(number: integer): void
Sets the group number. If the number is invalid, then it is set to the min-max value of the valid range.
Parameters
number: integer
setTooltipFeedsIncluded
setTooltipFeedsIncluded(included: boolean): void
Includes or excludes the tooltip feeds.
Parameters
included: boolean
setTooltipMeasureIncluded
setTooltipMeasureIncluded(included: boolean): void
Deprecated This method is deprecated, use setTooltipFeedsIncluded() instead. Includes or excludes the tooltip measure.
Parameters
included: boolean
Deprecated
2025.14
setVisible
setVisible(visible: boolean): void
Enables or disables Smart Grouping.
Parameters
visible: boolean
Type Library datasource
E
SortOrder
A set of values describing the sort order
C
StoryPopup
Method Summary
Name and Description
close(): void
Closes the popup.
getCssClass(): string
Returns the Cascading Style Sheet (CSS) class name of the popup.
getTitle(): string
Returns the title of the popup.
hideBusyIndicator(): void
Hides the busy indicator.
isButtonEnabled(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is enabled.
isButtonVisible(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is visible.
open(): void
Opens the popup.
setButtonEnabled(buttonId: string, enabled: boolean): void
Enables or disables a specific button in the footer of the popup.
setButtonVisible(buttonId: string, visible: boolean): void
Shows or hides a specific button in the footer of the popup.
setCssClass(className: string): void
Sets the Cascading Style Sheet (CSS) class name of the popup.
setSize(size: CrossPagePopupSizeOptions): void
Sets the popup size.
setTitle(title: string): void
Sets the title of the popup.
showBusyIndicator(text?: string): void
Shows the busy indicator.
Event Summary
Name and Description
onButtonClick(buttonId: string): void
Called when the user clicks any button in the footer of the popup.
onOpen(origin: string): void
Called when the Story Popup is open.
onResize(width: number, height: number): void
Called when the popup is resized.
Method Detail
close
close(): void
Closes the popup.
getCssClass
getCssClass(): string
Returns the Cascading Style Sheet (CSS) class name of the popup.
Returns
string
getTitle
getTitle(): string
Returns the title of the popup.
Returns
string
hideBusyIndicator
hideBusyIndicator(): void
Hides the busy indicator.
isButtonEnabled
isButtonEnabled(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is enabled.
Parameters
buttonId: string
Returns
boolean
isButtonVisible
isButtonVisible(buttonId: string): boolean
Returns whether a specific button in the footer of the popup is visible.
Parameters
buttonId: string
Returns
boolean
open
open(): void
Opens the popup.
setButtonEnabled
setButtonEnabled(buttonId: string, enabled: boolean): void
Enables or disables a specific button in the footer of the popup.
Parameters
buttonId: string
enabled: boolean
setButtonVisible
setButtonVisible(buttonId: string, visible: boolean): void
Shows or hides a specific button in the footer of the popup.
Parameters
buttonId: string
visible: boolean
setCssClass
setCssClass(className: string): void
Sets the Cascading Style Sheet (CSS) class name of the popup.
Parameters
className: string
setSize
setSize(size: CrossPagePopupSizeOptions): void
Sets the popup size.
Parameters
size: CrossPagePopupSizeOptions
setTitle
setTitle(title: string): void
Sets the title of the popup.
Parameters
title: string
showBusyIndicator
showBusyIndicator(text?: string): void
Shows the busy indicator.
Parameters
text Optional: string
Event Detail
onButtonClick
onButtonClick(buttonId: string): void
Called when the user clicks any button in the footer of the popup.
Parameters
buttonId: string
onOpen
onOpen(origin: string): void
Called when the Story Popup is open.
Parameters
origin: string
onResize
onResize(width: number, height: number): void
Called when the popup is resized.
Parameters
width: number
height: number
Type Library standard
O
String
A string represents a sequence of characters.
Property Summary
Name and Description
length: integer
Represents the length of a string.
Method Summary
Name and Description
charAt(index: integer): string
Returns the specified character from a string.
charCodeAt(index: integer): integer
Returns the numeric Unicode value of the character at the given index (except for Unicode codepoints > 0x10000).
codePointAt(pos: integer): integer
Returns a non-negative integer that is the UTF-16 encoded code point value.
concat(other: string): string
Combines the text of two strings and returns a new string.
endsWith(searchString: string, length?: integer): boolean
Returns whether a string ends with the characters of another string.
includes(searchString: string, position?: integer): boolean
Returns whether one string may be found within another string.
indexOf(searchValue: string, fromIndex?: integer): integer
Returns the index within the calling string of the first occurrence of the specified value, starting the search at fromIndex, or -1 if the value isn't found.
lastIndexOf(searchValue: string, fromIndex?: integer): integer
Returns the index within the calling string of the last occurrence of the specified value, or -1 if the value isn't found.
localeCompare(compareString: string): integer
Returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
normalize(form: string): string
Returns the Unicode Normalization Form of a given string (if the value isn't a string, it will be converted to one first).
repeat(count: integer): string
Constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
replace(pattern: string, replacement: string): string
Returns a new string with some or all matches of a pattern replaced by a replacement.
slice(beginIndex: integer, endIndex?: integer): string
Extracts a section of a string and returns a new string.
split(separator?: string, limit?: integer): string[]
Splits a string into an array of strings by separating the string into substrings.
startsWith(searchString: string, position?: integer): boolean
Returns whether a string begins with the characters of another string.
substr(start: integer, length?: integer): string
Returns the characters in a string beginning at the specified location through the specified number of characters.
substring(indexStart: integer, indexEnd?: integer): string
Returns a subset of a string between one index and another, or through the end of the string.
toLocaleLowerCase(): string
Returns the calling string value converted to lowercase, according to any locale-specific case mappings.
toLocaleUpperCase(): string
Returns the calling string value converted to uppercase, according to any locale-specific case mappings.
toLowerCase(): string
Returns the calling string value converted to lowercase.
toUpperCase(): string
Returns the calling string value converted to uppercase.
trim(): string
Removes whitespace from both ends of the string.
Property Detail
length
length: integer
Represents the length of a string.
Method Detail
charAt
charAt(index: integer): string
Returns the specified character from a string.
Parameters
index: integer
Returns
string
charCodeAt
charCodeAt(index: integer): integer
Returns the numeric Unicode value of the character at the given index (except for Unicode codepoints > 0x10000).
Parameters
index: integer
Returns
integer
codePointAt
codePointAt(pos: integer): integer
Returns a non-negative integer that is the UTF-16 encoded code point value.
Parameters
pos: integer
Returns
integer
concat
concat(other: string): string
Combines the text of two strings and returns a new string.
Parameters
other: string
Returns
string
endsWith
endsWith(searchString: string, length?: integer): boolean
Returns whether a string ends with the characters of another string.
Parameters
searchString: string
length Optional: integer
Returns
boolean
includes
includes(searchString: string, position?: integer): boolean
Returns whether one string may be found within another string.
Parameters
searchString: string
position Optional: integer
Returns
boolean
indexOf
indexOf(searchValue: string, fromIndex?: integer): integer
Returns the index within the calling string of the first occurrence of the specified value, starting the search at fromIndex, or -1 if the value isn't found.
Parameters
searchValue: string
fromIndex Optional: integer
Returns
integer
lastIndexOf
lastIndexOf(searchValue: string, fromIndex?: integer): integer
Returns the index within the calling string of the last occurrence of the specified value, or -1 if the value isn't found. The calling string is searched backward, starting at fromIndex.
Parameters
searchValue: string
fromIndex Optional: integer
Returns
integer
localeCompare
localeCompare(compareString: string): integer
Returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
Parameters
compareString: string
Returns
integer
normalize
normalize(form: string): string
Returns the Unicode Normalization Form of a given string (if the value isn't a string, it will be converted to one first).
Parameters
form: string
Returns
string
repeat
repeat(count: integer): string
Constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
Parameters
count: integer
Returns
string
replace
replace(pattern: string, replacement: string): string
Returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string, and the replacement can be a string for each match.
Parameters
pattern: string
replacement: string
Returns
string
slice
slice(beginIndex: integer, endIndex?: integer): string
Extracts a section of a string and returns a new string.
Parameters
beginIndex: integer
endIndex Optional: integer
Returns
string
split
split(separator?: string, limit?: integer): string[]
Splits a string into an array of strings by separating the string into substrings.
Parameters
separator Optional: string
limit Optional: integer
Returns
string[]
startsWith
startsWith(searchString: string, position?: integer): boolean
Returns whether a string begins with the characters of another string.
Parameters
searchString: string
position Optional: integer
Returns
boolean
substr
substr(start: integer, length?: integer): string
Returns the characters in a string beginning at the specified location through the specified number of characters.
Parameters
start: integer
length Optional: integer
Returns
string
substring
substring(indexStart: integer, indexEnd?: integer): string
Returns a subset of a string between one index and another, or through the end of the string.
Parameters
indexStart: integer
indexEnd Optional: integer
Returns
string
toLocaleLowerCase
toLocaleLowerCase(): string
Returns the calling string value converted to lowercase, according to any locale-specific case mappings.
Returns
string
toLocaleUpperCase
toLocaleUpperCase(): string
Returns the calling string value converted to uppercase, according to any locale-specific case mappings.
Returns
string
toLowerCase
toLowerCase(): string
Returns the calling string value converted to lowercase.
Returns
string
toUpperCase
toUpperCase(): string
Returns the calling string value converted to uppercase.
Returns
string
trim
trim(): string
Removes whitespace from both ends of the string.
Returns
string
Type Library table2
C
Table
Method Summary
Name and Description
addDimensionToColumns(dimension: string | DimensionInfo, position?: integer): void
Adds the dimension to the Columns axis, at the specified position.
addDimensionToRows(dimension: string | DimensionInfo, position?: integer): void
Adds the dimension to the Rows axis, at the specified position.
closeNavigationPanel(): void
Closes the navigation panel.
getComments(): TableComments
Returns the comments of the data source.
getNumberFormat(): TableNumberFormat
Returns the table number format.
getPlanning(): Planning
Returns the Planning object of the table.
getSelections(): Selection[]
Returns the selections of the table.
openDataAnalyzer(newTab?: boolean): void
Opens Data Analyzer for the table.
openInNewStory(): void
Creates a new story with this widget.
openNavigationPanel(navigationPanelOptions?: NavigationPanelOptions JSON): void
Opens the navigation panel.
openSelectModelDialog(): void
Opens the select model dialog.
rankBy(rankOptions: TableRankOptions JSON): void
Creates a Top N filter to show a specified number of the lowest or highest ranked values.
removeDimension(dimension: string | DimensionInfo): void
Removes the dimension from whichever axis it is present on.
removeRanking(): void
Clears ranking and shows all the members with sort order retained, if applicable.
removeSorting(): void
Clears sorting and shows the members in default order.
setBreakGroupingEnabled(axis: TableAxis, enabled: boolean): void
Enables or disables Break Grouping when sorting.
setModel(modelId: string): boolean
Sets the model and replaces the old one.
setQuickActionsVisibility(quickActionsVisibility: TableQuickActionsVisibility): void
Shows or hides Quick Actions specified by the Quick Actions visibility.
sortByMember(dimension: string | DimensionInfo, sortOrder: SortOrder): void
Sorts dimension members in a table.
sortByValue(relatedDimensions: Selection, sortOrder: SortOrder, direction: Direction): void
Sorts measure values in a table.
Event Summary
Name and Description
onAfterDataEntryProcess(cells: IChangedCell[], effectiveContext: SelectionContext): void
Called when the table data is changed via manual data entry, copy and paste, or submitData() API.
Method Detail
addDimensionToColumns
addDimensionToColumns(dimension: string | DimensionInfo, position?: integer): void
Adds the dimension to the Columns axis, at the specified position. If no position is specified, then the dimension is added as the last dimension of the Columns axis.
Parameters
dimension: string | DimensionInfo
position Optional: integer
addDimensionToRows
addDimensionToRows(dimension: string | DimensionInfo, position?: integer): void
Adds the dimension to the Rows axis, at the specified position. If no position is specified, then the dimension is added as the last dimension of the Rows axis.
Parameters
dimension: string | DimensionInfo
position Optional: integer
closeNavigationPanel
closeNavigationPanel(): void
Closes the navigation panel.
getComments
getComments(): TableComments
Returns the comments of the data source. Note: Currently, this operation is only supported for data sources associated with tables. If the data source isn't associated with a table, then undefined is returned.
Returns
TableComments
getNumberFormat
getNumberFormat(): TableNumberFormat
Returns the table number format.
Returns
TableNumberFormat
getPlanning
getPlanning(): Planning
Returns the Planning object of the table. If the data source associated with the table doesn't support planning, then undefined is returned.
Returns
Planning
getSelections
getSelections(): Selection[]
Returns the selections of the table. You can use elements of the returned array with DataSource.getData() to get the value of a cell. See also the documentation of Selection.
Returns
Selection[]
openDataAnalyzer
openDataAnalyzer(newTab?: boolean): void
Opens Data Analyzer for the table.
Parameters
newTab Optional: boolean
Mobile Support
Not supported on mobile devices.
openInNewStory
openInNewStory(): void
Creates a new story with this widget.
Mobile Support
Not supported on mobile devices.
openNavigationPanel
openNavigationPanel(navigationPanelOptions?: NavigationPanelOptions JSON): void
Opens the navigation panel. Note: This operation is ignored if the table is contained in a mobile application or a popup.
Parameters
navigationPanelOptions Optional: NavigationPanelOptions JSON
openSelectModelDialog
openSelectModelDialog(): void
Opens the select model dialog. Selecting a model replaces the model of the table.
rankBy
rankBy(rankOptions: TableRankOptions JSON): void
Creates a Top N filter to show a specified number of the lowest or highest ranked values.
Parameters
rankOptions: TableRankOptions JSON
removeDimension
removeDimension(dimension: string | DimensionInfo): void
Removes the dimension from whichever axis it is present on. If the dimension is neither on the Rows nor Columns axis, then this operation is ignored.
Parameters
dimension: string | DimensionInfo
removeRanking
removeRanking(): void
Clears ranking and shows all the members with sort order retained, if applicable.
removeSorting
removeSorting(): void
Clears sorting and shows the members in default order.
setBreakGroupingEnabled
setBreakGroupingEnabled(axis: TableAxis, enabled: boolean): void
Enables or disables Break Grouping when sorting.
Parameters
axis: TableAxis
enabled: boolean
setModel
setModel(modelId: string): boolean
Sets the model and replaces the old one.
Parameters
modelId: string
Returns
boolean
setQuickActionsVisibility
setQuickActionsVisibility(quickActionsVisibility: TableQuickActionsVisibility): void
Shows or hides Quick Actions specified by the Quick Actions visibility.
Parameters
quickActionsVisibility: TableQuickActionsVisibility
Mobile Support
Not supported on mobile devices.
sortByMember
sortByMember(dimension: string | DimensionInfo, sortOrder: SortOrder): void
Sorts dimension members in a table. You can specify the dimension that you want to sort and the sort order. Note: Creating a custom order for members in a table isn't supported.
Parameters
dimension: string | DimensionInfo
sortOrder: SortOrder
sortByValue
sortByValue(relatedDimensions: Selection, sortOrder: SortOrder, direction: Direction): void
Sorts measure values in a table. You can specify the related dimensions, the sort order, and the sort direction in the table.
Parameters
relatedDimensions: Selection
sortOrder: SortOrder
direction: Direction
Event Detail
onAfterDataEntryProcess
onAfterDataEntryProcess(cells: IChangedCell[], effectiveContext: SelectionContext): void
Called when the table data is changed via manual data entry, copy and paste, or submitData() API.
Parameters
cells: IChangedCell[]
effectiveContext: SelectionContext
Type Library table2
E
TableAxis
Type Library table2
C
TableComments
Method Summary
Name and Description
addComment(selection: Selection, value: string): CommentInfo
Adds a comment to data cells.
addComments(selection: Selection, value: string[]): CommentInfo[]
Adds multiple comments to data cells.
getAllComments(selection: Selection): CommentInfo[]
Returns all comments of data cells.
getComment(commentId: string): CommentInfo
Returns a comment.
getDimensionComment(selection: Selection): CommentInfo
Returns the dimension comment of a data cell.
removeAllComments(selection: Selection): boolean
Removes all comments on data cells.
removeComment(commentId: string): boolean
Removes a comment.
removeDimensionComment(selection: Selection): void
Removes the dimension comment of a data cell.
setCommentLiked(commentId: string, isLiked: boolean): boolean
Switches the Like flag of a comment on or off.
setDimensionComment(selection: Selection, value: string): void
Sets the dimension comment of a data cell.
updateComment(commentId: string, value: string): CommentInfo
Updates a comment.
Method Detail
addComment
addComment(selection: Selection, value: string): CommentInfo
Adds a comment to data cells. The data cells are specified by the selection. If this operation was successful, then the comment is returned, and undefined if it wasn't.
Parameters
selection: Selection
value: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
addComments
addComments(selection: Selection, value: string[]): CommentInfo[]
Adds multiple comments to data cells. The data cells are specified by the selection. If this operation was successful, then the comments are returned, and undefined if it wasn't. Note: Not supported for SAP BW live data models.
Parameters
selection: Selection
value: string[]
Returns
CommentInfo[]
Mobile Support
Not supported on mobile devices.
getAllComments
getAllComments(selection: Selection): CommentInfo[]
Returns all comments of data cells. The data cells are specified by the selection. If no comments exist, then an empty array is returned. Note: For SAP BW live data models, returns the only comment of the latest version.
Parameters
selection: Selection
Returns
CommentInfo[]
Mobile Support
Not supported on mobile devices.
getComment
getComment(commentId: string): CommentInfo
Returns a comment. The comment is specified by the comment ID. If the comment ID is invalid, then undefined is returned.
Parameters
commentId: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
getDimensionComment
getDimensionComment(selection: Selection): CommentInfo
Returns the dimension comment of a data cell. The data cell is specified by the selection. If no dimension comment exists, then undefined is returned.
Parameters
selection: Selection
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
removeAllComments
removeAllComments(selection: Selection): boolean
Removes all comments on data cells. The data cells are specified by the selection. If this operation was successful, then true is returned, and false if it wasn't. Note: For SAP BW live data models, removes the only comment along with all history versions.
Parameters
selection: Selection
Returns
boolean
Mobile Support
Not supported on mobile devices.
removeComment
removeComment(commentId: string): boolean
Removes a comment. The comment is specified by the comment ID. If this operation was successful, then true is returned, and false if it wasn't.
Parameters
commentId: string
Returns
boolean
Mobile Support
Not supported on mobile devices.
removeDimensionComment
removeDimensionComment(selection: Selection): void
Removes the dimension comment of a data cell. The data cell is specified by the selection.
Parameters
selection: Selection
Mobile Support
Not supported on mobile devices.
setCommentLiked
setCommentLiked(commentId: string, isLiked: boolean): boolean
Switches the Like flag of a comment on or off. The comment is specified by the comment ID. If the comment ID is valid, then true is returned, and false if it isn't. Note: Not supported for SAP BW live data models.
Parameters
commentId: string
isLiked: boolean
Returns
boolean
Mobile Support
Not supported on mobile devices.
setDimensionComment
setDimensionComment(selection: Selection, value: string): void
Sets the dimension comment of a data cell. The data cell is specified by the selection.
Parameters
selection: Selection
value: string
Mobile Support
Not supported on mobile devices.
updateComment
updateComment(commentId: string, value: string): CommentInfo
Updates a comment. The comment is specified by the comment ID. Returns the latest comment if this operation is successful, and undefined if it fails. Note: Only supported for SAP BW live data models.
Parameters
commentId: string
value: string
Returns
CommentInfo
Mobile Support
Not supported on mobile devices.
Type Library table2
C
TableNumberFormat
Method Summary
Name and Description
setDecimalPlaces(decimalPlaces: integer, measures?: string[]): void
Specifies the number of decimal places for specific or all measures.
setDisplayUnit(displayUnit: NumberFormatDisplayUnit): void
Specifies where the units or currencies of the measures are displayed.
setScaleFormat(scaleFormat: NumberFormatScaleFormat): void
Specifies the scale format of the table.
setScaleUnit(scaleUnit: NumberFormatScaleUnit, measures?: string[]): void
Specifies the scale unit for specific or all measures.
setSignDisplay(signDisplay: NumberFormatSignDisplay, measures?: string[]): void
Specifies how signs are displayed for specific or all measures.
Method Detail
setDecimalPlaces
setDecimalPlaces(decimalPlaces: integer, measures?: string[]): void
Specifies the number of decimal places for specific or all measures.
Parameters
decimalPlaces: integer
measures Optional: string[]
setDisplayUnit
setDisplayUnit(displayUnit: NumberFormatDisplayUnit): void
Specifies where the units or currencies of the measures are displayed.
Parameters
displayUnit: NumberFormatDisplayUnit
setScaleFormat
setScaleFormat(scaleFormat: NumberFormatScaleFormat): void
Specifies the scale format of the table.
Parameters
scaleFormat: NumberFormatScaleFormat
setScaleUnit
setScaleUnit(scaleUnit: NumberFormatScaleUnit, measures?: string[]): void
Specifies the scale unit for specific or all measures.
Parameters
scaleUnit: NumberFormatScaleUnit
measures Optional: string[]
setSignDisplay
setSignDisplay(signDisplay: NumberFormatSignDisplay, measures?: string[]): void
Specifies how signs are displayed for specific or all measures.
Parameters
signDisplay: NumberFormatSignDisplay
measures Optional: string[]
Type Library table2
C
TableQuickActionsVisibility
Property Summary
Name and Description
static addClientCalculation: boolean
Add Calculation
static addClientRowColumn: boolean
Add/Remove Row/Column
static addComment: boolean
Comment
static addMember: boolean
Add Member
static conditions: boolean
Conditions
static dataLocks: boolean
Data Locks
static displayOptions: boolean
Display Options
static distributeValue: boolean
Distribute Value
static drill: boolean
Drill
static exporting: boolean
Export
static filter: boolean
Filter/Exclude
static freeze: boolean
Freeze
static fullscreen: boolean
Fullscreen
static gotoHyperLink: boolean
Go To HyperLink
static lockCell: boolean
Lock Cell
static massDataEntry: boolean
Mass Data Entry
static publish: boolean
Publish
static rank: boolean
Ranking
static removeCellReference: boolean
Remove Reference
static revert: boolean
Revert
static selectConversions: boolean
Select Conversions
static selectHierarchy: boolean
Select Hierarchy
static showHide: boolean
Show/Hide
static sort: boolean
Sorting
static swapAxis: boolean
Swap Axis
static tableDetail: boolean
Applied to Table
static undoRedoDataChange: boolean
Undo/Redo Data Entry
static valueLockManagement: boolean
Value Lock
static version: boolean
Version
static versionHistory: boolean
History
Property Detail
addClientCalculation
static addClientCalculation: boolean
Add Calculation
addClientRowColumn
static addClientRowColumn: boolean
Add/Remove Row/Column
addComment
static addComment: boolean
Comment
addMember
static addMember: boolean
Add Member
conditions
static conditions: boolean
Conditions
dataLocks
static dataLocks: boolean
Data Locks
displayOptions
static displayOptions: boolean
Display Options
distributeValue
static distributeValue: boolean
Distribute Value
drill
static drill: boolean
Drill
exporting
static exporting: boolean
Export
filter
static filter: boolean
Filter/Exclude
freeze
static freeze: boolean
Freeze
fullscreen
static fullscreen: boolean
Fullscreen
gotoHyperLink
static gotoHyperLink: boolean
Go To HyperLink
lockCell
static lockCell: boolean
Lock Cell
massDataEntry
static massDataEntry: boolean
Mass Data Entry
publish
static publish: boolean
Publish
rank
static rank: boolean
Ranking
removeCellReference
static removeCellReference: boolean
Remove Reference
revert
static revert: boolean
Revert
selectConversions
static selectConversions: boolean
Select Conversions
selectHierarchy
static selectHierarchy: boolean
Select Hierarchy
showHide
static showHide: boolean
Show/Hide
sort
static sort: boolean
Sorting
swapAxis
static swapAxis: boolean
Swap Axis
tableDetail
static tableDetail: boolean
Applied to Table
undoRedoDataChange
static undoRedoDataChange: boolean
Undo/Redo Data Entry
valueLockManagement
static valueLockManagement: boolean
Value Lock
version
static version: boolean
Version
versionHistory
static versionHistory: boolean
History
Type Library table2
C
TableRankOptions
can be passed as a JSON object to method arguments
A set of values to describe a ranking operation on a table.
Property Summary
Name and Description
applyToEachDimension: boolean
Shows the top values for each dimension instead of for the group of dimensions.
direction: Direction
Direction of sorting in the table.
rankOrder: RankOrder
Order used for ranking.
relatedDimensions: Selection
Related dimension used for ranking
value: integer
Number of values to include in the ranking filter
Property Detail
applyToEachDimension
applyToEachDimension: boolean
Shows the top values for each dimension instead of for the group of dimensions. If you have a hierarchical measure in your table, then this option is enabled and can't be disabled.
direction
direction: Direction
Direction of sorting in the table. The values Direction.Vertical or Direction.Horizontal correspond to a vertical or horizontal sort direction in the table, respectively.
rankOrder
rankOrder: RankOrder
Order used for ranking. The values RankOrder.Top or RankOrder.Bottom, for example, correspond to a descending or an ascending order of ranking, respectively.
relatedDimensions
relatedDimensions: Selection
Related dimension used for ranking
value
value: integer
Number of values to include in the ranking filter
Type Library containers
C
TabStrip
Method Summary
Name and Description
moveWidget(tabName: string, widget: Widget): void
Moves the widget into the specified tab of the tab strip.
Method Detail
moveWidget
moveWidget(tabName: string, widget: Widget): void
Moves the widget into the specified tab of the tab strip.
Parameters
tabName: string
widget: Widget
Type Library datasource
C
TimeRange
Type Library standard
E
Type
Property Summary
Name and Description
static boolean: Type
The "boolean" type
static integer: Type
The "integer" type
static number: Type
The "number" type
static string: Type
The "string" type
Property Detail
boolean
static boolean: Type
The "boolean" type
integer
static integer: Type
The "integer" type
number
static number: Type
The "number" type
string
static string: Type
The "string" type
Type Library standard
O
undefined
The value undefined.
Type Library standard
C
UrlParameter
Type Library standard
E
UrlType
Type Library standard
C
UserInfo
Property Summary
Name and Description
displayName: string
id: string
Property Detail
displayName
displayName: string
id
id: string
Type Library standard
E
UserType
Property Summary
Name and Description
static Team: UserType
Indicates a team.
static User: UserType
Indicates a single user.
Property Detail
Team
static Team: UserType
Indicates a team.
User
static User: UserType
Indicates a single user.
Type Library value-driver-tree
C
ValueDriverTree
extends Widget
Type Library datasource
C
VariableInfo
Type Library datasource
C
VariableValue
Direct Subclasses
MultipleVariableValue, RangeVariableValue, SingleVariableValue
Type Library visualization-controls
C
WebPage
extends Widget
Method Summary
Name and Description
postMessage(message: string, targetOrigin?: string): void
Posts a message to a web page.
setAddress(address: string): void
Sets the address that the web page will navigate to.
Method Detail
postMessage
postMessage(message: string, targetOrigin?: string): void
Posts a message to a web page.
Parameters
message: string
targetOrigin Optional: string
setAddress
setAddress(address: string): void
Sets the address that the web page will navigate to.
Parameters
address: string
Type Library standard
C
Widget
Direct Subclasses
BpcPlanningSequence, Commenting, Composite, DataActionTrigger, FileUploadTrigger, FilterLine, MultiActionTrigger, PageBook, RVisualization, RssReader, ValueDriverTree, WebPage
Legal CopyrightDisclaimerImpressum
  • Copyright
  • Disclaimer
  • Privacy Statement
  • Legal Disclosure
  • Trademark
  • Terms of Use