Skip to Content
0

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

Jun 23, 2017 at 06:14 AM

60

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Cathal Kelly
Sep 13, 2017 at 12:15 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded