Project-Based and Remote Development Environments

In this section:

Developer Studio provides a local (stand-alone) development environment and a remote development environment. From the Explorers Projects folder, you can develop projects locally on your machine or against a remote WebFOCUS environment. From the Explorers WebFOCUS Environments folder, you develop directly against environments that are configured remotely.

In Developer Studio, you start building a reporting application as a project consisting of different kinds of files. You can create the project as a stand-alone application in the development environment or as a Web-based self-service application that you can deploy.

With a full Developer Studio installation, you can:

If you do not have a WebFOCUS Reporting Server and the WebFOCUS Client on your development machine, for example if you have installed the Managed Reporting Developer edition of Developer Studio, your environment allows the last two capabilities.

For details, see the Developer Studio Installation and Configuration manual.


Top of page

x
Project-Based Development

Reference:

Developer Studio supports two configurations for Project-based development:

Use of a remote environment for Project-based development requires the following:



x
Reference: Summary of Steps for Project-Based Development

To create a new project:

  1. Install Developer Studio. Use the installation program to install Developer Studio (this includes a WebFOCUS Reporting Server for stand-alone development) on your Windows machine.

    For details, see the Developer Studio Installation and Configuration manual.

  2. Configure the Web server. For local stand-alone development, configure aliases and servlet functionality on the local Web server.

    For Microsoft IIS or Apache Tomcat, configuration of the Web server and/or Application server is performed automatically for you during installation of Developer Studio. For other Web servers, manual configuration is necessary.

    For details, see the Developer Studio Installation and Configuration manual.

  3. Configure communications and data access. Set up access to remote WebFOCUS Reporting Servers and create or copy data source descriptions. You must also set up data adapters to access other data sources, such as relational databases.

    For details, see the Developer Studio Installation and Configuration manual.

  4. Create a project in the Projects on localhost folder. Before you begin Project-based development, you must create a project directory that will contain the associated files. You create this directory with the Project Wizard. The Project Wizard enables you to name the project, designate a directory for it, and optionally add other directory paths from which the project can retrieve information, or paths to other resources.

    For more information, see Creating a Reporting Application in the Creating Reporting Applications With Developer Studio manual.

  5. Create, develop, and test the project components. Open the project, create its components (its procedures, data source synonyms, HTML files, and related files) and develop and test them on the WebFOCUS Reporting Server and Web server.

While working in the Projects area and performing local project development, files refresh automatically when you are updating your application files without requiring a manual refresh.

Automatic Refresh also improves performance as files get loaded significantly faster when launching Developer Studio and while performing development.


Top of page

x
Remote Development

How to:

Reference:

Developer Studio provides the following scenarios for remote development:



x
Reference: Summary of Steps for Remote Development

To create a new application on a server platform:

  1. Install Developer Studio. Use the installation program to install Developer Studio on your Windows machine.

    For details, see the Developer Studio Installation and Configuration manual.

  2. Add a WebFOCUS environment. Add an environment from the WebFOCUS Environment Properties dialog box.

    For details, see How to Add a WebFOCUS Environment .

  3. Create an application folder on the server. Create the application folder in the Data Servers area or develop directly against the Managed Reporting Repository.
  4. Create, develop, and test the application components. Open the application, create its components (its procedures, data source synonyms, HTML files, and related files) and develop and test them on the WebFOCUS Reporting Server and WebFOCUS Client.


x
Procedure: How to Perform Project-Based Development Against a Remote WebFOCUS Environment

If you have more than one available WebFOCUS environment, you can select which one to use for your Developer Studio projects.

If you want to add a WebFOCUS Environment first, see How to Add a WebFOCUS Environment .

  1. To select a WebFOCUS environment while the Explorer window is active, select Show Environments from the File menu.

    The Environments List dialog box opens.

  2. Select the environment you want to set as the development environment and click Set Development Environment.

    The current development environment appears in the Development environment field.

    Environments List

  3. Click OK to refresh the Explorer tree. The current environment appears in the Projects area as a new node name (for example, Projects on Sales Reporting). The Explorer tree also displays available projects in that environment and allows you to create new ones.

    The Status column on the Environments List dialog box displays current information about each WebFOCUS environment. The status types are:

    • Online. Indicates that the environment is available for development and the icon is enabled.
    • The attempt to connect to the environment failed and the following messages may appear:
      Failed to access the Web server
      Object not found URL: http(s)://host_name:port/... 

      Indicates that the environment is not available or not configured properly. This occurs if the Web server is not functioning or is unavailable. The environment icon is marked with a red "x" if it is unavailable.

    • Error Attaching to ODIN node node_name. Indicates that the default Reporting Server for the environment is not available or functioning. Check to see if the Reporting Server is running. The environment icon is marked with a red "x" if it is unavailable.


x
Reference: Developing in the Data Servers Area

The Data Servers feature gives you access to file resources on all WebFOCUS Reporting Servers in your environment. Using Data Servers, you can create and manage metadata, stored procedures, HTML files, and WebFOCUS StyleSheets. You can also perform operations on GIF images and other files such as FOCUS data sources. Data Servers has access to all the applications on your configured servers and gives you the ability to create and delete applications.

You can copy and paste files between applications on one server or between servers. Data Servers allows you to move files between servers on different operating systems, which is useful, for example, when upsizing an application from Windows to z/OS. You can also use Data Servers to access certain files that you wish to copy to a Managed Reporting domain, such as a procedure.

For more information, see the WebFOCUS Managed Reporting Developer Manual.

Data Servers is accessible from the Explorer in Developer Studio and is always visible. For Managed Reporting development, the Data Servers feature is available to Administrators and to Developers, and access to this area is restricted according to login authorization. With the Managed Reporting Developer edition, this area can be hidden based on user privileges defined by the Managed Reporting administrator.

For more information about granting this privilege, see the WebFOCUS Managed Reporting Administrator Manual.



x
Procedure: How to Create a Remote Application in the Data Servers Area
  1. Expand a Data Servers area and click the plus (+) sign next to a server name.
  2. Right-click the Applications folder and select New Application.
  3. Type a name in the New Application dialog box and click OK.
  4. If the APPROOT of the WebFOCUS Client (located in the cgivars.wfs file) and the APPROOT of the Reporting Server (located in the edaserve.cfg) file point to the same place, then the application you created appears below the Applications folder. You can also see it under the Web Applications folder because of the common Application Root directory (APPROOT directory).

    You can copy and paste files between applications on this server or between servers.



x
Procedure: How to Edit a Remote Application in the Data Servers Area
  1. Expand a Data Servers area and click the plus (+) sign next to a server name.
  2. Expand the Applications folder. Open the contents of an application.
  3. Choose an application component (for example, a Master File, procedure, or HTML file) and select Open, Edit in Developer Studio Tool, or other available option. The component opens in the applicable tool.
  4. Edit the component. Save and close the file.


x
Reference: Developing an Application in the Managed Reporting Area

When you are developing a Managed Reporting application, you are working with files that are controlled by the WebFOCUS Client and stored in a centralized location called the Managed Reporting Repository. There is no decentralized local development copy of this Repository or of Managed Reporting files. Regardless of whether the developer is using the Java applet independent of Developer Studio or Developer Studio tools, the process entails retrieving a copy of the files, making changes to the files, and saving the files back to the Repository.

All Managed Reporting developers work in a common repository simultaneously and move their application components to a common test environment. The Managed Reporting Domain/Domain Administrator concept enables two or more developers to work on different parts of the application simultaneously, without affecting each other. However, when two or more developers are working on files in a single Domain, the responsibility is on the developers to coordinate their changes. For example, if two developers are working on the same report file at the same time, the last one saving the file overwrites any changes the first developer may have made. To avoid such issues, Source Control is available in the Managed Reporting area.

Managed Reporting Developer for Windows is an offering tailored to meet the specific needs of developers who create and manage Managed Reporting files.

For details, see the WebFOCUS Managed Reporting Developer Manual.

The Managed Reporting Developer edition does not offer administration capabilities.



x
Procedure: How to Create an Application in the Managed Reporting Area
  1. Under the Managed Reporting area, expand the Repository by clicking the plus (+) sign.
  2. Right-click the Domains folder and select New Domain.

    Domains reside on the Web server in the Managed Reporting Repository and are used to build and test Standard Reports, Reporting Objects, and the Web pages that launch those procedures. Each domain that you create contains a group of folders for the different types of objects you supply for Managed Reporting users.

  3. Type a name in the New Domain dialog box and click OK.

    When a new domain is created, the Server property check box is not selected, and the drop-down list of WebFOCUS Reporting Server nodes is disabled. The default server detected for your session is displayed in the list box. All reports and reporting objects in this domain will inherit the server setting shown in this list box.

    The Application Path property check box is not selected by default. This means that Managed Reporting requests will be processed by the WebFOCUS Reporting Servers default search path. The servers search path is generally determined by the settings in its profile but can also be overridden by user and group profiles, depending on the platform.

    For more information about server search path behavior, see the Server Administration for UNIX, Windows, OpenVMS, IBM i, and z/OS manual.

    To override the servers default search path behavior for reports run from this domain, check the Application Path property. Select applications from the available section and add them to the selected section to customize the search path for the Domain.

    The Application Path property sends the APP PATH values command to the server, where values contains the applications added to the selected section. A supplied value overrides the servers default search path (it does not append to it). Domain properties are inherited by the reports under it and can be overridden at the report level.

    For details, see Working With Domains in the WebFOCUS Managed Reporting Developer Manual.

  4. Create a data item in one of the following folders:
    • Standard Reports. Contains the Standard Reports you create for end users. Users run these reports, but they cannot change them.
    • Reporting Objects. Contains views of your organization data that users can access for ad hoc reporting for creating their own reports.
    • Other. Contains image (.gif, .jpg), StyleSheets (.sty), Cascading Style Sheet (.css), JavaScript (.js), HTML, and other files that you use to customize and enhance reports. Users cannot access this folder. The folder also provides temporary storage for reports and procedures that you are migrating from other WebFOCUS platforms.

    For details about creating Standard Reports, Reporting Objects, and Other files, see the WebFOCUS Managed Reporting Developer Manual.



x
Reference: Domains Folder Operations

The following table describes the available operations for files in the Domains folder.

Folder

Operations

Standard Reports

You can do the following:

  • Create procedures with the Procedure Viewer, SQL Report Wizard, Text Editor, and so on.
  • Create alerts with the Alert Wizard.
  • Create HTML files with the Document Composer or the Text Editor.
  • Import external files.
  • Create a new URL.
  • Create a Standard Report subgroup folder.

Reporting Objects

You can do the following:

  • Create a new Reporting Object.
  • Create a new folder.

Other

You can do the following:

  • Import external files.
  • Launch the Text Editor to create a procedure, HTML file, WebFOCUS StyleSheet, or Cascading Style Sheet.


x
Procedure: How to Edit a Managed Reporting Application on the Server
  1. Under the Managed Reporting area, expand the Repository by clicking the plus (+) sign.
  2. Expand the Domains folder that contains the Standard Reports folder you would like to edit.
  3. Open the Standard Reports folder.
  4. Right-click a file in the Standard Reports folder and select Open to access the tool used to create the file, or Edit in Text Editor, to edit the file in the Text Editor.


x
Reference: Explorer Toolbar

The Explorer Toolbar contains buttons that are primarily used to change the display of items in your Explorer window. Depending upon your location in the Explorer, certain toolbar buttons may be inactive or unavailable. The following table describes the buttons on the Explorer toolbar while working in the Projects area.

Button

Operation

Up one level

Moves up one level in the hierarchical file structure.

toggles between the double pane Explorer view

Toggles between the double pane Explorer view and the single right pane Explorer view.

displays properties

Displays properties of the selected item.

New Deploy Scenario

Displays the current deployment scenario. Click the down arrow and select New Deploy Scenario to create a deployment scenario.

Note: Developer Studio supplies a deployment scenario named Local Deploy, which it uses to prepare files to run on a local server. Do not modify or remove Local Deploy.

You can set up a default scenario in the Deployment tab in the Properties dialog box of the project.

For details, see Partitioning and Deploying Project Files in the Creating Reporting Applications With Developer Studio manual.

current scenario

Provides deployment options for the current scenario that allow you to either deploy, deploy and run, or run the current scenario.

display available items

Displays available items in the path of the project. Note that this button is not available when you have selected the Deploy folder.

adds selected item

Adds the selected item to a project. Note that this button is not available when you have selected the Deploy folder.

removes selected item

Removes the selected item from a project.

Edit Filters dialog box

This button is visible when you are at a project level.

It launches the Edit Filters dialog box, where you can set filters for items you want to display in the selected project. If you add or remove filters, the project filter list will change.

virtual folder level

This button is visible when you are at the virtual folder level.

It launches the Edit Filters dialog box, where you can set filters for items you want to display in the selected project. If you add or remove filters, the project filter list will change.

Click the down arrow to display a list that shows available files and their properties. You can also filter folders in the list.

deletes selected item

Deletes the selected item from the hard drive.

displays item in the view

Displays items in the view as large icons, small icons, or in a list. It can also displays the item details.

enables source control

Indicates that source control is enabled.

See the Creating Reporting Applications With Developer Studio manual and the WebFOCUS Managed Reporting Developer Manual for more information.



x
Reference: WebFOCUS Environments Toolbar

The WebFOCUS Environments toolbar accesses other WebFOCUS application development and deployment tools. This toolbar becomes active when you click a server or environment name under the WebFOCUS Environments area.

For more information about WebFOCUS products accessed from this toolbar, see the WebFOCUS Managed Reporting Developer Manual.

Button

Operation

Up one level

Moves up one level in the hierarchical file structure.

toggle between double pane Explorer view

Toggles between the double pane Explorer view and the single right pane Explorer view.

executes selected report

Executes the selected report in deferred mode. This option is only available in Managed Reporting.

displays Deferred Report Status Interface

Displays the Deferred Report Status Interface in a new browser window. This option is only available in Managed Reporting.

accesses Managed Reporting Administration

Accesses the Managed Reporting Administration interface, where you can create roles, users, and groups and associate users with groups and domains. This option is only available in Managed Reporting.

Two-Way Email Administration

Launches the Two-Way Email Administration interface.

View Builder

Launches the View Builder, where you can create and manage public views (general and custom) and group views. This option is only available in Managed Reporting if you have installed the WebFOCUS Business Intelligence Dashboard.

For more information, see the WebFOCUS Managed Reporting Administrator Manual.

WebFOCUS Business Intelligence Dashboard

Accesses the WebFOCUS Business Intelligence Dashboard, an HTML-based thin client that allows you to create a customized user interface for access to WebFOCUS Managed Reporting. Note that you must use the View Builder to customize the Dashboard.

See the WebFOCUS Managed Reporting Administrator Manual for more information.

accesses ReportCaster

Accesses ReportCaster if ReportCaster is installed on the WebFOCUS Reporting Server.

For more information, see the ReportCaster Administration manual.

ReportCaster Console

Accesses the ReportCaster Console if ReportCaster is installed on the WebFOCUS Reporting Server.

For more information, see the ReportCaster Administration manual.

Report Library

Accesses the content in the Report Library.

Server Console

Launches the Server Console for the selected WebFOCUS Reporting Server, which you use to configure and manage WebFOCUS Reporting Servers. Note that the Server Console is sometimes referred to as the Web Console.

WebFOCUS Administration Console

Launches the WebFOCUS Administration Console, which you use to administer and configure remote WebFOCUS environments.

displays properties

Displays properties of the selected item.

deletes selected item

Deletes the selected item from the file system.

displays items

Displays items in the view as large icons, small icons, or in a list which also displays item details.


WebFOCUS