Anaplan Connect Export script

Shawnm
Occasional Contributor

Anaplan Connect Export script

Hi, 

I am getting error when I use the following script for exporting

 

@Echo off
set AnaplanUser="XXX"
set WorkspaceId="XXX"
set ModelId="XXX"
set Operation=-service "https://api.anaplan.com" -auth "https://auth.anaplan.com"
-export "ABC" -execute -get "D:\ABC.csv"
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

 

 

The error I get is "Using Class-Path: C:\anaplan-connect-2.0.0\anaplan-connect-2.0.0-jar-with-dependencies.jar
2021-05-31 12:29:14 ERROR 22232 |-- Options are:", followed by a list of options

 

Is my script incorrect?

2 REPLIES 2
MarkWarren
Expert

Re: Anaplan Connect Export script

The script is correct.
Could you show or detail more of the error - if you have not already resolved this?
Shawnm
Occasional Contributor

Re: Anaplan Connect Export script

Hi @MarkWarren ,

 

Thank you for replying. I was able to solve the error.