Apex Web Service
Build Apex Web Service class and method as described in Building Custom Apex Web Services for SFM.
* 
The Salesforce.com API Version of the Web Service class should be 28.0.
In the Screen Designer tab of SFM Designer, configure the web service for the required event for the custom page layout as follows:
Page Events:
a. In the 'Properties for Page' pane at the right, select the 'Event Type' as 'Webservice' for the required event (On Load, Before Save/Insert, Before Save/Update, After Save/Insert, or After Save/Update).
b. In the 'Method' text box, enter the Apex web service name as ClassName.MethodName (for example, SVMXC__INTF_WebServicesDef.INTF_WORD_USG_GetPrice_WS).
Child Section Events:
a. Select the page layout by clicking on the Page Layout picklist at the top left.
b. In the 'Properties for Page' pane at the right, select the 'Event Type' as 'Webservice' for the required event (On Load, Before Save/Insert, Before Save/Update, After Save/Insert, or After Save/Update).
c. In the 'Method' text box, enter the Apex web service name as ClassName.MethodName (for example, SVMXC__INTF_WebServicesDef.INTF_WORD_USG_GetPrice_WS).
Was this helpful?