Users.saveMultimediaGalleryPrefs (Method)

Sets multimedia gallery preferences for the current user or sets the defaults if no preferences are set.

Returns:

Void

Arguments:

Name Type Required Description
forDefaultUser Boolean Optional. Defaults to '0'. Boolean flag which when set to true indicates that these setting preferences are for the default user. These preferences are used when users do not set their own settings. If false, these settings are for the current user.
displayMode MultimediaGalleryDisplayMode Required Defines the way in which CommonSpot displays an image gallery; for example, 'List', 'Small Images', 'Large Images', or 'Filmstrip'.
autoPreviewOn Boolean Required Boolean flag which when set to true indicates that image gallery images preview automatically when the mouse pointer hovers over them.

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 customer level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None