Bookshelf Home | Contents | Index | PDF |
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 the Applet ClassThis topic describes methods that you can use that reside in the Applet class. It includes the following information:
The BusComp method returns the business component that the applet references. It uses the following syntax: For example, the following code gets the metadata for the business component that the active applet references: SiebelApp.S_App.FindApplet(appletName).BusComp(); Each applet references a business component. If you configure Siebel Open UI to call BusComp on an applet, then it returns the business component that this applet references. The BusComp method includes no arguments. For information about using BusComp in the context of a business object, see GetBusComp Method for Business Objects. The BusObject method returns the business object that the business component references. It uses the following syntax: SiebelApp.S_App.FindApplet(appletName).BusObject(); The BusObject method includes no arguments. The CanInvokeMethod method determines whether or not Siebel Open UI can call a method. It returns the following properties. If you use CanInvokeMethod, then you must configure it so that it returns these properties:
The CanInvokeMethod method uses the following syntax: Applet.CanInvokeMethod(methodName)
For examples that use CanInvokeMethod, see the following topics:
The InvokeMethod method calls a method. If you use InvokeMethod, then you must configure it so that it returns a property set that includes one of the following values: Applet.InvokeMethod(methodName); For example, InvokeMethod in the following code calls the method that the value of the svcMthdName variable contains: Applet.InvokeMethod(svcMthdName); For examples that use InvokeMethod, see Using Custom JavaScript Methods and Allowing Users to Commit Part Tracker Records. The Name method for an applet returns the name of an applet. It uses the following syntax: |
Configuring Siebel Open UI | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |