Updating Anaplan Connect 1.4.2 documentation to align with example batch files
I recently updated to version 1.4.2 of the Anaplan Connect Client.
I noticed that the format of the examples listed in the documentation is different to that of the example batch files provided in the download.
I was having difficulty getting the script to work when following the documentation instructions, but as soon as I used the example batch file as a framework, I managed to get it to work immediately.
Is there a reason why the information in the user guide is different to that of the examples given? Can we update the documentation to the format of the examples (if these are the most up-to-date) so that there is consistency?
I'll attach screen shots below to highlight the differences.
Hi @CallumW ,
The script from the Anaplan User Guide seems to be missing the -service and -auth attributes in the operation parameter which are needed for Anaplan Connect 1.4.2.
To fix the script you would have to add the following:
rem This example loads a source text file and runs an Anaplan import into a module.
rem For details of how to configure this script see doc\Anaplan Connect User Guide.doc
set [email protected]:Password
set Operation=-service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -file "Employee.txt" -put "C:\AnaplanConnect\Import\Employee.txt"
-import "New Hire from Employee.txt" -execute -output "C:\My Errors.txt"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
cmd /c %Command%
I'll get in touch with the appropriate people to get this updated.0