In scripting how you enable Button,and if I click the
button popup mesage should come.
Answers were Sorted based on User's Feedback
Answer / carolene
In the Pre Can Invoke 1method of the BVC or Applet specify
if Method Name =(<name of the method specified in the
button control>)
Can Invoke = "True"
| Is This Answer Correct ? | 7 Yes | 3 No |
Taking with an example as when clicking a button "Currency
Popup Applet 2" should appear to fill in Currency code.
In control create
Name = Currency Popup,
Caption String Override = Currency Popup
HTML Type = MiniButton
Method Invoked = ShowPopup
HTML Only = Yes
Show Pop UP = Yes
Visible = Y
Visible Language Over Ride = Y
-------------
Select newly created Field (Currency Popup) In Applet
control User Property Create 2 new records.
REcord 1
Name = Mode
Value = Edit
Record 2
Name = Popup
Value = Currency Popup Applet 2
(Popup applet that appears when the button is clicked.)
Compile
Name = Mode
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / kavitha devarajan
function WebApplet_PreCanInvokeMethod (MethodName,
&CanInvoke)
if(MethodName == "ButtonMessage")
{
CanInvoke = "TRUE";
TheApplication().RaiseErrorText("Thanks..!");
}
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / suryaa
Without Script enable a Button.
EG >
I an New Button is created with a name "TestMethod",
in the "Method Invoked = EventMethodTestMethod".
No need to write a code in WebApplet_PreCanInvokeMethod.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / satish
We can enable custom button using Eventmethodtestmethod
after enabling button in control user property we need to
give like
MODE: EDIT
POPUP: MESSAGE/Any Applet to show
| Is This Answer Correct ? | 1 Yes | 3 No |
Explain what is eapps.cfg file?
If you have been given 2 responsibilities say ‘Account Executive’ and ‘Manager’? Is it possible for you to change the Responsibility? And if so where will you change the Responsibility?
What is complex join? Difference with foreign key primary key join?
what is difference between bounded and unbounded picklist?
Determine ootb functionality in siebel.
What is the use of item identifier.
Can we use Mozilla Firefox browser for Siebel? if Yes, how it is?
What are pre defined queries?
This is krishna, I created new Table,Bc,Link,Bo,view,screen TABLE : CX_ECB_S_TAT BC : ECB TAT BC Link : ECB TAT BC/Service Request Bo : ECB TAT BO View : ECB TAT View Screen : ECB TAT Screen and I created new "X_ECB_TAT_ID" Column for foregin key relation ship in "S_SRV_REQ" Table [in colum properties I specified Forieignkey Table-CX_ECB_S_TAT] and I created "TAT Id Ext" Field with "X_ECB_TAT_ID" Column in "Service Request" BC. I created Link"ECB TAT BC/Service Request". in this link I specified "Destination Field-TAT Id EXT".( Parent BC : ECB TAT BC, Child BC : Service Request) --------------------------------------------------- There is two Screens 1)ECB TAT Screen 2)Service Request Screen in First Screen : ECB TAT Screen Parent BC : ECB TAT BC Fields : Type,Area,Sub Area,TAT I given the field values to Type,Area,Sub Area and based on field values I given "TAT" field value. now we will go to Second Screen : Service Request Screen Child BC : Service Request Fields : INS Product,INS Area,INS Sub-Area,TAT I given same values(Parent bc Field Values) to INS Product,INS Area,INS Sub-Area then should be update "TAT" Field value (I mean Parent BC same "TAT" Field vaue should be update in "TAT" Field in Child BC) I wrote script for above requirement in "SetFieldValue" Event in "ECB TAT BC" function BusComp_PreSetFieldValue (FieldName, FieldValue) { if(FieldName == "TAT") { var Bo = TheApplication().GetBusObject("ECB TAT BO"); var Bc = Bo.GetBusComp("Service Request"); this.ActivateField("Type"); this.ActivateField("Area"); this.ActivateField("Sub Area"); this.ActivateField("TAT"); var sType = this.GetFieldValue("Type"); var sArea = this.GetFieldValue("Area"); var sSubArea = this.GetFieldValue("Sub Area"); var sTAT = FieldValue; //this.GetFieldValue("TAT"); var Bc1 = Bo.GetBusComp("Service Request") with(Bc1) { var exp = "[INS Product] = '" + sType + "' AND [INS Area] = '" + sArea + "' AND [INS Sub-Area] = '" + sSubArea + "'"; ActivateField("INS Product"); ActivateField("INS Area"); ActivateField("INS Sub-Area"); ClearToQuery(); SetViewMode(AllView); SetSearchExpr(exp); ExecuteQuery(ForwardOnly); var cnt = CountRecords(); ActivateField("TAT"); var fst = FirstRecord(); while(fst) { SetFieldValue("TAT",sTAT); fst = NextRecord(); } } } return(ContinueOperation); } but in "Service Request" BC "TAT" field value updating existing records,not updating creating new necords. I should update "TAT" field value to creating new records. where I have to write script in which event in which BC for this. please post detail script for this. from last 15 days i'm working on this. please help me on this. thank you so much in advance.
What is the new layer in Siebel x version?
Explain the restrictions in siebel that comes while planning the networking topology.
What are the different elements in Siebel?