Tuesday, November 13, 2012
Tuesday, October 23, 2012
Symbolic String Locator
As an addendum to my previous post here i publish a mini symbolic string locator. It can help you to identify at what all places any particular symbolic string is being used. As a part of beta release it searches only at the Applet(List + Control) level. It is available in Downloads section also.
This can be of real help in scenario when you are asked to modify any existing symbolic string value and you have to look at objects to compile. The advantage of this tool is you don't have to open any sort of siebel client on your machine while running it. Only you have to remember the DSN name, the one given in the CFG for local client. It takes two parameter as input.
Local DSN = The DSN name of your siebel local client and Username/Password.
Symbolic String = The symbolic string to search.
The Objects sheet gives you flexibility to search the limited objects. The output for each object type is captured in respective object sheet. If it errors out after giving correct DSN name make sure you have selected "Microsoft ActiveX Data Objects Library" in your excel references. Once again valuable inputs/suggestions/comments are always welcome.
Happy Crunching!!
Sunday, October 21, 2012
What is Ajax and why it is in Siebel Open UI
In old days siebel needs to communicate with server asynchronously. That means when you step out from a record it should save with out any page refresh. At that time there were no browsers supports this feature. But Internet explorer have such a feature which is implemented with the help of ActiveX. xmlHttpRequest can sent with the help of ActiveX. Later JSON (Javascript Object Notation)&Ajax (Asynchronous JavaScript and XML)are replaced this technology and it is world widely accepted. Ajax can communicate with server asynchronously that means with out page load or refresh the data can be sent to or retrieve from server.
But there is another problem every browsers have there own implementation on this ajax. If you are making any web application with ajax you need to take care all these browsers separately. First you need to identify the client browsers and then invoke their technology to send data to our server.
jQuery comes with cross browser solutions. If you add jQuery library in your code, all these things will take care by jQuery. you need to call jQuery Ajax and pass values to jQuery. Three or four lines of code replaces all these things.
$.ajax({
url: "test.html",
data: "uname="+uname
context: document.body
}).done(function() {
$(this).addClass("done");
.error(function(){
});
.success(function(){
});
});
The above code and there are more optional parameters can effective handle Ajax request & response.
But there is another problem every browsers have there own implementation on this ajax. If you are making any web application with ajax you need to take care all these browsers separately. First you need to identify the client browsers and then invoke their technology to send data to our server.
jQuery comes with cross browser solutions. If you add jQuery library in your code, all these things will take care by jQuery. you need to call jQuery Ajax and pass values to jQuery. Three or four lines of code replaces all these things.
$.ajax({
url: "test.html",
data: "uname="+uname
context: document.body
}).done(function() {
$(this).addClass("done");
.error(function(){
});
.success(function(){
});
});
The above code and there are more optional parameters can effective handle Ajax request & response.
Tuesday, October 16, 2012
Learn how to customize Open UI
We can easily customize open UI to beautiful website with heavy data that can be loaded in any browsers.
Since Open UI support jQuery as well as HTML 5 we can easily develop mobile application also with out approaching any mobile web developer. What are the prerequisites for studying these things?
-> HTML
-> CSS
-> JavaScript
->jQuery (Javascript Library)
->HTML 5 (Optional)
If you have some HTML/ Javascript background you can easily learn jQuery & HTML 5. Else you need to study the basics of HTML/CSS/Javascript
You can learn it from here 1. W3Schools
Learn HTML
Learn CSS
Learn JavaScript
Learn jQuery
Learn HTML 5
2. TiZag
You can also find these tutorials from this site.
After you learned all this things / or in the next post let's learn about Ajax
Why old days Siebel supports IE only etc...
Since Open UI support jQuery as well as HTML 5 we can easily develop mobile application also with out approaching any mobile web developer. What are the prerequisites for studying these things?
-> HTML
-> CSS
-> JavaScript
->jQuery (Javascript Library)
->HTML 5 (Optional)
If you have some HTML/ Javascript background you can easily learn jQuery & HTML 5. Else you need to study the basics of HTML/CSS/Javascript
You can learn it from here 1. W3Schools
Learn HTML
Learn CSS
Learn JavaScript
Learn jQuery
Learn HTML 5
2. TiZag
You can also find these tutorials from this site.
After you learned all this things / or in the next post let's learn about Ajax
Why old days Siebel supports IE only etc...
Monday, October 15, 2012
Symbolic String Compilation
Issues are multifaceted. They can teach and piss you off at the same time.
Recently we faced a simple-cum-silly issue while changing the symbolic string. I have modified the string value of existing string but to my surprise the new value was not getting reflected in the applet. It is only after the compilation of Applet,where this symbolic string is being used, changes were reflected. This is because objects may store the string name rather reference.
Ideally the compilation of symbolic string should have sufficed but unfortunately we have to compile all the underline objects where it is being used in order to confirm the change.
This gives rise to bigger question how to know at what all places any particular Symbolic String is being used. Repository search can aid but again it can force you to wait for ages. I am in process of creating a tool which will take any Symbolic String as Input and will list all the objects where it is being used. Hope to put for global audience for comments soon.
Happy Crunching!!
Recently we faced a simple-cum-silly issue while changing the symbolic string. I have modified the string value of existing string but to my surprise the new value was not getting reflected in the applet. It is only after the compilation of Applet,where this symbolic string is being used, changes were reflected. This is because objects may store the string name rather reference.
Ideally the compilation of symbolic string should have sufficed but unfortunately we have to compile all the underline objects where it is being used in order to confirm the change.
This gives rise to bigger question how to know at what all places any particular Symbolic String is being used. Repository search can aid but again it can force you to wait for ages. I am in process of creating a tool which will take any Symbolic String as Input and will list all the objects where it is being used. Hope to put for global audience for comments soon.
Happy Crunching!!
Subscribe to:
Posts (Atom)
