Show TOC

Procedure documentationCreating Wizards Locate this document in the navigation structure

 

To create a wizard, create a Web Dynpro development component with a component that defines the following:

  • Implemented Interfaces: IWizard, which defines a set of context attributes that provide information to the wizard, such as the name of the portal object being edited. The interface also defines a set of methods to be implemented, most in order to respond to administrator actions.

  • Views: One view for each custom pane in your wizard.

  • Used Components: An IWFContainer component interface definition, which runs your wizard component and provides APIs that your wizard can call.

    In addition, you can also define used components that define predefined wizard panes, such as ISummary and IGeneralProperties.

  • Windows: Two windows:

    1. A window containing an instance of the wizard framework component, which provides services to your wizard. This window created when you create your component.

    2. A window containing the wizard panes (IWizard), which is later embedded in the wizard framework component.

The following figure shows a Web Dynpro project (newwiz) that defines a wizard (MyNewWizComp) in the Web Dynpro Explorer:

This graphic is explained in the accompanying text.

The wizard project must also define an application, whose component is the MyNewWizComp wizard component.

Procedure

Perform the following steps:

  1. Setting Up the Project

  2. Creating and Embedding Panes

  3. Implementing Methods

  4. Deploying the wizard:

    1. Create an application for the project, and set the application's component to your wizard component.

    2. Create an archive from the development component and deploy it.

Result

The new wizard application is listed under the development component in the Web Dynpro Application Repository in the portal.

You can create an iView from the application, and add it to an administration studio configuration. For example, you can create an action for a custom administration studio, and specify your wizard be run when the administrator selects the action.

For more information about creating actions in the admin studio configuration XML script, see Creating Actions.

More Information

The following topics in this section discuss the different aspects of wizard development: