Importing object types after updating 

You must import the default photo and video object types provided with IBM Connections to enable media galleries in IBM Connections deployments.

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 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.


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:

        where <app_server_root> is the WAS installation directory and <files_profile_root> is the Files profile directory.

    2. Enter the following command to start the wsadmin client:

      • AIX or Linux:

          ./ -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>


        • <admin_user_id> is the user name of a person in the Administrator role on the IBM WAS.

        • <admin_password> is the password of the WAS administrator.

        • <SOAP_CONNECTOR_ADDRESS Port> is the SOAP port for the WAS. 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 WAS Integrated Solution Console. To look up the SOAP port number, perform the following steps:

          1. Open the WAS Integrated Solution Console for the deployment manager, and then select System Administration -> dmgr.

          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:

            ./ -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. Run the following commands to import the default object type definitions:



  4. Run the following command to check that the new object type was imported. The command returns a list of all object types:


  5. Restart the Files application.


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

Parent topic

Post-update tasks

September 19, 2011 9:58:44 AM


Sep 19, 2011 9:58:44 AM 1 Submitted by Alessandro Brolpito on Jun 1, 2011 6:42:13 AM

Re: Importing object types after updating : ic301

Test performed 01/06 with IE 8.x

The solution works, applying the fix I can load e.g. a picture yet when I click on it the focus goes on the media item selected; Then clicking on "< back to media gallery" on top it doesn't work (it remains on the same screen) and at the bottom it appears a section keeping on loading...

Submitted by Jason English on Apr 28, 2011 9:40:48 AM

Re: Importing object types after updating : ic301

The paths given in the article are correct. That is where the files are places after the installation has run. Maybe you haven't run the installation yet, or it didn't complete?

Submitted by Martin Rolph on Apr 9, 2011 3:53:34 PM

Media..xml files in difference place

In my install I found these files here..