Skip to content

Create datasource from scratch #172

Open
@msaguin

Description

@msaguin

Hi,

It's not an issue but more a question :).
I would like to create a datasource from scratch using python TSC, with only the following information:

  • table name of the database
  • server name
  • host
  • username
  • password

Do you have any idea?

I would like to avoid the creation of a tds/tdsx file first. Then I have not issue to publish.

new_datasource = TSC.DatasourceItem(project_id,name=datasource_name)
server.datasources.publish(new_datasource, file_path, 'CreateNew',connection_credentials=None)

Thank you,

Mathilde

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions