< Previous | Next >

Creating the custom visual snippet

Now that you have imported a module to contain your custom visual snippet, you can create the snippet.

The custom visual snippet will be named IsDisplayArticle.

To create the custom visual snippet:

  1. In the Business Integration view, right-click the NewsModule module and select New > Other. The New wizard opens.
  2. In the Wizards list, expand Business Integration and select Custom Visual Snippet as shown in the following figure:
    Picture of the New wizard
  3. Click Next. The New Custom Visual Snippet wizard opens.
  4. In the Module field, ensure that your new module NewsModule is selected.
  5. In the Name field, type IsDisplayArticle.
  6. In the Category field, select logic. This is the category that most closely describes the intended purpose of your new custom visual snippet. After you select logic as your category, the Namespace field is automatically set to http://NewsModule/logic and the Folder field is automatically set to logic, as shown in the following figure:
    Picture of the New Custom Visual Snippet wizard
  7. Click Finish. In the Visual Snippets view, the new IsDisplayArticle custom visual snippet is added to the logic folder and the empty snippet opens in the visual snippet editor, as shown in the following figure:
    Picture of the visual snippet editor

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
< Previous | Next >