| <?php |
| |
| session_start(); |
| |
| require_once( $_SERVER['DOCUMENT_ROOT'] . "birt/common/config.php"); |
| $PagePart = new PagePart(); |
| |
| ?> |
| |
| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <?php |
| /* Set Page Level Meta Details */ |
| $metaTitle = "Documentation"; |
| $metaKeywords = "Eclipse Keywords"; |
| $metaAuthor = ""; |
| $metaDescription = "Eclipse Super Description for SEO in da House"; |
| $ogTitle = "This is the OG Super Title"; |
| $ogImage = "http://www.actuate.com/images/logo.png"; |
| $ogDescription = "This is the ogDescription to be displayed in share options."; |
| |
| //only use following if you know what you are doing - else just leave them as is. |
| $robotsIndex = "index"; // ** *Only usable values are 'index', 'noindex' |
| $robotsFollow = "follow"; // ***Only usable values are 'follow', 'nofollow' |
| $canonicalTag = ""; //this is a canonical tag used for duplicate content *** DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING *** Default is blank! ex:http://www.actuate.com/products/ |
| |
| # Generate Meta Info |
| echo $PagePart->getMetaInfo($metaTitle, $metaKeywords, $metaAuthor, $metaDescription, $ogTitle, $ogImage, $ogDescription, $robotsIndex, $robotsFollow, $canonicalTag); |
| ?> |
| </head> |
| |
| <body> |
| |
| <?php echo $PagePart->getAfterBody(); ?> |
| |
| <div style="background-color:#f4f4f4;"> |
| <div class="content-area"> |
| <div class="content-area-inner" style="padding-top:40px;"> |
| |
| <div class="actu-eclipse-side-menu"> |
| |
| <?php echo $PagePart->getSideMenu(); ?> |
| |
| </div> |
| |
| |
| <div class="dev-main eclipse-main"> |
| <div class="eclipse-main-container"> |
| <h1 class="eclipse-title-main">Building a Data Source</h1> |
| |
| <div class="topic-menu topic-menu-right"> |
| |
| <div class="topic-menu-title">Section Contents</div> |
| <ul> |
| <li><a href="/birt/documentation/install.php">Installation Guide</a></li> |
| <li><a href="index.php">Design Tutorial</a> |
| <ul> |
| <li><a href="tutorial-1.php">Introduction</a></li> |
| <li><a href="tutorial-2.php">Creating a Report</a></li> |
| <li><a href="tutorial-3.php">Brief UI Tour</a></li> |
| <li><a href="tutorial-4.php">Building a Data Source</a></li> |
| <li><a href="tutorial-5.php">Building a Data Set</a></li> |
| <li><a href="tutorial-6.php">Building a Table</a></li> |
| <li><a href="tutorial-7.php">Testing Your Report</a></li> |
| <li><a href="tutorial-8.php">Setting Visual Properties</a></li> |
| <li><a href="tutorial-9.php">Setting Data Properties</a></li> |
| <li><a href="tutorial-10.php">Using Styles</a></li> |
| <li><a href="tutorial-11.php">Cascading Styles</a></li> |
| <li><a href="tutorial-12.php">Using a Grid</a></li> |
| <li><a href="tutorial-13.php">Using a Text Item</a></li> |
| <li><a href="tutorial-14.php">Next Steps</a></li> |
| </ul> |
| </li> |
| <li><a href="/birt/documentation/integrating/">Integrating BIRT</a></li> |
| <li><a href="/birt/documentation/sample-database.php">Sample Database</a></li> |
| <li><a href="/birt/documentation/reference.php">Technical Reference</a></li> |
| <li><a href="/birt/documentation/building-birt.php">Building BIRT</a></li> |
| </ul> |
| |
| </div> |
| |
| <h2 class="topic-section-header padding-top-small">About Data Sources and Data Sets</h2> |
| <p>BIRT reports use a data source element to connect to a database or other data provider. BIRT uses a data set element to retrieve data from the data provider. Think of the data source as a connection, and the data set as a query.</p> |
| <p><a href="install.php">Learn More</a> </p> |
| |
| <h2 class="topic-section-header padding-top-small">Build a Data Source</h2> |
| <p>Let's build our data source: |
| <ul class="eclipse-list"> |
| <li>Open the Data Explorer View, if it is not already visible.</li><br /> |
| <li>Select the Data Sources node within the tree view.</li><br /> |
| <li>Right-click to open the context menu.</li><br /> |
| <li>Choose New Data Source. The New Data Source dialog appears.</li><br /> |
| <li>Choose Classic Models Inc. Sample Database.</li><br /> |
| <li>In the Data Source Name field, enter "Sample".</li><br /> |
| <li>Click Next.</li><br /> |
| <li>Click Finish.</li> |
| </ul> |
| </p> |
| <p>Your new data source appears within the Data Sources node in the Data Explorer.</p> |
| |
| <h2 class="topic-section-header padding-top-small">Edit a Data Source</h2> |
| <p>For future reference, let's review how you would go about changing the data source: |
| <ul class="eclipse-list"> |
| <li>Find or open the Data Explorer View.</li><br /> |
| <li>Open the Data Sources node.</li><br /> |
| <li>Double-click the data source.</li><br /> |
| <li>The Data Source editor opens. You can make any needed changes.</li><br /> |
| <li>Click OK to save your changes.</li> |
| </ul> |
| </p>BIRT reports use a data source element to connect to a database or other data provider. BIRT uses a data set element to retrieve data from the data provider. Think of the data source as a connection, and the data set as a query. |
| |
| <p><br /><a href="tutorial-3.php"><< Previous: Brief UI Tour</a> | <a href="tutorial-5.php">Next: Building a Data Set >></a></p> |
| |
| </div> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <footer> |
| <?php echo $PagePart->getFooter(); ?> |
| </footer> |
| </div> |
| </body> |
| </html> |