GENERAL DESCRIPTION |
From inside CPRS, the Event Capture Interface could be
launched without presenting the scond log on window for user(so called silent
sign-on). In order to fulfill it, CPRS need to call broker's RPC "XUS GET
TOKEN" to get application handle and pass this handle to the Event Capture for
silent log on. Because the RPC "XUS GET TOKEN" is not automatically available
to the CPRS user, OE/RR has to export this RPC into the CPRS menu option "OR
CPRS GUI CHART" to avoid missing RPC error when launching Event Capture
Interface application.
CPRS will insert RPC "XUS GET TOKEN" into "OR CPRS GUI CHART" menu option by
following code: EN ; N RPC,MENU
S RPC="XUS GET TOKEN"
S MENU="OR CPRS GUI CHART"
D INSERT(MENU,RPC)
Q
;
INSERT(OPTION,RPC) ; Call FM Updater with each RPC
; Input -- OPTION Option file (#19) Name field (#.01)
; RPC RPC sub-file (#19.05) RPC field (#.01)
; Output -- None
N FDA,FDAIEN,ERR,DIERR
S FDA(19,"?1,",.01)=OPTION
S FDA(19.05,"?+2,?1,",.01)=RPC
D UPDATE^DIE("E","FDA","FDAIEN","ERR")
Q
Will no longer be needed after release of XWB*1.1*30.
|