Close popover
Sandra Azoulay (SandraA0)
Conceptor Developer
SandraA0 Member since 2017 7 posts
Posted: May 7, 2018
Last activity: May 7, 2018


Hello everybody:-),
I have to get properties from custom classic properties files, so I tried to use getJavaPropertyFromFile, but I failed to do it. To test I put such a file in Pega tempdir, I can see it, but getJavaPropertyFromFile function don't seem to see it.
The only file I succeeded to read with getJavaPropertyFromFile is the, although I don't know where it is and I didn't had to indicate a directory (I tried this file just to test because I know it exists in java projects).
So I've coded a little java function to read my files and I call it in a Datatransform, it works very well but I'd rather use getJavaPropertyFromFile because I think it is done to do it, but it seems I don't know how to use it correctly.
What surprises me is that the only file I can read with getJavaPropertyFromFile is a file I don't see myself, so I think perhaps properties files have to be in a particular directory, or maybe specified in java classpath?
I don't know... Do you have an idea?
Thanks in advance for your help!

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.