IBM Connections wiki
IBM Connections 3.0.1 Documentation
Custom Search Scope...
IBM Connections 4.0 documentation
You are currently viewing machine translated content. IBM translation might be available. Click
IBM Translated Product Documentation
to see what is available.
Setting the object types available when adding a media gallery
February 11, 2013
Set the default selection in the list of object types users can choose from when adding a media gallery to their community. The selection determines whether the media gallery will contain photos only, videos only, or photos and videos. All three options are always available; this property only controls which one is selected by default. For example, if your media galleries will only display photos you could set the default Photos only, and then users won't have to select it when they add a media gallery to their community. This is optional.
About this task
When a user opens their community and clicks
, and then adds a media gallery to the community, they see a dialog. In the
Use the media gallery to show
section of that dialog they can select the object types they want the media gallery to show: photos only, videos only, or both photos and videos. You can configure the default selection in this list.
Check out and open widgets-config.xml. See
Using the widgets-config.xml file for Communities
Specify the value attribute of the <item name="mg_typesToShow" value="photos_and_videos" /> element to be one of the following:
Photos and videos
option will be selected by default.
option will be selected by default and the media gallery will only allow uploading and viewing of photos.
option will be selected by default and the media gallery will only allow uploading and viewing of videos.
Check in widgets-config.xml.
Configuring media galleries
Media gallery widgets-config.xml definition
Edit the article to add or modify attachments.
Compare selected versions
Summary of changes
This version (1)
Feb 11, 2013 2:31:53 PM
Copy and paste this wiki markup to link to this article from another article in this wiki.