Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
01. Navigation Attribute
At first we need to configure navigation attribute for the organization with the following commands.
Code Block |
---|
AddNavPageAttribute [path] System.Customer.NIUserCsvIntegrator.IsTestMode True
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.CsvDelimiter ","
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.ImportFileBackupPath [value]
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.ImportFilePath [value]
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.SchedulePeriod "1"
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.PollingInterval "1"
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.CsvTranslations [value] |
Example of CsvTranslations:
AddNavPageAttribute [path] System.Customer.Integrator.NIUserCsvIntegrator.CsvTranslations OrgLoginId=UniqueUserID,FirstName=FirstName,LastName=LastName,Password=DateOfBirth,EmailAddress=PersonalEmailAddress,Rank=Rank,Vessel=Vessel,Language=Language,DeptCode=DeptCode,Deactivate (X)=Deactivate (X)
In csv translation, the right side of the '=' is the column name in the csv whereas the left side is the LMS properly name.
...
|
01. User Integrator Configuration
Now we need to configure the UserIntegratorConfigFile.json file which contains the configuration of how imported data will be processed. This file has 10 different section for different purposes.
...