Module exports

Hi Team,

As pat of my requirement I need to read the file under the models and load into the snowflake for that I am using v1.3 api

https://api.anaplan.com/1/3/

I need to get the latest details from the files , so I need to use the export

When I start the export at model level, it will export all the files under that model or for each individual file I need to start the exports

 

Thanks

Answers

  • @kandasamy 

    It's not possible to "export the model"

    Each export (from a module) will have it's own Export action and associated file

    You can add these exports into a process and call that from the API, so you will get multiple files created when the Export process is run

    I hope that helps

    David

     

  • Hi David,
    Thanks  for your reply


    I am following the below steps to get my files from the models
    1. Get the workspace id
    2. Pass the workspace id and get the models
    3. Pass the workspace id and model and request for the export definition
    https://api.anaplan.com/1/3/workspaces/8a81b0945cdbe1ec015ce678a3f600xx/models/420BD91A051443C6ADACCF69D33EBExx/exports/
     
    Could you please explain me how to add exports into a process and call that from the API
     
    Thanks
    Kandasamy

  • You will need to create the exports within Anaplan first

    Then you create a Process within Anaplan and add the export actions to this process.

    You can then call the process from the API

    David

     

  • Hi David,

     

    Could you please elaborate me on how to create a process with Anaplan and add the export  to the process.

     

    Thanks

    Kandasamy

  • Sure

    1. Save the export when you first run the export

    2019-09-05_15-41-56.png

     2. Navigate to Actions

    2019-09-05_15-38-22.png

     

    3. Create a new Process

    2019-09-05_15-38-33.png

     

    4. Edit the Process

    2019-09-05_15-38-59.png

    5. Add the export(s) to the process

    2019-09-05_15-39-12.png

     

    I hope that helps

    David

  • HI David,

     

    Thanks for your detail explanation.

    The process can be added to the export using the api instead of  GUI

     

    Thanks

    Kandasamy

  • HI,

     

    Under my model there are 151 files.. when I ran the export and when I checked the export definition I can get only 12 export definition. why I am not able to get all the export definition under that model

     

    Thanks

    Kandasamy

  • @kandasamy ,

     

    Because some of the files may have been loaded as Private.  To read more, please follow this link:

    Read this

     

    Thanks,

     

    Rob