Shortcuts.clone (Method)

Creates a new shortcut by copying an existing one.

Returns:

ShortcutID (integer)

Arguments:

Name Type Required Description
shortcutID ShortcutID Required A shortcut's ID.
forDefaultUser Boolean Optional. Defaults to '0'. A Boolean flag which when set to true tells CommonSpot to use a user's default settings when cloning a saved search. If false, CommonSpot returns the current search's settings.

Context:

License Requirements None
Permission Requirements shortcut:Read
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None