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
1 -
@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 detailsHi, 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!
0 -
Hi,
I was able to find. It was under "dctm-rest.war\WEB-INF\classes".
Thank You.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management