a
Setting Initial Data for the View
Structuring your data is covered in XML Data in AltioLive. You should read that topic before setting up your data.
There are two methods of providing data for your application:
The most common method is to have data on a separate back-end system; interacting with the client through the Presentation Server, via Datapools and Service Functions. In order to use this method, you must have already configured Service functions for the application using the Application Manager Tool.
Alternatively, the second method use static data in your data file. There is a lot less flexibility with this method, and it is only recommended for very simple applications. With this approach, submitting data back to the server becomes irrelevant. If you are using this method, you will not need to integrate any Service Functions. You can skip this step and go on to Setting up datatypes.
You will have to integrate the view with the Service Functions set up in the Application Manager tool to get initial data for the application.
Getting optional data on demand (for example, when requested by the user). Some of these Service Functions may require subscribing to a pre-configured Datapool to receive data updates. The subscription is also set up at this stage.
From the Designer
Tool, if you have not already saved your project, save it using
the Save toolbar icon
or the File|Save menu
item.
If the View Explorer
window is not visible then activate it by clicking the Show View Explorer
toolbar icon
or with the View|Explorer menu item.
In the View Explorer window, select the Initial Data Services treeview item.
Select the Edit|New
Initial Data menu item and a new child item of Initial Data Services
will appear, initially called INCLUDE.

The Properties
window must be displayed, if it is not then activate it by clicking the
Show Properties Window toolbar icon
or with the View|Properties menu item.
In the General
group of the Properties window, select the Server Command
property and select a Service Function from the list provided. After doing
this the name of the new Initial Data Service will change in the treeview
to match the name of the Service Function you have chosen.

If this Service Function should be subscribed to a Datapool to get further updates, select the datapool name from the Subscribe drop-down field. Press the return key to enter the change.
If there are other Service Functions to register, repeat steps 4 to 7.
Looking at the example application ROS, in the case of the GET_CATALOG Service Function, the catalog data it returns is static data (i.e. not updated during the user session) and therefore it does not subscribe to a Datapool. In the case of the GET_FORSALE data, this is 'live' data subscribed to the NEW_FORSALE Datapool. The name used in a SUBSCRIBE will correspond to a Datapool definition in the Application Configuration XML file.