Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
skusuma1991
Partner - Contributor
Partner - Contributor

Creating OLEDB Connection using Qlik API Engine

Hi All,

I want to automate some stuff and for that i need to create OLEDB Connection using  Qlik Engine API's. I am able to create folder connection but facing issues while creating OLEDB. Error:  Invalid parameters and i have double checked the parameters but issue is still exists.

Json used:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "CreateConnection",
  "handle": 1,
  "params": [
    {
      "qName": "MySQLConnection",
      "qConnectionString": "Provider=SQLOLEDB;Data Source=your_server;Initial Catalog=your_database;User Id=your_user;Password=your_password;",
      "qType": "OLEDB"
    }
  ]
}

 

Is there anyone who did this already?

Thanks

Labels (1)
  • mysql

1 Reply
JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @skusuma1991 

I have connected to Qlik Engine API, But this uses web sockets so a normal Rest API connection wont work. 

https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineAPI/Content/Sense_EngineAP...

You cant test in using the Dev-Hub 

Regards Jandre 

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn