TypeAheadManage
Allows you to manage the dictionary for the TypeAhead action. You can use it to add, remove, and modify terms in the configured dictionary file.
You must set Mode to specify the TypeAhead mode that you want to update, and ManageMode to specify the type of change you want to make.
When you set Mode to add
, remove
, or edit
, you must also specify one of Text or ManageFile to specify the changes that you want to make to the dictionary file.
Example
http://12.3.4.56:16000/action=TypeAheadManage&Mode=Dictionary&ManageMode=add&Text=sample,5;sandwich,15
This action adds the words sample and sandwich to the type ahead dictionary file.
Required Parameters
The following action parameters are required.
Parameter | Description |
---|---|
ManageMode | The type of change that you want to make to the dictionary. |
Mode | The TypeAhead mode that you want to update. |
Depending on the value of Mode, you might need to set one of the following parameters.
Parameter | Description |
---|---|
ManageFile | A file that contains the changes that you want to make to the dictionary. |
Text | The changes that you want to make to the dictionary. |
Optional Parameters
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |