Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Relative path for schema import

HarishG
Regular Contributor
Regular Contributor

Hi,

We are using SFTP connector to get the userimport file to Saviynt DataFiles location - we are using the relative paths for different user files.

HarishG_1-1711041173824.png

 

But while running the SchemaImport, what should be the filename in SAV file?

HarishG_0-1711041077953.png

I have tried the below as FILENAME, but didn't work!

FILENAME:

  • #FILENAME=/saviynt_shared/saviynt/Import/DataFiles/SFTPImports/TestFolder1/sftpuserimport.csv
  • #FILENAME=/SFTPImports/TestFolder1/sftpuserimport.csv
  • #FILENAME=SFTPImports/TestFolder1/sftpuserimport.csv
  • #FILENAME=/SFTPImports/TestFolder1/sftpuserimport

Any suggestions on how to handle the files from relative path?

 

Thanks

Harish

6 REPLIES 6

PremMahadikar
Regular Contributor III
Regular Contributor III

Hi @HarishG ,

Can you try renaming the file to Users_sftpimport.csv and use like below

#FILENAME=Users_sftpimport

 

rushikeshvartak
All-Star
All-Star

FILENAME

Specify the string that you want to add as a prefix to the name of the corresponding CSV file. In case multiple CSV files with the same prefix are uploaded, all the files are processed.

For example, if you specify Users for this property, then the CSV file name can be: Users1.csv, Users_Import.csv, Users_Import_2.csv, or any file name that starts with Users and has a .csv extension.

https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter03-User-Management/Uploading...

 

try 

FILENAME=Users_sftpimport


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

HarishG
Regular Contributor
Regular Contributor

Hi @PremMahadikar , @rushikeshvartak ,

Thanks for the reply.

I tried the below FILENAME=Users_sftpuserimport, but didn’t work.

FILENAME=Users_sftptuserimport - this will check if the file is present directly in DATAFILES.

But the file which we are trying to process is in the relative path

file location: DATAFILES > SFTPImport > TestFolder1 > sftpuserimport.csv

Any suggestions, on how to process files from relative paths?

Thanks,

Harish

PremMahadikar
Regular Contributor III
Regular Contributor III

@HarishG ,

I don't think there is any configuration to add the path on .SAV file. 

Try this, update the path to the relative path in externalconfig.properties (Once you update the file, please restart)

PremMahadikar_0-1711095889928.png

But I would suggest you to use the destination has 'DataFiles' ("eic_dest_dir":"DataFiles") in the SFTPFileconnector.

 

HarishG
Regular Contributor
Regular Contributor

Hi @PremMahadikar ,

Thank you for the reply.

But this would work for only 1 file location. we are looking for some solution to pick up files from relative path - by giving the file locations in respective SAV files.

Any idea how to use relative path as FILENAME in SAV file?

 

Thanks,

Harish

 

You can't use relative path, It will be static path for all Saviynt files. Please place all files in same location and keep different file name as per application name


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