-
Notifications
You must be signed in to change notification settings - Fork 10
View Applet Class
Class main
extends the base applet class and intended to instantiate a view applet:
-
closePopupApplet()
. -
showPopup(name, hide, cb)
,showMvgApplet(name, hide, cb)
, andshowPickApplet(name, hide, cb)
open shuttle or pick applet, the input parameters are:-
name - the name of the control that has the associated popup applet. For
showPopup
the control should have type Button. -
hide - optional Boolean parameter. If the value is true, the popup applet will not be displayed and the promise will be returned.
-
cb - optional parameter, the function to be executed when a popup applet is instantiated and the promise is resolved.
-
These methods return the promise, and when it is resolved, it returns the object with the following keys:
-
appletName
: the Tools name of the instantiated applet. -
assocAppletName
: exists only for the shuttle applet - the Tools name of the association applet. -
nexusPopupApplet
: the instance of the Nexus Bridge (NexusPopupApplet) for the instantiated MVG or pick applet. This property is populated only when the popup PR is deployed as written here; otherwise the custom PR application should create the instance of the Nexus Bridge itself as written here. -
nexusAssocApplet
: exists only for the shuttle applet - the instance of the Nexus Bridge (NexusPopupApplet) for the instantiated association applet. This property is populated only when the popup PR is deployed as written here; otherwise the custom PR application should create the instance of the Nexus Bridge itself as written here. applet
assocApplet
-
-
-
drilldown(controlName)
anddrilldownPromised(controlName)
work also for form applet if the drilldown is configured as described in MOS article 539183.1. Thedrilldown
method returns immediately, and thedrilldownPromised
returns the promise that resolved when the view is fully loaded. Do not use thedrilldownPromised
method does not work for downloading the attachments (as another view is not loaded, and the promise is never resolved). -
gotoView(targetViewName, targetAppletName, id)
andgotoViewPromised(targetViewName, appletName, id)
take the user to another Siebel view. ThegotoView
method returns immediately, and thegotoViewPromised
returns the promise that resolved when the view is fully loaded. There are also the same static methodsGotoView
andGotoViewPromised
. -
openAssocApplet(cb)
calls theNewRecord
method and it makes sense only for child applets in M:M relationships. The method does not check if the applet displays the association applet on the NewRecord method. -
showExportApplet(hide, cb)
opens the SWE Export Applet.