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

File Based Import Encoding Problem

HichamElk
New Contributor III
New Contributor III

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 

HichamElk_0-1720112003770.png

 


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.

HichamElk_1-1720112036002.png

 

Could you please help us correct this problem?

11 REPLIES 11

rushikeshvartak
All-Star
All-Star
  • Use database functions to remove accent characters 

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

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

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

Did you added preprocessor JSON during import? 


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

We did it this way, 

HichamElk_0-1720185696367.png

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

HichamElk_1-1720185772647.png

 

Share logs


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

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

Once you upload files share logs for last 3 minutes 


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

You can find the export of the last 3 minutes here 

 

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)"]}

 


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