Progress
AppBuilder
Developer’s Guide
Creating and Placing a SmartBusinessObject
The SmartBusinessObject is a special-purpose organizer object and a member of the class SmartContainer. As is true of other organizer objects, the SmartBusinessObject is supplied as a nearly finished template. There is no Wizard involved; you need only create a copy, populate it, and add SmartLinks.
CAUTION: The SmartBusinessObject only supports static SmartDataObjects. If it cannot find the client-side (_cl) files at run time, it will not be able to use the dynamic SmartDataObject and will report an error when it fails to start up successfully.To create a SmartBusinessObject master, follow these steps:
- Click the SmartBusinessObject tool icon in the Object Palette:
![]()
When the Choose dialog box opens, click the New button.
NOTE: You can also choose FileNew or the New button on AppBuilder’s main-window toolbar. When the New dialog box appears, select SmartBusinessObject from the Object list and click OK.
- AppBuilder creates the appropriate workspace, which looks like a frameless SmartWindow. Because a SmartBusinessObject has no Frame element, you will see no layout grid even if you have grid visibility turned on:
![]()
- Populate the object and configure it. See the "Populating and Configuring a SmartBusinessObject" section for more detailed information. Save the object using a distinctive filename. Note that SmartBusinessObject names conventionally begin with
sbo
.- Click the SmartContainer tool icon in the Palette. When the selection dialog box opens, select the SmartBusinessObject master you just defined.
- Move your mouse cursor over your application workspace and click to place the new object instance.
- If you have already placed other SmartObjects such as a SmartDataBrowser, an Advisor might now appear and offer to create SmartLinks between those objects and the new SmartBusinessObject. Examine the offers and accept those that meet your needs.
- If the Advisor does not offer to create all the links you desire, choose Tools
Procedure Settings and open the SmartLinks Editor to add links by hand. For information about the SmartLinks Editor, see the "SmartLinks Editor" section in "Frequently Used Dialogs."
- Save your work.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |