Import keywords from CSV files
Kun slutbruger-hjælpen er for tiden oversat til dansk. Hjælp til installation og administration af Zylinc-løsninger er for tiden på engelsk.
Dette emne er fortrinsvis for administratorer og/eller folk som bestyrer en Zylinc-løsning
- You can import a CSV file (a file that contains comma-separated values) to your Zylinc solution to override contents of Active Directory (AD) fields, without the need to update the directory
- You can import a CSV file to add data to your Zylinc solution, without the need to add the data to the directory

You can add searchable keywords to users after the users have been imported to your Zylinc solution from AD.
In this example, you'll create and use a CSV file to add three keywords (Sales, Marketing, and Account manager) to the user ZylincAgent1. Note that the keyword Account manager contains a space.

In this example, you're going to use SamAccountName for the mapping because it works for contacts. If you use userPrincipalName, it'll not work for AD contacts.
On the Zylinc Windows Application Server:
-
Create a new directory C:\Zylinc CSV
-
Create a new text file C:\Zylinc CSV\SamAccountNames and keywords.csv
-
Open the file in Notepad.
-
Open SQL Server Management Studio, and connect to the SQL server that hosts ZyDB.
-
Click New Query, then copy and paste the following SQL code into the query window, and replace ZyDB with the name of your ZyDB database:
Kopieruse ZyDB select 'DisplayName;SamAccountName;CommaSeparatedListOfKeywords' union select display_name + ';'+nt_account+';' from usr as u join usr_type as ut on u.usr_type_id=ut.usr_type_id where ut.name='Person' and nt_Account<>'Administrator_0'
-
Press CTRL+D (or click the button Results to Grid).
-
Press F5 (or click Execute).
-
In Results, press CTRL+A to select all the returned rows in the grid, and then make a copy of all the rows.
-
Paste the results into the Notepad window. The results should look similar to:
DisplayName;SamAccountName;CommaSeparatedListOfKeywords
ZylincAgent1;ZylincAgent1; -
Add the keywords Sales,Marketing,Account manager to the end of the line for the relevant user, after the semicolon. The CSV file should now look like:
DisplayName;SamAccountName;CommaSeparatedListOfKeywords
ZylincAgent1;ZylincAgent1;Sales,Marketing,Account manager -
Save the CSV file.

- In the Administration Portal menu, select NETWORK > Directory Settings
- Select Import CSV keyword
- In Delimiter, enter ; (that’s a semicolon)
- Select Headers
- In CSV File Path, enter C:\Zylinc CSV\SamAccountNames and keywords.csv
- In Keyword CSV column, enter 3
- In Separator, enter , (that’s a comma)
- In DB Key CSV Column, enter 2
- In Key, select NT Account (NT Account means SamAccountName)
- Click Save
- Click Reinitialize

-
Restart ZyDesk
-
In the search field, enter account_manager
Use an underscore when you search for a keyword that contains a space.
The search should return your user.
If the CSV keyword import doesn't work, there's a log file in the same folder as the CSV file. You can open that log file to view error messages about the import and diagnose any problems.
Dette er hjælp til Zylinc version 6.5. Du kan vælge hjælp til andre versioner her.
© 2021 Zylinc A/S • Ansvarsfraskrivelse
Zylinc unified help har vundet UK Technical Communication Awards
Hjælpeversion: 24 februar 2021 15:41:38
Del denne side med andre: