1
Discussion | Обсуждение / Re: suggestions in the next release
« on: February 12, 2016, 08:46:29 PM »
Another suggestion (or maybe it is already done, but I don't know how):
Set up the Connection host code, like a variable
_limeReportEngine->dataManager()->setReportVariable("session_id", session_id);
to be able to do:
Set up the Connection host code, like a variable
_limeReportEngine->dataManager()->setReportVariable("session_id", session_id);
to be able to do:
Code: [Select]
_limeReportEngine = new LimeReport::ReportEngine();
_limeReportEngine->dataManager()->setDatasourceConnectionHost("my_data_source", "192.168.0.1");
if(_limeReportEngine->dataManager()->checkConnection()) {
// preview report...
} else {
// pop up error
}