Designer 10.7 | webMethods Mobile Development | Adding Services to a Mobile Project | Adding the SyncComponent Object
 
Adding the SyncComponent Object
The SyncComponent object provides the required client implementation for offline data synchronization with the Mobile Support Client. It uses the path to the Mobile Support Client that has been set in the Mobile Development preferences. For more information, see Mobile Development Preferences.
SyncComponent acts like a service and can be used as a REST method for data sources. It establishes all the connections to the webMethods Integration Server and retrieves/synchronizes data.
For more information on data synchronization with the Mobile Support Client, see Developing Data Synchronization Solutions with webMethods Mobile Support.
*To add the SyncComponent object
1. Ensure the mobile project is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
2. In the Model section of the Outline Editor, expand the project so that you view the Services container node.
If the model does not have a Services container node, add one by right-clicking the root application and selecting New Child > Services.
3. Drag the SyncComponent object from the palette of the Outline Editor to the Services node. In the palette, you can find this object when clicking the header-type node RESTful Services. You can then see it under the heading Mobile Support.
Alternatively, right-click the Services node and select New Child > SyncComponent.
4. Select the SyncComponent node, and in the Properties section of the Outline Editor, set the properties for the SyncComponent node. For more information, see Services Object Reference.
Related Topics