Jump to content

branko.vukasovic

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

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...