hi, i try to create a popup in a form applet. For this, i create a button with the ShowPopup method and i define the userprop showpopup with an applet (this applet is based on the CSSFramePopup clase)
but siebel returns this error:
Method 'ShowPopup' requires a value for argument 'SWETA'.(SBL-UIF-00355)
i try to config the showpopup "Spell Checker Popup Applet" such as the bookshelf say, but is the same result.
I searched and found finally one script:
if (MethodName == "MyShowPopup")
// invoke the ShowPopup applet method
var psIn2 = TheApplication().NewPropertySet();
var psOut2 = TheApplication().NewPropertySet();
psIn2.SetProperty("SWEView","Order Entry - Line Items View (Sales)") ;
psIn2.SetProperty("SWEApplet","Order Entry - Line Item List Applet (Sales)") ;
psIn2.SetProperty("SWETA","Product Popup Applet");
psOut2 = this.InvokeMethod("ShowPopup",psIn2);
but, again, the same error.... any ideas?
Hi and welcome to the forum,
We have a lot of popup applets invoked from buttons. No script is required. Try the following:
- Add a button to your form applet: HTML Type = MiniButton, Method Invoked = ShowPopup
- Add a control user property: Popup = My Popup Applet
- Add a control user property: Mode = Edit List
- optional: Add a control user property: Popup Dimension = 500 X 900
(this does not always work as expected)
your popup Applet should be of class e.g. "CSSFrameListPopup".
I think that is all you need to do.
Let us know if it works.