Bookshelf Home | Contents | Index | PDF |
Siebel Portal Framework Guide > Delivering Content to External Web Applications > Common Operations > Picking RecordsTo pick a value from a pick list and save the value in the database, you need to navigate to a screen and then submit three requests:
GotoPageTabFirst, you need to navigate to a screen. For example: <EXEC PATH="/callcenter/start.swe"> <CMD VALUE="GotoPageTab" NAME="SWECmd"> <ARG NAME="SWEScreen">Accounts Screen</ARG> <ARG NAME="SWENeedContext">false</ARG> EditFieldTo return the pick list using the EditField method, you must define arguments that identify the applet, view, and field on which the pick list is based. For example: <EXEC PATH="/callcenter/start.swe"> <CMD VALUE="InvokeMethod" NAME="SWECmd"> <ARG NAME="SWEApplet">Account Entry Applet</ARG> <ARG NAME="SWEView">Account List View</ARG> <ARG NAME="SWERowId">1-6</ARG> <ARG NAME="SWEField">Currency</ARG> <ARG NAME="SWENeedContext">true</ARG> <ARG NAME="SWEReqRowId">1</ARG> <ARG NAME="SWEMethod">EditField</ARG> </CMD> PickRecordThe PickRecord method returns the row ID of the record to be picked. For example: <EXEC PATH="/callcenter/start.swe"> <CMD VALUE="InvokeMethod" NAME="SWECmd"> <ARG NAME="SWEApplet">Currency Pick Applet</ARG> <ARG NAME="SWEView">Account List View</ARG> <ARG NAME="SWERowId">0-5129</ARG> <ARG NAME="SWENeedContext">false</ARG> <ARG NAME="SWEReqRowId">1</ARG> <ARG NAME="SWEP">14_Account Entry Applet9_EditField3_1-68_Currency1_1</ARG> <ARG NAME="SWEMethod">PickRecord</ARG> NOTE: The value for the SWEP argument can be found in the XML response from the EditField method. WriteRecordThe WriteRecord method writes the record to the database. For example: <EXEC PATH="/callcenter/start.swe"> <CMD VALUE="InvokeMethod" NAME="SWECmd"> <ARG NAME="SWEApplet">Account Entry Applet</ARG> <ARG NAME="SWEView">Account List View</ARG> <ARG NAME="SWERowId">1-6</ARG> <ARG NAME="SWENeedContext">true</ARG> <ARG NAME="SWEReqRowId">1</ARG> <ARG NAME="SWEMethod">WriteRecord</ARG> |
Siebel Portal Framework Guide | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |