רשומות

מוצגים פוסטים עם התווית business service

Asynchronous Business Service Invocation in Siebel Open UI

תמונה
With Innovation Pack 2013, the Siebel Open UI API provides the possibility to invoke business service methods (and methods in general) asynchronously . This is documented ( here too ) and my friend Neel from Siebel Unleashed was the first to blog about this exciting feature. Today I would like to share with you how I put this new feature to good use. Do you remember the "Sortable Screen Tabs" series from last summer (has it really been one year already)? Recently, I was revisiting the code and the way it invoked the business service which modifies the Tab Layout data. This is the "original" code to instantiate and invoke the service. var oSvc = SiebelApp.S_App.GetService("AHA Tab Layout Service"); var inPS = SiebelApp.S_App.NewPropertySet(); var outPS = SiebelApp.S_App.NewPropertySet(); inPS.SetProperty("sTabs", tabarray.toString()); outPS = oSvc.InvokeMethod("SetTabLayout", inPS); When I look at the above code today, I must confess i...