Jump to content
We've recently updated our Privacy Statement, available here ×

branko.vukasovic

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by branko.vukasovic

  1. Here is the example how to create a domain:

    $domain = new JaspersoftDtoResourceSemanticLayerDataSource();$domain->uri = $uri;$domain->dataSource = $dataSourceuri;$domain->label = "Client Domain";$domain->schema = new JaspersoftDtoResourceFile();$domain->schema->content = base64_encode(file_get_contents('schema.data')); // base46 does the trick$domain->schema->type = 'xml';$domain->schema->label = 'schema';$repositoryService->createResource($domain);[/code]

     

×
×
  • Create New...