Managing Models

Hi All,

 

Is there a way in Anaplan to get an export of all the models within a workspace? How are other people managing their models? I'm currently having to manually copy one model name at a time which is not efficient and practical given the number of models we have.

 

In addition, is there also a way to export all the users within a workspace? 

 

Than you in advance,

Eric

Answers

  • @eshin_mfs 

    If you're looking to get the model names and sizes and such, you can just export to Excel from the module tab. If you're really ambitious you can use the new transactional API set. https://help.anaplan.com/en/cc1c1e91-39fc-4272-a4b5-16bc91e9c313-Use-the-transactional-APIs

     

    ExportModule001.png

  • Thanks for the response, @JaredDolich .

     

    Apologies if my initial question wasn't clear - I was looking for a way to export the list of the Models (the list of the 113 Models as per included screenshot), not the Modules within a Model.

     

    eshin_mfs_0-1614964504424.png

     

  • @eshin_mfs 

    Oh, sorry. Yes you can use the standard API for that. Here's the Python script.

    # This script uses Python 3 and assumes that you have the following modules
    # installed: requests, base64

    import requests
    import base64
    from getAuthentication import userBA
    from getGUIDs import wGuid

    getHeaders = {
        'Authorization': userBA
    }

    if wGuid:
        getModels = requests.get('https://api.anaplan.com/1/3/workspaces/' +
                                 f'{wGuid}/models',
                                 headers=getHeaders)
    else:
        getModels = requests.get(f'https://api.anaplan.com/1/3/models',
                                 headers=getHeaders)

    with open('models.json''wb'as f:
        f.write(getModels.text.encode('utf-8'))

     

  • @eshin_mfs 

     

    If you are the Tenant Admin you should be able to see all the models within the workspace as well as across all workspaces on Tenant Admin Console.

     

    Misbah

  • @Misbah 

     

    Is there a way to export any of the information you see on the Administration Console? To my knowledge, I can only view them and copy/paste them.

     

    Thank you.

     

     

  • @eshin_mfs 

     

    No I don't think so. You can export the Users though but not the workspaces