Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

custom .properties file reading in java class

IAM_99
Regular Contributor II
Regular Contributor II

Hi Team,

How/where to load custom.properties file to refer in java program ?

We have added entry to existing properties - externalconfig.properties but we are not able to read, any idea ?

 

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

https://www.tutorialspoint.com/how-to-read-the-data-from-a-properties-file-in-java 

or refer below saviynt code 

https://saviynt.freshdesk.com/helpdesk/attachments/43130171124


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

Let me rephrase my question- where to upload 'abc.properties' file in Saviynt UI ?

You can use anywhere here so u get UI feature . Better to use externalJar or Connector folder

rushikeshvartak_0-1667400061090.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

Everywhere its not allowing .properties type, is it working for you ?

IAM_99_0-1667405770688.png

 

same here. Please upload in as part of jar code & update


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.