Object script - Embed a DBxtra Object

Embed a DBxtra Object into your web page.

You can embed any DBxtra Object into your Web page.

Configure the script

 

Select the DBxtra Object and right click it.

 

Select "Object Web Report Widget.

 

Or with the DBxtra Object loaded, click the "Web Report Widget" tab and then click the "Object Web Report Widget" button.

 

 

Configure the script

 

Configure the script

Web Report Widget Option

Note! A Iframe is the object inside the HTML which holds the DBxtra object.

Iframe name

By default the Iframe name is assigned like "Report1111" but you can assign any other name for it.

 

Iframe Width

Assign the Iframe's width in pixels.

 

Iframe Height

Assign the Iframe's height in pixels.

Object widget Options

Display Text

By default the name of the object will be displayed but you can change it to any other name.

Script Page

Select between Report, Data Grid and Pivot Grid.

 

If you select Data Grid or Pivot Grid you can also choose a saved View.

Data Grid Views  | Pivot Grid Views

 

Object Scripts

General Options

Selected Theme

 

Select on of many pre-designed themes..

Include DBxtra Logo

Define  if to show the logo inherited from the style sheet of the Report Web Service. This is by default the DBxtra logo; but you can change that in the style sheet.

Include Menu

Define if to include the Report Menu

Include Object Comment

Define if to display an objects comment in the Report.

Include "Powered by DBxtra" Legend

Define if to include the "Powered by DBxtra" legend.

Included menu Buttons

Include Menu Home Button

If you select that choice a button called "Home" will be placed on the menu bar.

Clicking the "Home" button will send the user to the Home page.

Home Explorer Links

Choose either if to open a Report in a new  or on the same window.

Include Report View / Data Grid/Pivot Grid Buttons

Defines if to show the Report View, Data Grid and Pivot Grid options.

Include Show/Hide Field List Button

Define if to include the menu button Show/Hide Field List button in Data Grids and Pivot Grids.

Include Export to Excel Button

Define if to include the export to Excel option.

Include Appearance Button

Define if to let the user choose an appearance option.

Include Login/Logout Buttons

Define if to show the Login and Logout button.

Report page Options

Report Page Options

Define if to show the Report Toolbar or not.

Data Grid and Pivot Grid Options

Include Views

Define if to give access to Data Grid and Pivot Grid Views.

Include Summaries

define if to give access to Data Grid and Pivot Grid summaries.

Only Pivot Options.

Include Visible Rows

Define if to include visible rows.

Include Sort by Field

Define if to include the sort by field options.

 

Scripts

Object Scripts

 

This is the  generated script to embed the "Home" into your web page.

Object Action Scripts

Refresh Item Script

This script generates a "Refresh" link which refreshes the object inside your web page.

Open In New Window Script

This script opens the Report object in a new window.

URL Link

You can also copy and paste the URL Link script to open any DBxtra object.

Logout Scripts

The Logout script generates a logout action.

The logout URL script generates a link for a logout panel.

 

Copy and Paste the Script into your Web page.

Copy the Script

Once you're finished configuring your script click "Copy Script" button.

This will place the script onto the Clipboard.

Paste the Script

Open your Web page with your favorite HTML editor.

Select the place where to insert the DBxtra object and paste the code.

 

Important!

The Web Report Widget script uses "IFrames" and some browser might not render it correctly if the script is inserted in any formatting tags.

The securest way that the script renders optimally is by inserting it in a DIV tag or in a Table tag.

 

Tip

The Report Id is specified in the script

If you need to modify a script or generate a related script for the same object (e.g. "Refresh Item") you can easily find the DBxtra object by using the "Find" utility.

You can also modify the script manually to your needs with an HTML editor.

Save and publish your Web document.

Save and  publish your Web page to your Intranet or Internet Server.

From this moment on your DBxtra object will be available from within your Web page.

 

IMPORTANT!

All user security is applied to each DBxtra object.

The user has to authenticate to open the Report.

Anonymous Reports

If you want to embed an anonymous Report than you first need to define it as such.

Save a Home Script

You can save the generated configuration and its script by clicking the Save or save as button.

Load a Script

To load a priory generated configuration and its script select it form the drop down box.

Delete a Script

To delete a configuration and its script and click the Delete button.

 

Related

Home Script

Multi Object Script