9. Editor Configuration and Nixxis Plugin
Connect to the escript editor cloud platform (with the username as a prerequisite)
If not script present, we need to so as to access the configurations options.
Once in the script click on the user on the top right then choose info and setup.
The company GUID can be found in the company information part you will need this for the preprocessor configuration below.
Under virtual path to the eScript run, we configure the access to the local runner installed earlier. This access is done through the public IP.
The slash("/") at the end of the Virtual path is very important. The editor will not be able to connect to the runner if this URL is not correctly formatted.
You also need to connect the API so that we can retrieve fields info in the editor
Click on the Plugins to access the API configuration section
The following fields to configured:
Designation: Name of the connection (exemple OVH_117-Nixxis)
Plugin Provider: Nixxis - (Important here that Nixxis is written with a capital N)
Server: IP address of the NCS api (application server)
oAuth User: aaa
oAuth Password: bbb
After logout then login again and check if the runner version in the company info is correct. If not, you will need to check if the connection is allowed between the appserver and seeasoftware (see section 8)
10. Preprocessor and SQL Configuration
The defination of the differents column are as follows:
The Id is should be "22fd036c27ba4a1288cce5861e5c8i37"
Description should be "eScript"
MediaType should be 0 (this specifies that is a script engine)
Resource defines the URL used for the agent popup
EditorUrl specifies the assembly type of the eScript plugin: "Nixxis.Client.Admin.EScriptPlugin,
NixxisAdminControls"
EditorParams specifies the URL used to retrieve the list of scripts
Other fields can use their default value
Adapt this SQL template before running it to insert the line the preprocessor table
use [AdminDatabase]
go
INSERT INTO dbo.Preprocessors ([id],
[Description], [MediaType], [Resource], [EditorUrl], [EditorParams])
VALUES
('22fd036c27ba4a1288cce5861e5c8i37',
'eScript', 0,
'[URL]/production.aspx?Guid_Company=[GUID]&Guid_Script={13}&KEY_INDEX=1&KEY_PLUGIN={6}',
'Nixxis.Client.Admin.EScriptPlugin, NixxisAdminControls',
'http://escript1.azurewebsites.net/escript/service.api?op=ListScript&Guid_Company=[GUID]')
go
IMPORTANT
[AdminDatabase] = name of the admin database
[URL} = local ip of the runner
[GUID] = company guid in the escript account