Hi Anaplanners!
I finally have gotten around to asking this question that's been bothering me since I started using the APIs to download a file. I get inconsistent results when I test this on my own so I thought I'd ask the Community.
The use case: I want to download a file (export) based on a view from a module using API v1.3 (Basic Auth is fine)
The most reliable steps I found to get an updated file download from a changed view is to:
My question is do I always need to delete the file first before running the export? If not, what are the conditions that necessitate a file deletion first?
Two things to consider:
As always, thanks for your help!
Below are the steps i follow
I do not delete file . Unsure why would you delete file . Will be interesting to know if there are any reasons .
Thank you for that response!
I think something happens when the view that is used to create the export changes.
For some reason when I run the export and the download actions via the API, I get the old data. But if I delete the file first (assuming I can) then run the export and download, I get the new data in the new view.
The problem is I can't make this happen consistently. Sometimes I just have to re-run the export manually from within Anaplan to get it to work.
So between the changing view and the type of save (private, admin, everyone) there's a specific combination that needs to be used.
Try this if you haven't
You should get updated file with changed value