Retrieve Line Item Formula from Anaplan with Python VS Code

allitixtgaluska
Occasional Contributor

Retrieve Line Item Formula from Anaplan with Python VS Code

Community,

I have been able to connect Python/VS Code to my Anaplan model. The information I am trying to retrieve is the formulas in each line item. This will help make it more readable. Does anyone have a python code example to get this data from an Anaplan model?

2 REPLIES 2
kevin.cho
Certified Master Anaplanner

Re: Retrieve Line Item Formula from Anaplan with Python VS Code

Not available as part of any publicly advertised endpoint that I know of, but I'd love to be told I'm wrong!

 

Next best thing that you could do is, save an export action in your model that will export the entire blueprint. Since the combo of Module name and Line Item name are unique (and both are present in the blueprint extract), you should be able to then link up the formula to each module/line item ID. 

 

Just be aware that any specific "line item formula" (via line item subset, and adding version formula to a line item) won't appear in this blueprint export. 

allitixtgaluska
Occasional Contributor

Re: Retrieve Line Item Formula from Anaplan with Python VS Code

Oh bummer. I have built some great work on other planning tool with python and jupyter notebooks. Tracking user logging trend, track data change large values, audit queries, and model health check that were automated. Maybe in the future? Please!!!!