Skip to main content link. Accesskey S
  • HCL Logo
  • HCL Connections On-Premise Wiki
  • THIS WIKI IS READ-ONLY.
  • HCL Forums and Blogs
  • Home
  • API Documentation
Search
Community Articles > FAQs > Importing default media gallery object types
  • Share Show Menu▼

Recent articles by this author

Importing default media gallery object types

You must import the default photo and video object types provided with IBM® Connections to enable media galleries in Connections deployments. This step is mandatory when Connections Files is installed.

Using Search - Connections 4

This video shows you how to perform an advanced search to find information that is relevant to you.

Video: Using Connections 4

This video provides an overview of some of the valuable capabilities found in Connections 4.

Using Profiles - Connections 4

Watch this Connections video to learn how to use Profiles to find people with a certain expertise, share information about your own skills and interests, or build a network of contacts.

Using Forums - Connections 4

This video shows you how to use some of the latest features of Forums in Connections.
Community articleImporting default media gallery object types
Added by ~Pippy Xanfootexings on September 12, 2012 |
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
You must import the default photo and video object types provided with IBM® Connections to enable media galleries in Connections deployments. This step is mandatory when Connections Files is installed.



You must import the default photo and video object types provided with IBM® Connections to enable media galleries in IBM Connections deployments. This step is mandatory when Connections Files is installed.

About this task

Object types are defined in XML according to the Content Management Interoperability Services (CMIS) standard. Detailed documentation for the CMIS standard can be found at the http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis" target="external">Oasis CMIS web site.

IBM Connections provides two default object type XML definition files: MediaPhoto.xml defines a photo type, and MediaVideo.xml defines a video type. In multi-node clustered environments, these files are installed on each node. You must import them on the computer that the Files application is installed on, and then restart Files. In stand alone environments import the files on the single server, and then restart Files.

Procedure

Perform the following steps to import the default object types.
  1. Start the wsadmin client by completing the following steps:
    1. On the system Files is installed on, open a command prompt, and then change to the following directory:
    2. Directory path conventions ic301Create New Article\profiles\<files_profile_root>\bin

      where <app_server_root> is the WebSphere Application Server installation directory and <files_profile_root> is the Files profile directory.
    3. Enter the following command to start the wsadmin client:
      • AIX or Linux:
      • ./wsadmin.sh -lang jython -user <admin_user_id> -password <admin_password> -port <SOAP_CONNECTOR_ADDRESS Port>

      • Microsoft Windows:
      • wsadmin -lang jython -user <admin_user_id> -password <admin_password> -port <SOAP_CONNECTOR_ADDRESS Port>

      where:
      • <admin_user_id> is the user name of a person in the Administrator role on the IBM WebSphere® Application Server.
      • <admin_password> is the password of the WebSphere Application Server administrator.
      • <SOAP_CONNECTOR_ADDRESS Port> is the SOAP port for the WebSphere Application Server. The default value of the SOAP port is 8879. If you are using the default port value, you do not need to specify this parameter. If you are not using the default and you do not know the port number, you can look up its value in the WebSphere Application Server Integrated Solution Console. To look up the SOAP port number, perform the following steps:
        1. Open the WebSphere Application Server Integrated Solution Console for the deployment manager, and then select System Administration -> Deployment Manager.
        2. In the Additional properties section expand Ports, and then look for the SOAP_CONNECTOR_ADDRESS port entry to find the port number.
      For example:
      • AIX or Linux:
      • ./wsadmin.sh -lang jython -username primaryAdmin -password p@assword -port 8879

      • Microsoft Windows:
      • wsadmin -lang jython -username primaryAdmin -password p@assword -port 8879

  2. Start the Files Jython script interpreter using the following command:
  3. execfile("filesAdmin.py")

  4. Run the following commands to import the default object type definitions:
  5. FilesObjectTypeService.importType("config/bin_lc_admin/MediaPhoto.xml")


    FilesObjectTypeService.importType("config/bin_lc_admin/MediaVideo.xml")

  6. Run the following command to check that the new object type was imported. The command returns a list of all object types:
  7. FilesObjectTypeService.browseTypes()

  8. Restart the Files application.

Results

Community owners can select the object types when they add media gallery widgets to their communities. See Adding a media gallery to your community.

Parent topic: Configuring media galleries ic301Create New Article

Related concepts
Configuring media galleries ic301Create New Article

Related tasks
Starting the wsadmin client ic301Create New Article
Adding a media gallery to your community ic301Create New Article

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (0)Sep 12, 2012, 2:22:43 PM~Pippy Xanfootexings  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility