Skip to Content
author's profile photo Former Member
Former Member

Problem with creation of KM content

Dear community,

i have a strange problem when creating content in Km wia Web Dynpro. (I have read all the blogs, sdn forum posts and SAP documentation on that issue so far - means I know how to access the KM, store content, create folders, etc).

My problem is:

I create text-files in KM (ending: properties) which contain simple key-value pairs of Strings. The files get created and everything is fine but somehow the KM treats them as binary file (MIME Type: Binary File (text)) and won't recognize them as "text/plain" (or FORTRAN source file (text/plain) as KM loves to call it...).

I created them via:

Content aContent = new Content(in, "text/plain", in.available());

but the content-type gets dumped somewhere on the way through the depths of SAP EPs KM.

Does anyone have a glue on to tell KM programmatically to make my file occur as "text/plain" so I can display them like I'd like to in the Portal?

Thanks for your help!



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 02:07 PM

    i don't know if this helps.

    i assume you have file like & the mime type is assumed to binary instead of normal plain text file.

    Go System Admin -> System Config -> KM -> Content Management -> Utilities -> MIME Types ->

    Define new mime type with properties as text/plain

    Message was edited by:


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.