m (1 révision importée) |
m (1 révision importée) |
||
Ligne 1 : | Ligne 1 : | ||
=Bulk Import/Export of Agent Data= | =Bulk Import/Export of Agent Data= | ||
− | |||
To create or modify large numbers of agents, you upload a [[CSVFile|comma-separated value (CSV) file]] containing new and changed agent information. You enter or modify values in the appropriate columns for the agent. When uploaded to GAX, the agents listed in the file are created or modified, based on the action to be taken as indicated in the Action column. | To create or modify large numbers of agents, you upload a [[CSVFile|comma-separated value (CSV) file]] containing new and changed agent information. You enter or modify values in the appropriate columns for the agent. When uploaded to GAX, the agents listed in the file are created or modified, based on the action to be taken as indicated in the Action column. | ||
Ligne 8 : | Ligne 7 : | ||
{{NoteFormat|You might want to create various templates that fit scenarios specific to your operations.|2}} | {{NoteFormat|You might want to create various templates that fit scenarios specific to your operations.|2}} | ||
+ | {{AnchorDiv|empty}} | ||
==Creating an Empty Template== | ==Creating an Empty Template== | ||
An empty template contains all of the mandatory columns plus column headers that you specify. It does not include any data—that is for you to fill in. | An empty template contains all of the mandatory columns plus column headers that you specify. It does not include any data—that is for you to fill in. | ||
Ligne 29 : | Ligne 29 : | ||
</toggledisplay> | </toggledisplay> | ||
+ | {{AnchorDiv|export}} | ||
==Exporting Data== | ==Exporting Data== | ||
GAX allows you to export data from existing data records. If you are modifying the spreadsheet to use as a template, save it as a CSV after making the appropriate changes, and upload it into GAX. | GAX allows you to export data from existing data records. If you are modifying the spreadsheet to use as a template, save it as a CSV after making the appropriate changes, and upload it into GAX. | ||
Ligne 45 : | Ligne 46 : | ||
</toggledisplay> | </toggledisplay> | ||
+ | {{AnchorDiv|upload}} | ||
==Uploading a File== | ==Uploading a File== | ||
Before uploading the bulk updates, you must enter the data into a spreadsheet and save it as a CSV file. Do this in one of two ways: | Before uploading the bulk updates, you must enter the data into a spreadsheet and save it as a CSV file. Do this in one of two ways: | ||
Ligne 50 : | Ligne 52 : | ||
* [[ImpExp#Exporting_Data|Export existing data]] and make the necessary additions and changes—This is probably the best way if you are primarily making changes to existing agents. You can export the information for just those agents, saving you from filling in the mandatory information for them. | * [[ImpExp#Exporting_Data|Export existing data]] and make the necessary additions and changes—This is probably the best way if you are primarily making changes to existing agents. You can export the information for just those agents, saving you from filling in the mandatory information for them. | ||
− | See the example of a prepared spreadsheet and CSV file [[CSVFile# | + | See the example of a prepared spreadsheet and CSV file [[CSVFile#eg|here]]. |
Now go ahead and upload the data into GAX. | Now go ahead and upload the data into GAX. | ||
Ligne 60 : | Ligne 62 : | ||
|Steps=<ol> | |Steps=<ol> | ||
<li> Click '''Import''' in either the Agents window or in the History window.</li> | <li> Click '''Import''' in either the Agents window or in the History window.</li> | ||
− | <li> | + | <li> {{AnchorDiv|st2up}}Click '''Select File''' and, using the file browser, select your CSV file.</li> |
<li> Click '''Upload Spreadsheet'''. GAX starts validating the file, and displays its progress. You can either click '''Close''' to close the window, or you can monitor the progress from here. Even if the window is closed, processing will continue and can be monitored in the [[History|History window]]. | <li> Click '''Upload Spreadsheet'''. GAX starts validating the file, and displays its progress. You can either click '''Close''' to close the window, or you can monitor the progress from here. Even if the window is closed, processing will continue and can be monitored in the [[History|History window]]. | ||
<ul> | <ul> | ||
<li> If the '''Spreadsheet is Valid''', click '''Continue''' to start the upload.</li> | <li> If the '''Spreadsheet is Valid''', click '''Continue''' to start the upload.</li> | ||
− | <li> If the dialog box displays one or more errors, open your file in a new window and fix the errors. Then repeat this process starting at [[ | + | <li> If the dialog box displays one or more errors, open your file in a new window and fix the errors. Then repeat this process starting at [[ImpExp#st2up|step 2]].</li> |
</ul></li> | </ul></li> | ||
<li>GAX starts processing the records and displays the progress. If necessary, you can do either of the following at any time: | <li>GAX starts processing the records and displays the progress. If necessary, you can do either of the following at any time: |
Version du avril 14, 2017 à 21:09
Sommaire
Bulk Import/Export of Agent Data
To create or modify large numbers of agents, you upload a comma-separated value (CSV) file containing new and changed agent information. You enter or modify values in the appropriate columns for the agent. When uploaded to GAX, the agents listed in the file are created or modified, based on the action to be taken as indicated in the Action column.
GAX enables you to create spreadsheet templates for this purpose. You can create an empty template containing only column headers, or you can export data from existing agent records. The exported spreadsheet can be modified and then imported into GAX again for creation or update of agent records.
Creating an Empty Template
An empty template contains all of the mandatory columns plus column headers that you specify. It does not include any data—that is for you to fill in.
Exporting Data
GAX allows you to export data from existing data records. If you are modifying the spreadsheet to use as a template, save it as a CSV after making the appropriate changes, and upload it into GAX.
Uploading a File
Before uploading the bulk updates, you must enter the data into a spreadsheet and save it as a CSV file. Do this in one of two ways:
- Create an empty template and fill in the appropriate values—This is probably the best way if the majority of your updates are adding new agents.
- Export existing data and make the necessary additions and changes—This is probably the best way if you are primarily making changes to existing agents. You can export the information for just those agents, saving you from filling in the mandatory information for them.
See the example of a prepared spreadsheet and CSV file here.
Now go ahead and upload the data into GAX.
Script Actions
For new users:
- Create a new Person with specified properties in the specified Folder.
- Associate the new Person with the specified Access Groups.
- Associated the new Person with the specified Agent Groups.
- For Agents, add the specified Skills.
- For Agents, do the following:
- If the Extension field is not specified, create and associate Agent Logins on all specified Switches with the Login Code equal to the Username of the Agent. Agent Logins are created in the Switch Agent Logins folder of the same folder hierarchy specified for the Person object in the Folder property.
- If the Extension field is specified, a new Place is created with the name equal to the Username of the Agent. Extension DNs are created with the number corresponding to the Extension field on all specified Switches. Agent Logins are created and associated with all specified Switches that have a Login Code equal to the value of the Extension field. All objects are created under their corresponding root folders using the same folder hierarchy as specified for the Person object in the Folder property.
For existing users:
- Username and Is Agent fields must be populated in the input file identify the Person.
- All other fields are optional.
- If an optional field is defined, its value is compared to the existing value and, if different, updated for that Person.