Skip to content

Conversation

@tomasfelcman
Copy link
Contributor

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

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
@MariusWirtz
Copy link
Collaborator

Nice work @tomasfelcman. Thank you!

@MariusWirtz MariusWirtz merged commit 8ef076f into cubewise-code:master Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants