Category: Help
-
How to build your own service
In AngularJS, a service is a function, or an object, that is available for, and limited to, your application. AngularJS has about 30 built-in services. If you are updating the URL in your application, it is likely that you have already used the $location service.
-
How to build your own directive
Canvas for TM1 comes with 30 directives (tm1-ui-dbr, tm1-ui-subnm…) which will help you to build quickly a page. If you combine these Canvas directives with the AngularJS Directives such as ng-repeat and ng-if, you can already achieve a lot. By combining these existing directives, you can build more sophisticated components. When you start replicating the same…
-
Trigger an action when a value is updated in a TM1 cube
TM1py v1.0 introduces a new exciting feature: Delta request for transaction log. It means that each time a value is updated in a TM1 cube, TM1py is able to trigger an action such as running a TM1 process or sending this new value to an other cube…
-
FAQ TM1py
+ What is TM1py ? TM1py is a Python package that wraps the TM1 REST API in a simple to use library. That makes it easy to build stuff with TM1 and python. + What is Python ? Python is a widely-used general-purpose programming language that lets you work quickly and integrate systems more effectively.…
-
Set up jupyter notebook
Jupyter is an open-source web application that enables you to mix code-execution and comments. It is great to tell a story and run through the code sections by sections.
-
Check Connectivity with TM1
In order to check if TM1py can connect to your TM1 instance, you can use the check.py Python script from the samples. First download the samples from Github and then navigate to the TM1py-samples folder that you downloaded from Github, in this example the samples are located in the following folder:
-
Set up your development environment
To use TM1py samples, you do not have to have a development environment, you can just edit the script in a text editor or in jupyter and then run the script. But if you want to dig deeper into the Python language, having a development environment will make your life easier.
-
Run TM1py script from TM1 process
This article explains the steps to run a TM1py script from TM1 process.
-
Create TM1 objects for TM1py samples
All the TM1py scripts in the Load Data folder requires some TM1 objects. These scripts load data from different datasources into TM1 cubes. If you want to test these scripts without changing the target cubes, you will need to create these TM1 objects.To create these objects, you can run the script sample setup.py which is in…
-
Check if the TM1 REST API is enabled
TM1py uses the TM1 REST API to connect to TM1.