How to Invoke Popup Applet on button click.
By neel | March 11, 2008
This post will discuss the configuration required to invoke a Popup Applet on a button click. As always we will discuss it with the help of a requirement.
Requirement:
- On a list applet have a button with caption as “Check Status”
- Clicking on that button should result in an applet opening in separate window (popup applet)
Solution:
I am not listing the normal configuration steps like creating an applet or code to enable the button. I am assuming that you have already done that and just need configure the popup.
- Query the List Applet that you want to add the button to.
- In the Control section create a new record.
- Enter the following values
- Map the control to the Applet UI by editing Applet Web Layout
- Expand the control section and select the Control User Prop Section as shown below

- Create the following user properties
Name: Mode
Value: Edit
Name: Popup
Value: Applet Name to Popup

Name: Check Status
Caption – String Override: Check Status
MethodName: ShowPopup
And you are done. When you click on that button it should popup the applet mentioned by you.
Related Posts
Categories: Configuration, How - To |
Subscribe by Email
(4 votes, average: 4.25 out of 5)
March 11th, 2008 at 6:21 am
Those “Names” and “Values” you mentioned, are predefined or what…from where can we get the list of such “Names” & “Values”(Like Mode,Popup etc) that we are providing there…What is actually happening when we provide such data..Can you explain the mechanism please?
March 11th, 2008 at 7:35 am
—————————
Siebel
—————————
Method ‘ShowPopup’ requires a value for argument ‘SWETA’.(SBL-UIF-00355)
—————————
OK
—————————
I am getting this error
March 11th, 2008 at 8:53 pm
@Abhi: you get that error if you try to call ‘ShowPopup’ from script. The way the function’s been implemented it has to be invoked from a button click. I discussed a way around that restriction in this post.
April 18th, 2008 at 6:24 am
i have two buttons on an applet. Both buttons are using the “ShowPopup” method. I want to write some code to restrict one button, but since both button are using the same method code is getting fired from both button. I want it to work only for one button not for both.
Any help will be appreciated.
May 3rd, 2008 at 2:49 am
Hi,
I am using the Siebel 8 version. I am new to working in Siebel. I have a form applet. I have a minbutton in it. The button is enabled. When i click on the button, i want to invoke another form applet. How to invoke another form applet through the button click?
May 26th, 2008 at 7:51 am
Hi Venkatesh,
Please find the following solution for your requ
1) Create a New Button in the applet and place it in web layout
2) Write the following code in the Applet PreInvokeMethod method
if(MethodName== “Add-Record”)
{
var destBO = TheApplication().GetBusObject(”Activity”);
var destBC = destBO.GetBusComp(”Activity”);
with(destBC)
{
SetViewMode(AllView);
ClearToQuery();
SetSearchSpec(”Id”,vCopyId);
ExecuteQuery(ForwardOnly);
TheApplication().GotoView(”Request Document View”,destBO);
}
}
Hope this will work ..let me know if ur facing any issues
May 27th, 2008 at 3:48 am
Adding few more words,
The class file for the Popup applet should be “CSSSWEFramePopupHiGantt”
Cheers
Ram