Skip to Content

How to java project (DC Type java) read a properties file on KM Path Sap Portal NW 7.4

Hi everyone,

i am a newbie working on sap NWDS 7.4. I have a question how can i read a properties file from KM .

i am using NWDS with Java

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 13, 2017 at 12:15 PM

    Hi Cuong,

    It's a little unclear but I presume when you say 'how you can read' a properties file from KM, you are referring to general (non-sap/km specific) usage of a properties file which is stored in KM?

    If so, I would direct you to the discussion found in the following location -

    https://archive.sap.com/discussions/thread/937788

    This example shows that within an application deployed in the portal, if having an IUser and Context objects, one can instantiate a KM resource then fetch it's content as a stream. Further usage of that stream is not NW/KM specific and is also present in the example.

    I hope this is of some use to you!

    Kind regards,

    Cathal

    Add comment
    10|10000 characters needed characters exceeded