LeftPane.updatePanel (Method)

Either creates a new panel or updates an existing one.

Returns:

Void

Arguments:

Name Type Required Description
panelID PanelID Required A panel's ID. If this value is 0, CommonSpot creates a panel instead of updating one.
title PlainText_NonNull_255 Required The panel's title, which is the text displayed within the let accordion control.
description String Required The panel's full description.
panelURL ValidURL Required The fully-qualified URL for the panel.
panelURLHelp ValidURL_EmptyString Optional. Defaults to an empty string. The fully-qualified URL of this panel's help page.
panelIconURL ValidURL_EmptyString Optional. Defaults to an empty string. The fully-qualified URL for the panel's icon.
defaultDisplayState LeftPaneDisplayState Required An integer indicating a panel's display state: 0 (hidden), 1 (panel), or 2 (icon).

Context:

License Requirements None
Permission Requirements site:SiteAdmin
Deny Context None
Require Context AuthoringEnabled
Author Lock  

Error Codes:

Code Error Message
28001 Another panel with the same title already exists.

Notes:

None