Friday 25 January 2019

Sending SMS in Siebel : Extending Default [ALT + F9] functionality

Hello All ,

 Sending Email in Siebel is very basic and very useful functionality ,which we widely use.
 Command F9 is provided by default for sending the email via Pick recipient option.

 so using existing framework lets try to extend this functionality for sending SMS,


  •   There is default option for Send Wireless Message in Siebel which is Invoked from Command ALT + F9

 lets extend this functionality to send SMS too ,

  • Find the target Applet , "Send SMS Applet" 

 by default there is Option to Pick Recipient which in turn selects email address as it is Based on Contact ,
 so we need to add some custom code here to Pick Phone number also for the contact
 also we need to enter the Text which we want to sens as SMS Body , and store it in a variable

 Below code in Applet PreInvoke does the needful,

 function WebApplet_PreInvokeMethod (MethodName)
 if(MethodName == "SendSMS")
 this.BusComp().ActivateField("Contact Id");
 this.BusComp().ActivateField("Email Body");

 var SMSBody = this.BusComp().GetFieldValue("Email Body"); // get SMS body to be sent
 var PhoneNum = this.BusComp().GetMVGBusComp("Contact Id").GetFieldValue("Cellular Phone #"); //get Phone number to send SMS

  •  Add Button to Invoke method say SendSMS , that will trigger SMS.

 Now we can send SMS as we have Phone number and Message Body,
 There are certain API available for this, i am using way2sms for this purpose,

 API for way2sms :
 apikey, unique key for user
 secret, unique key for user
 usetype, stage or Production
 phone, Number to send SMS to
 message, Message body

sample Request :"); 

Paramteterized Request : PhoneNumber and Message passed in Request as variable"+ PhoneNum +"&message"+ SMSBody;

now we can call Siebel EAI Transport to Hit the URL ,



var k = "***67753*2&Password=able&Message="+SMSBody+"&To="+PhoneNum+"&Key=RAHULVsG7AhXF0bnm2uz";

var EAISiebelAdapter = TheApplication().GetService("EAI HTTP Transport");
var Inputs = TheApplication().NewPropertySet(); var Outputs = TheApplication().NewPropertySet();
//Inputs.SetProperty("HTTPContentType", "text/xml; charset=UTF-8");
EAISiebelAdapter.InvokeMethod("Send", Inputs , Outputs);
 ////sms end////TheApplication().RaiseErrorText( "SMS  "+ SMSBody +"  sent to user  with Phone Number  "+ PhoneNum);*/return (CancelOperation);
 return (ContinueOperation);}

 1. ALT + F9 is default command to Open Send Wireless Message applet
 2. SMS API depends on the client, as i have chosen free demo from way2sms, working with different API ,might require different code
 3. By Default there is Option of Pick Recipient which Open a Pick applet for choosing recipient first, before navigating to Send SMS Applet, this is default behavior and can be overridden with below steps (will share detailed solution in later post)

  •   Open The User Property for the BC
  •   Search for Enable Recipient in User Property
  •   Disable and Compile/Deliver


  1. buy smart carts online. organic smart cart. are the high potency distillate free from any solvents. If this product was accurate with its claim.

  2. Stonersdankshop established in 2016 in United States has been the best vape shop exporting vape products online to most vape shops in USA and to vape . big chief extracts

  3. Here Are 10 Tips For Unpacking
    Moving with a family is indeed difficult from packing to unpacking, you have to do it all by yourself. You are solely responsible for taking care of all the important things to taking care of your family on the other hand. You have to pack

  4. seo fastest

    SEO has never been easier with this new and exclusive SEOFASTEST SEO Planner Tool.
    Just drag and drop your favorite packages into the calendar and hit the order button!
    No multiple order processes anymore! Buy backlinks with a click of a button!

  5. Superslot

    ซุปเปอร์สล็อต เราคือผู้ให้บริการสล็อตออนไลน์มีตัวเกมสล็อตให้เลือกเล่นจำนวนมากบนมือถืออันดับ 1 ทั้งฟรีเครดิต 50 ,100 , 150 , 200 ที่สามารถ

  6. Autoankauf Auf der Suche nach einem seriösen Autoankäufer in NRW sind Sie bei uns genau richtig. Wir garantieren Ihnen eine sichere und seriöse Abwicklung rund um den Autoankauf in NRW.

  7. bokep jav Bokep Indo, Bokep Barat, Bokep Asia, Bokep Gay, Bokep Semi.

  8. Thank you for oder my Gigs. Please share the details guide in the project

    shaw internet plans


  10. kiss anime The best place to watch dub and sub anime online and absolitely for free - KissAnime. With over 10000 different animes - KissAnime is the best source for anime ...

  11. New Zealand visum Thisare a private website offering our users online application services which include assistance with their application for Electronic Travel Authorization for travel to India. 

  12. voyance telephone espoir. I would recommend my profile is important to me, I invite you to discuss this topic...

  13. Yacht excursions Cyprus Your site is truly cool and this is an extraordinary moving article.

  14. Yacht Rental Cyprus Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me.

  15. In this particular article, you will see a summary, satisfy browse this post. 威而鋼

  16. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. high dofollow backlinks

  17. slotxo168 ผู้ให้บริการ SLOT ONLINE ที่มาพร้อมความบันเทิงแบบครบวงจรทั้ง สล็อต ยิงปลา การันตีความมั่นคง ปลอดภัย 100% เล่นได้ จ่ายจริง ทุกยอดเดิมพัน


Siebel GoTo View - Handling Realtime cases

 Hello All,  We all must have used GoTo view functionality of siebel to navigate to a particular view from current view. What if the require...