How to create Import/Export/Action or Process using Command Line/Shell Script in Anaplan
Iam running the below Command:
java -classpath "E:/Neha_Nayal/Anaplan/anaplan-connect-1.4.3-jar-with-dependencies.jar" com.anaplan.client.Program -k E:/Neha_Nayal/Anaplan/keystore.jks -ka keystore -kp keystore_password -workspace workspace_id -model model_id -service service_url -auth auth_url -file "Anaplan_Connect_Detail.txt" -put "E:/Neha_Nayal/Anaplan/Anaplan_Connect_Detail.txt" -import "Import from Anaplan_Connect_Detail.txt" -execute
My o/p comes like:
How can I specify the action in the command itself.
Is it possible to create import, export action using command line itself?
An import, export, action or process must be specified before -execute
Any Action has to be created in Anaplan model prior to any connector setup: https://help.anaplan.com/69250a43-3266-4c04-bda9-bfb50ece96230
-import "Import from Anaplan_Connect_Detail.txt" means the name of your action in the model. So this action has to exist in the model0
Actually I wanted to know if its possible to create an action using command line/shell script
Instead of creating an action in anaplan.0
To my knowledge, this feature is not yet to be included in the Anaplan Connect. You can raise this idea on Idea Exchange portal: https://community.anaplan.com/t5/forums/postpage/board-id/AnaplanIdeas/search-before-post-mode/true0
Anaplan Connect and Anaplan API relies on the actions created on Anaplan model to execute the import and export.
However Anaplan Transactional API does not rely or depend on and actions being created in Anaplan Model0