Saving a user object

StepsTo save a user object:

  1. In the User Object painter, select File>Save from the menu bar or click the Save button in the painter bar.

    If you have previously saved the user object, PowerBuilder saves the new version in the same library and returns you to the User Object painter.

    If you have not previously saved the user object, PowerBuilder displays the Save User Object dialog box.

  2. Enter a name in the User Objects box.

    For naming considerations, see “Naming the user object”.

  3. Enter comments to describe the user object.

    These display in the Select User Object dialog box and in the Library painter, and will document the purpose of the user object.

  4. Specify the library in which to save the user object.

    To make a user object available to all applications, save it in a common library and include the library in the library search path for each application.

  5. Click OK to save the user object.

NoteValidation for server components In the User Object painter for a custom class user object, the Design menu has EAServer/Application Server Validation and .NET Web Service Validation items. If you are select a validation menu item for one of these component types to enable validation, a check displays next to the menu item. When you save the object, you might see some error messages.

For information about EAServer validation, see Application Techniques.