Shortcuts.setMaxDashboardItems (Method)

Sets the maximum number of items that will appear on the My CommonSpot Dashboard.

Returns:

Void

Arguments:

Name Type Required Description
maxItems PositiveInteger Required A positive integer specifying the maximum number of items to display on the My CommonSpot Dashboard. Note this number can not exceed that set for UI Scalability.

Context:

License Requirements None
Permission Requirements Contributor
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:

Code Error Message
44009 Your administrator has limited the maximum number of items shown to $1.

Notes:

None