Content Type Unknown for XPS and RTF files

We are trying to upload .xps and .rtf files to documentum and the a_content_type is getting saved as "unknown".
We are using DCTM REST Services to upload.

r_object_id object_name a_content_type
09013882817b7c52 req46507797tracking.xps unknown
09013882817b7c74 ThirdPartyNotices.rtf unknown
09013882817b7c43 Readme.txt atd

Also the text file content type is getting saved as "atd". Because of this unable to download these type of files.

Could you please help?

Comments

  • Create a new dm_format with name 'xps' and populate as many properties as you can (mime_type, dos_extension, etc). On the REST side, you need to adjust the rest-api -runtime.properties to enable MIME types to dm_format mappings. See the REST manual and rest-api-runtime.properties.template for details

  • @bacham said:
    Create a new dm_format with name 'xps' and populate as many properties as you can (mime_type, dos_extension, etc). On the REST side, you need to adjust the rest-api -runtime.properties to enable MIME types to dm_format mappings. See the REST manual and rest-api-runtime.properties.template for details

    Hi, Thank You for the response.

    Where can I find this file (rest-api-runtime.properties)?
    Tried looking in the tomcat folder of the server where the REST was installed, but could not find it.

    Your help is much appreciated!

  • Hi,

    I was able to find. It was under "dctm-rest.war\WEB-INF\classes".

    Thank You.