Jump to content
Changes to the Jaspersoft community edition download ×

isai.maldonado.reyes

Members
  • Posts

    1
  • Joined

  • Last visited

isai.maldonado.reyes's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I want to create a data source from my PHP code, because I want to create dynamics connections. The parameters that I think that I need are: HOST, Driver, password, user, instancie. So, I don't know if it can be possible, right now ,I know how I can create a report with the jrxml and datasource (but in this case the DataSource already exists) try { $report = new ReportUnit; $report->label = "file5Report"; $report->description = "file5Report"; $report->jrxml = "/reports/Tests/report.jrxml"; $report->dataSource = "/datasources/myConnection/Conex"; $c->repositoryService()->createResource($report, "/Folder", true); } catch (JaspersoftExceptionRESTRequestException $e) { echo $e->getMessage(); } I hope if someone can help me.
×
×
  • Create New...