tm1py
tm1py copied to clipboard
Update ApplicationService.py to support application update or create
Hi, I have been working with Applications (Websheets) and I have created 2 useful functions to work with them to be able to update/sync Applications between TM1 instances:
get_names - returns all the applications in given path update_or_create - takes care of the applications that are not present in new model.
On a side note - for Excel websheets the "create" only creates blob file instead of proper Excel fie in }Externals, while "update" updates Excel file correctly. It seems that REST API is not reflecting all the options that are possible with the Websheets in older TM1 Clients (Copy vs. Add as reference etc.) Has anyone come to that point too?
Thanks, Tomas