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!
regards,
christian

i don't know if this helps.
i assume you have file like  server.properties & 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:
        Anant

Similar Messages

  • Problem with creation of jar with external libraries

    hi guys, I've no problem with creation of jar,i use this command:
    jar -mcf MANIFEST.MF NameFile.jar *.class
    my file manifest is this:
    Manifest-Version: 1.0
    Created-By: Me
    Main-Class: NameFile
    Now,I've to make a jar file,but i have to use some external libraries in jar format.
    I've read on sun tutorial and i've added to manifest this line:
    Class-Path: dt.jar formshelp.jar formsrt.jar jh.jar looks-1.3.1.jar substance.jar TableLayout.jar
    But the jar file doesn't work, neither with a double click nor with console...
    Someone can help me?Thanks!:)

    Darkweb wrote:
    sorry but,the external libraries that i use are in .jar,what i've to do to include these libraries in my jar?One of 3 things
    1) Take them out of the jar, and put them in a folder, preferably a folder in the same folder as the jar
    2) Write a custom classloader to load classes from nested jars
    3) Extract the contents of all the dependency jars, and jar them all up with your own code
    The first is almost always the most preferable, the second one is doable but brittle and resistent to updating dependencies ( you have to release everything for any changes you need, even if it's not a change in your own code ) and the third one is tedious and suffers from the same robustness problems of the second, not to mention that a lot of software licences prohibit you from actually doing it. Do the first one, it's by far the most common and easiest to maintain. I really wouldn't advise the third option, ever, though. Any activity that reduces the modularity of your application is ill-advised

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Problem with Creation of TemSe file...

    HI Experts...
    Here im facing the problem with creation of # 3 rd Quarters
    Temse file.when ever i use the tcode pc00_m40_f24 and entering the details of quater 3 ...here im showing up the ABAP Runtime error."""Overflow for arthimitic operation Type P in program  HINCF240"".
    What could be done to overcome the problem.Please advice.
    Regards,
    V Sai.

    Hi experts/Sriram...
    Thanks for the reply.
    The -
    >showing the line....
            QS80_TAB-DEDMT=QS80_TAB-DEDMT+S80-DEDMT
    Where should we change to get rid of this runtime error.
    Here in my quality everthing is fine and we have uploaded patches in quality upto recent one sp80.But in prod. the patchlevel is sp71.Will it be the reason.
    Please advice me on this as i have to complete the issue of F16.
    Thanks and Regards,
    V Sai.

  • There is any Performance problem with Creation of many Y or Z  Programs.

    HI,
    There is any Performance problem with Creation of many Y or Z  Programs. plz give clarity regarding this to me......
    regards
    ganesh

    Ganesh,
    Can you please mention the context and the purpose of creating these custom program.  And application are you referring to?
    Regards,
    Rohit

  • I am having problems with video and high content webpages freezing.  I am also getting pixel lines across my webpages.  Maybe two or three lines.  I was running os 10.4 but I just up graded to 10.6 the other day.  I have 2GB of RAM.

    I am having problems with video and high content webpages freezing.  I am also getting pixel lines across my webpages.  Maybe two or three lines.  I was running os 10.4 but I just up graded to 10.6 the other day.  I have 2GB of RAM.

    Exactlly which model iMac do you have?
    see > How to identify iMac models
    Unfortunately that is not all that uncommon for the Early Intel iMac's given there age and the fact that the air intakes are probably choked with dust. Then add the extra heat caused by running a more intense OS X which is causing it to run a little warmer than normal and putting extra stress on the graphic and display components.
    My 6½ year old 17" Early 2006 Core Duo w/2GB of RAM is also running 10.6.8 and is also starting to get a single line that (knock on wood) goes away after a few minutes, while many others started getting permanent ones after 2 or 3 years. One thing that I think has helped, is that about every 3 or 4 months I shutdown and vigorously vacuum out the bottom grill work and small vent under the stand to keep it running cool.
    On that note: unfortunately I can only suggest that you clean your intake vents and hope that no permanent or irreversible damage has been done.

  • Problem with 661FM-L Running Content Creation

    I've been trying to run a session of Content Creation 2003 on this board all day. It continues to error out with the following error
    Winstone 2003 Timeout
    Please close the Premier application and then press OK.
    According to their web site it's a problem with the nVidia driver. However, the stated problem is two years old and the driver they recommend is badly outdated. I initially saw this error with the MSI MX4000 video card installed, then I removed that and now I'm running it with the embedded video only.
    Still getting the message.
    Any thoughts?
    Thanks,

    Update your DirectX to ver 9.0b through http://www.microsoft.com and update to the latest  nVidia Drivers for your Video card.

  • Problem with layout and changing content

    Hi, I`m new to Swing and I have a problem with layout.
    I want to make a menu using JButtons so that depending on which button you click you`ll get different content in the window. And first of all I don`t know how to center the buttons.
    I have a JFrame called GameWindow that has a JPanel field called content. My idea was to create a JPanel with buttons and then using ActionListeners change the JPanel held in 'content'.
    Here`s the code:
    public class GameWindow extends JFrame{     
         private static final long serialVersionUID = 1L;
         private JPanel content;
         private Player player;
         public GameWindow(){          
              super("Dawn Crystal");
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
              setSize((int)screenSize.getWidth(), (int)screenSize.getHeight());
              setExtendedState(MAXIMIZED_BOTH);
         public void mainMenu(){
              content = new MainMenu(this);
              Dimension dim = content.getSize();
              setLayout(null);                    
              Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
              int x = (int)((screen.getWidth() - dim.getWidth()) / 2);
              int y = (int)((screen.getHeight() - dim.getHeight()) / 2);
              int dimX = (int)dim.getWidth();
              int dimY = (int)dim.getHeight();          
              content.setBounds(x, y, 120, 120);          
              getContentPane().add(content);          
              setVisible(true);
         public void adventureScreen(){
              //so far empty
         public void createNewPlayer(){
              content.setVisible(false);
              content = new NewPlayerCreationWindow();
              getContentPane().add(content);          
              content.setVisible(true);
              //setVisible(true);
         public void setPlayer(Player p){ player=p; }
    public class MainMenu extends JPanel{     
         private static final long serialVersionUID = 1L;     
         private JPanel mainMenuButtons;
         private JButton newGame;
         private JButton loadGame;
         private JButton options;
         private JButton exit;
         public MainMenu(GameWindow par){
              mainMenuButtons = new JPanel();     
              //create buttons
              newGame = new JButton("NEW GAME");
              loadGame = new JButton("LOAD GAME");
              options = new JButton("OPTIONS");
              exit = new JButton("EXIT");
              //create action listeners
              newGame.addActionListener(new NewGameListener());
              exit.addActionListener(new ExitListener(par));     
              //add buttons to panel
              mainMenuButtons.setLayout( new GridLayout(4,1));
              mainMenuButtons.add(newGame);
              mainMenuButtons.add(loadGame);
              mainMenuButtons.add(options);
              mainMenuButtons.add(exit);     
              add(mainMenuButtons);          
    }When it displays the buttons are at the top of the frame rather than in the center - I thought that was how the default layout would behave. So that`s my first question - how to center it.
    Secondly I have NewPlayerCreationWindow written but when I call createNewPlayer() I get an empty frame - what am I doing wrong?
    Finally I`d like to ask how can I make the frame appear as maximized when the application is started? The setExtendedState(MAXIMIZED_BOTH); doesn`t help actually because the window`s height is too big and a part of window is hidden under the system bar. I want to have it maximized regardless of screen resolution.

    Use a [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Card Layout.

  • Problems with Mail. No content shown.

    I have a problem with Mail on my iMac OSX 10.9.5. Mail downloads the message ok but message has no content. I click on the message but no content is shown. This happens in all the boxes and includes emails that have previously opened. When I reply to one of these messages the content is shown in the reply window. So everything works fine except when highlighting each email it tells me NO Message Selected. I hope I have explained that well enough. I hope there is someone that can help.
    I have been trying to solve it for about 5 hours. Help please!

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - Mavericks
    Safe Mode - About

  • Problem with automatic table of contents Level headings

    I am having trouble with the Table of contents in Adobe Indesign. When I create my automatic table of contents one of the Level headings that is supposed to appear under Chapter 1 instead appears under the Introduction heading. On the actual page where the heading paragraph styles have been defined the 2nd Level heading is as it should be underneath Chapter 1. So what I end up having to do is move them manually in the TOC. But I don’t want to have to do this and it would be great if Indesign instead did the automatic table of contents correctly.
    I wonder if it has anything to with the fact that our template is set up with headings (that sit outside the body text to the left) as text boxes which we place inside the main body text box (they have anchored object settings on them so the heading sits off to the side).  Whilst the anchored text box is exactly in the right sequence, maybe indesign senses and reads the anchored text box last?
    I have an example of the file and the problem that is occurring in the pdf, it can be downloaded from:
    Is there a solution to this?  If anyone has any ideas I would be very grateful.

    I've been playing with this for a while, and quite honestly I don't understand why it's doing things the way it is. It's working correctly on Page 11, which seems to me to have exactly the same structure, except for the subtitle. It also works correctly if I copy the frames from page 14 and paste into a new doc.
    Things I tried that did not work: Export as .inx and move the pages to a new doc. You might try copying the text and pasting into a new doc.

  • Problems with linking to private content?

    Soon after we moved our publically-accessible content into the Public Site Manager, the links to our private content stopped working. Even repeating the "Copy Link" in iTunes does not result in a link that works. I've already posted about our as of yet unsolved problem in this thread:
    https://discussions.apple.com/message/15613873
    I was wondering if anyone else in the community has had a similar problem? We have an old-style Apple-host iTunes U store, I don't know if that has been a factor or not.

    The problem got fixed with no action on our part, and no explanation from Apple as to what had gone wrong or what fix was performed. The discussion has taken a few hops, ending up here:
    http://discussions.apple.com/thread/3196705
    Hopefully your problem with be resolved quickly, and with more transparency.

  • Problem with creation of site (SMWP)

    Hi All
    I am currently working on SAP SRM 7.0 , middleware settings for master data replication from SAP ECC to SRM.
    I am facing a strange issue. when I try to create a site for backend ECC system in transaction SMWP. When I click on site attributes for typr R/3 and give the ECC RFC destination , system throws an error "Logical System is not defined in target system".
    I have checked multiple times in ECC and SRM ALE settings where logical system for SRM and ECC is correctly defined. There seems to be no problems with RFC connections  also in both ECC and SRM as I am able to remote log in.
    Kindly let me know what could be the possible reason for this issue
    Awaiting your reply
    Pawan Keshwani

    Hi Nikhil
    Thanks for your prompt reply. I have already checked this blog although I have doubts with my system Landscape definition.
    While defining system landscape in "SPRO-> SRM Server-> Technical Basic settings->Define System Landscape" there are two attributes System Lanscape Directory Name and system Type. I might have put wrong information here.
    Can you plz let me know what do you put in these fields? Is this information provided by BASIS team during installation?
    Regards
    Pawan

  • Problems with creation of an HEAP Dump

    Dear all,
    I have tried to create a HEAP Dump (CntrBreak) with the Java-based SAPMC Console (Process Table => server<no.> => DumpStack, but I get no dump on operation system (/usr/sap/<SID>/JC01/j2ee/cluster/server0/). I set the parameter -XX:HeapDumpOnOutOfMemoryError -XX:HeapDumpOnCtrlBreak in the VM. Our Java version is 1.4.12, the OS is Sun Solaris.
    Did anyone know why it not functioned in our solution?
    Many thanks in advanced.
    Patrick

    Hi,
    The Java based MC should provide the same functionality as the MMC. I tested today to trigger a heap dump as you have described and I had success.
    As the "Dump Stack" action is a protected one, the user should be asked for user/pass. Is it also for you so?
    And I have found several notes describing problems with the authentication of the sapstartsrv user on different unix platforms. As there is no action at all logged in your case, I guess that this could be the problem.
    Here are the notes I found:
    [Note 927637 - Web service authentication in sapstartsrv as of Release 7.00|https://service.sap.com/sap/support/notes/927637]
    [Note 992907 - sapstartsrv user authentication on Solaris|https://service.sap.com/sap/support/notes/992907]
    I hope this helps.
    Have you tried already to perform the action from an MMC?
    Regards,
    Krum

  • Problem with Sender Adapter File Content Conversion

    Hi all!
    I have a question about file content conversion in sender file adapter.
    I have file like:
    {field1
    field2
    field3
    field4
    $
    {field5
    field6
    field7
    field8
    And i need to get file like:
    <dealings>
    <deal>
    <field1>{field1</field1>
    <field2>field2</field2>
    <field3>field3</field3>
    <field4>field4</field4>
    <field5>-}*</field5>
    </deal>
    <deal>
    <field1>{field5</field1>
    <field2>field6</field2>
    <field3>field7</field3>
    <field4>field8</field4>
    <field5>-}*</field5>
    </deal>
    </dealings>
    I put content conversion parameters:
    deal.fieldSeparator = $
    deal.fieldNames = field1,field2,field3,field4,field5
    And i get a file like:
    <ns:mt_swift_file>
    <dealings>
    <deal>
    <field1>{field1</field1>
    </deal>
    <deal>
    <field1>field2</field1>
    </deal>
    <deal>
    <field1>field3</field1>
    </deal>
    <deal>
    <field1>field4</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    <deal>
    <field1/>
    </deal>
    <deal>
    <field1>{field5</field1>
    </deal>
    <deal>
    <field1>field6</field1>
    </deal>
    <deal>
    <field1>field7</field1>
    </deal>
    <deal>
    <field1>field8</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    </dealings>
    </ns:mt_swift_file>
    What i do wrong?
    As i understand, XI put string to a separate tag after symbol 'nl', but how can i get structure without unnecessary tags?

    Hi,
    Check some links for FCC
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani

  • Problem with adobe flash player content

    Hello Everybody,
    I'm using an 'ActiveBook & DVD' (for English Language Teaching) that uses adobe flashplayer audio -
    when the ActiveBook is open (from the DVD) I have the following problem:
    if I click on any audio file button in the ActiveBook (ebook) the a.flashplayer window asks for permission to use 'local storage' with a 'yes or no' window which when clicked promptly 'freezes the active screen and the crashes it' (not very helpful in class) meaning that no audio files are available for use at any time.  
    Any ideas on how to resolve this issue would be gratefully received. Thankyou.
    Chaang
    MacBook Pro (2011) OSX Lion (10.7.4)

    Thanks for the response, but I'm acessing DVD content - not any website online.
    It's the DVD's flashplayer (ver. 10.00xxxx) that freezes the DVD and makes the audio data inaccessible.
    The short fix is to play the audio files separately from another program, but I'd prefer to have just the DVD on its own.
    Just to clarify, I've sent an email to the technical support of the DVD producer, we'll see if they can resolve it.
    Thanks Again.

Maybe you are looking for