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.
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:
@echo off 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 AnaplanUserfirstname.lastname@example.org:Password set WorkspaceId="8a1234567897c12b014bf01234567890" set ModelId="CD1234D60CA84E9A123C1C5D061C1234" 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 cd %~dp0 if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser% set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation% @echo %Command% cmd /c %Command% pause
I'll get in touch with the appropriate people to get this updated.