Configuring Siebel Open UI > Customizing Siebel Open UI for Siebel Mobile Disconnected > Methods You Can Use to Customize Siebel Mobile Disconnected >

Methods You Can Use in Offline Classes


This topic describes a method you can use that resides in the offline classes. It includes the following information:

This method resides in the OfflineErrorObject class.

SetErrorMsg Method

The SetErrorMsg method defines an error message for a business service that you customize. It returns nothing. It uses the following Syntax:

SiebelApp.S_App.OfflineErrorObject.SetErrorMsg("messageKey", errParamArray);

where:

  • messageKey contains the error message key. A message key is a text string that includes variable characters. %1 is an example of a variable character.
  • errParamArray is an optional array that contains error properties that SetErrorMsg includes in the error message. SetErrorMsg replaces each variable character that the messageKey contains with a value from errParamArray.

For an example that uses SetErrorMsg, see Configuring Error Messages for Disconnected Clients. For an example that uses SetErrorMsg in the context of a call to a custom business service, see Registering Methods to Make Sure Siebel Open UI Runs Them in the Correct Sequence.

Configuring Siebel Open UI Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.