and more in a single search tool across platforms. Read the announcement here. |
07/04/2024 09:54 AM
Hello,
We have a problem when we import users from a file based import.
Users with a first or last name with an accent are incorrectly displayed on Saviynt.
Example: José / Chloé
At first we had special characters instead of accents like this
So we converted our file to UTF-8 and reimported it into Saviynt, but now a black diamond with a question mark appears instead of the accent.
Could you please help us correct this problem?
07/04/2024 04:33 PM
07/05/2024 12:39 AM
Hi,
Could you detail how to do it please ?
Use database functions from the Saviynt application ? What type of request to do ?
Because I have 1800 users and I can't check manually what users are badly encoded
Thanks
07/05/2024 03:09 AM
@HichamElk Refer below doc
07/05/2024 06:11 AM
Ok,
So we tried using this :
{
"ADDITIONALTABLES":
{
"USERS": "SELECT username, firstname, lastname, displayName FROM USERS"
},
"COMPUTEDCOLUMNS":
[
"username",
"firstname",
"lastname",
"displayName"
],
"PREPROCESSQUERIES":
[
"UPDATE NEWUSERDATA SET firstname = FN_EIC_REPLACE(NEWUSERDATA.firstname, null)",
"UPDATE NEWUSERDATA SET lastname = FN_EIC_REPLACE(NEWUSERDATA.lastname, null)",
"UPDATE NEWUSERDATA SET displayName = FN_EIC_REPLACE(NEWUSERDATA.displayName, null)"
]
}
We entered this json in the part User Pre-Processor Config JSON in the page User File Based Import. Also our CSV file that contains those columns :
username,firstname,lastname,DisplayName
Selected First Row as Heading YES and then clicked on Upload and Preview
The preview still shows the special caracters.
Are we doing it good or is there any mistake ?
Thanks
07/05/2024 06:18 AM
Did you added preprocessor JSON during import?
07/05/2024 06:23 AM
We did it this way,
We completed every field then clicked on upload and preview. Does it answer the question ?
We haven't Imported as we don't see changes in the preview
07/05/2024 06:29 AM
Share logs
07/05/2024 06:43 AM
Could you help us finding the logs of the preview import
We dont' find anything related to it
Do you have any keyword to search or anything ?
Thanks
07/05/2024 06:48 AM
Once you upload files share logs for last 3 minutes
07/05/2024 06:52 AM - edited 07/05/2024 07:27 AM
07/05/2024 01:57 PM
Try with below JSON
{"ADDITIONALTABLES":{"USERS":"SELECT username, firstname, lastname, displayName FROM USERS"},"COMPUTEDCOLUMNS":["username","firstname","lastname","displayName"],"PREPROCESSQUERIES":["UPDATE NEWUSERDATA SET firstname = FN_EIC_REPLACE(NEWUSERDATA.firstname, null)","UPDATE NEWUSERDATA SET lastname = FN_EIC_REPLACE(NEWUSERDATA.lastname, null)","UPDATE NEWUSERDATA SET displayName = FN_EIC_REPLACE(NEWUSERDATA.displayName, null)"]}