Creating Operations for a Mobile Business Object

Use the Operation Creation wizard to create an operation and add it to the mobile business object.

Prerequisites 

You must first create a mobile business object before adding an operation, unless you create the mobile business object directly from the data source, in which case you can drag-and-drop the data source on to the Mobile Application Diagram which launches the Quick Create wizard for automatic creation of attributes and operations.

  1. Launch the New Operation wizard from the Mobile Application Diagram by selecting the Operation icon from the palette, then selecting the operation section of the mobile business object to which you are adding the operation.
  2. Follow the wizard instructions to add an operation to the mobile business object. Include the operation type that allows you to create, update, or delete data on the back-end data source, or OTHER for other types (or undefined) operations.
    Note: The New Operation wizard varies depending on the type of data source to which the operation is bound. See the corresponding binding topic for detailed information.
  3. Select either:
    Option Description
    Specify a data source Specify the data source to which the mobile business object operation maps. This creates a default mapping depending on the data source to which you are mapping. You must have access to the data source (for example, the file for a file mobile business object, or a data source connection profile for other mobile business objects) to which you are binding to use this option.
    Bind data source later Manually define the operation, parameters, and role assignments without binding to the data source.
Related concepts
Old Value Argument
Related tasks
Binding Data Sources to Mobile Business Objects
Related reference
Mobile Business Object Properties
Mobile Business Object Attribute Properties
Mobile Business Object Operation Properties
Datatype Support


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com