and more in a single search tool across platforms. Read the announcement here. |
03/21/2024 10:17 AM
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.
But while running the SchemaImport, what should be the filename in SAV file?
I have tried the below as FILENAME, but didn't work!
FILENAME:
Any suggestions on how to handle the files from relative path?
Thanks
Harish
03/21/2024 12:40 PM
Hi @HarishG ,
Can you try renaming the file to Users_sftpimport.csv and use like below
#FILENAME=Users_sftpimport
03/21/2024 06:52 PM
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. |
try
FILENAME=Users_sftpimport
03/22/2024 12:43 AM
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
03/22/2024 01:36 AM
@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)
But I would suggest you to use the destination has 'DataFiles' ("eic_dest_dir":"DataFiles") in the SFTPFileconnector.
03/25/2024 08:08 AM
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
03/25/2024 07:44 PM
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