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
-
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
0 -
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.
0 -
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, base64import requestsimport base64from getAuthentication import userBAfrom getGUIDs import wGuidgetHeaders = {'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'))0 -
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
0 -
0