Skip to content

Connect to TM1 on Cloud #9

@turinaa

Description

@turinaa

Hi all,

I found a issue when try to connect on TM1 Cloud. It basically doesn't work.
When create a new project and select Cloud "Yes" the json settings generated is:

    "settings": {
        "tm1_connection": {
            "address": "mycompany.planning-analytics.ibmcloud.com",
            "port": "443/tm1/api/tm1",
            "user": "user01_tm1_automation",
            "ssl": true,
            "password": "YmRm",
            "namespace": "LDAP",
            "async_requests_mode": true
        },

I manually changed it as shown below, and it works!

    "settings": {
        "tm1_connection": {
            "base_url": "https://mycompany.planning-analytics.ibmcloud.com/tm1/api/ServerName/",
            // "port": "443/tm1/api/tm1",
            "user": "user01_tm1_automation",
            "ssl": true,
            "verify": true,
            "password": "YmRm",
            "namespace": "LDAP",
            "async_requests_mode": true,
        },

I've changed:

  1. address to base_url
  2. Include https:// and /tm1/api/ServerName/ into the url. Note ServerName should be inputted by the user.
  3. Commented the port
  4. Add "verify": true,

Sorry I've tried to make a pull request but I cannot find where the Sublime command fires the python class. If you guys could point me here to look I am happy to try create a pull request.

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions