tag:blogger.com,1999:blog-41285492559699164002024-02-19T00:59:02.329-08:00Lotus NotesTips and Tricks for Lotus Domino and Domino JavaRishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.comBlogger106125tag:blogger.com,1999:blog-4128549255969916400.post-1017705591982370782010-09-30T23:36:00.000-07:002010-10-01T00:10:28.938-07:00Lotus Script agent sometimes unable to include Script Library, Any solution ?I've a Lotus Script agent which usage Script library which is having Lotus Script classes and those classes are used in the agent.<br /><br />Sometimes agent unable to include the script library so the line where I create an object of the class gets failed. It throws <span style="font-weight:bold;">"Type mismatch on external name"</span> error. <br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TKWDpmVSSOI/AAAAAAAABtw/byVTT2IsLSk/s1600/error.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 26px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TKWDpmVSSOI/AAAAAAAABtw/byVTT2IsLSk/s400/error.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5522965268727482594" /></a><br /><br />To fix this, I only require to re-save the agent. It doesn't happen frequently but once or twice in a month. How to get rid of this problem ?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com14tag:blogger.com,1999:blog-4128549255969916400.post-55868296387521181852010-09-20T20:24:00.000-07:002010-09-20T20:33:35.175-07:00Is it really hard to deploy custom SharePoint applications ?A week ago I've asked this question on <a href="http://stackoverflow.com/questions/3698932/question-about-custom-sharepoint-apps-deployment">stackoverflow.com</a> and surprisingly didn't receive any response.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TJgl77gqN9I/AAAAAAAABtc/RC7f4ka3B9w/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 119px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TJgl77gqN9I/AAAAAAAABtc/RC7f4ka3B9w/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5519203054859728850" /></a><br /><br />I'm going to get involve ( may be fully ) in deploying customized SharePoint application on our development server.I will sure post my experience with how to do steps. <br /><br />Meanwhile,I'm really interested to know someone's else experience :)Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-55401839870396584192010-09-16T03:25:00.000-07:002010-09-16T03:32:08.533-07:00Any clue about this error ?What could be the possible reason to get this error ,<br /><br /><span style="font-weight:bold;">Unable to store document in xxxxx.nsf (NoteID = 670238) from server xxxxx.nsf (NoteID = 693670): Field length stored in document is incorrect </span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TJHx41dakFI/AAAAAAAABtU/j9dO_rIL_l0/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 77px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TJHx41dakFI/AAAAAAAABtU/j9dO_rIL_l0/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5517456977230991442" /></a><br /><br /><br />Does anyone experience this before ? We are getting this error on multiple servers.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com6tag:blogger.com,1999:blog-4128549255969916400.post-33406096010921270782010-09-12T21:19:00.000-07:002010-09-12T22:45:29.445-07:00Accessing pdf form fields using Domino JavaFrom past couple of days I'm working on a prototype project in which pdf form fields should be accessed using Domino Java.<br /><br />There are couple of tasks involved in this project ,<br /><br />* Designing user interface in pdf and<br />* Reading fields data using Java<br /><br />I have struggle a lot to accomplish these tasks so I thought to blog it for my other fellow LN developers.<br /><br /><span style="font-weight:bold;"><table BORDER=0 width=100% style="border-style:solid;border-width:1px;border-color:#ECE9D6;"><tr><td bgcolor="#ECE9D8"><b>Designing user interface in pdf</b></td></tr></table></span><br /><br />To design user interface in pdf , You may choose any of these following options,<br /><br /><span><table BORDER=0 width=100% style="border-style:solid;border-width:1px;border-color:#ECE9D8;"><tr><td bgcolor="#ECE9D8">1- <a href="http://sourceforge.net/projects/itext/files/">Using iText Java API</a>: IText for Java API provides handful of methods to design user interface in pdf.It's like a old Java AWT methods where you need to calculate coordinates to place your objects.It's not very precise and takes lots of time to design simple interface.Don't go with it if you want to design complex form.<br /><br />2- <a href="http://www.adobe.com/products/livecycle/designer/">Adobe LiveCycle Designer</a>: I've tried with trial version of this tool and found it allows you to design user interface and save it.But,You can't edit it in Adobe reader. For that, You must "Distribute" the form after saving.Distribution option is disabled in trial version and this option remain disabled if you are using stand alone version of this tool ( which I got from net).Adobe LiveCycle designer is integrated with Adobe Acrobat Pro.<br /><br />3- <a href="http://www.adobe.com/products/indesign/">Adobe InDesign</a>: This can be used to design acro pages but you must use Adobe Acrobat Pro to convert designed page into Acrobat form.You can refer following link to design form in InDesign,<br /><br /><a href="http://layersmagazine.com/indesign-cs3-in-good-form.html">InDesign CS3, In Good Form</a><br /><br />4- <a href="http://www.adobe.com/products/acrobatpro/">Adobe Acrobat Pro</a>: I'm using this and it fits perfectly to my need. Here is my sample form designed using Adobe Pro where information can be added and saved.,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TI20k44TsUI/AAAAAAAABs8/-mslm7YtmPs/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 166px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TI20k44TsUI/AAAAAAAABs8/-mslm7YtmPs/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5516263664435573058" /></a><br /><br /></td></tr></table></span><br /><br /><span style="font-weight:bold;"><table BORDER=0 width=100% style="border-style:solid;border-width:1px;border-color:#ECE9D6;"><tr><td bgcolor="#ECE9D8">Reading fields data using Java</td></tr></table></span><br /><br />To accomplish this,I've used iText for Java API which seems only way to communicate easily with pdf objects.<br /><br />Since I'm not using iText to design pdf interface so accessing existing pdf using iText is pretty straight forward.<br /><br /><span><table BORDER=0 width=100% style="border-style:solid;border-width:1px;border-color:#ECE9D8;"><tr><td bgcolor="#ECE9D8"><br />First, Add following two jars in your "Archive" folder of your agent ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TI22A36tFFI/AAAAAAAABtE/v63owWfSYuQ/s1600/2.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 302px; height: 239px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TI22A36tFFI/AAAAAAAABtE/v63owWfSYuQ/s400/2.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5516265244725154898" /></a><br /><br />Here is rest of code,<br /><br />import lotus.domino.*;<br />import java.io.IOException;<br />import java.util.HashMap;<br />import java.util.Iterator;<br /><br />import com.itextpdf.text.pdf.AcroFields;<br />import com.itextpdf.text.pdf.PdfReader;<br /><br />public class JavaAgent extends AgentBase {<br /><br /> public void NotesMain() {<br /><br /> try {<br /> Session session = getSession();<br /> AgentContext agentContext = session.getAgentContext();<br /><br /> try {<br /> PdfReader reader = new PdfReader("C:\\My Documents\\SampleForm.pdf");<br /> AcroFields form = reader.getAcroFields();<br /> HashMap fields = (HashMap) form.getFields();<br /> String key;<br /> <br /> for (Iterator i = fields.keySet().iterator(); i.hasNext(); ) {<br /> key = (String) i.next();<br /> System.out.println(form.getField(key));<br /> <br /> }<br /> }<br /> catch (IOException ioe) {<br /> System.err.println(ioe.getMessage());<br /> } <br /><br /> } catch(Exception e) {<br /> e.printStackTrace();<br /> }<br /> }<br />}<br /><br /><span style="font-style:italic;">Note: If you know the fields name of your pdf form then you don't need for loop to scan entire form.</span><br /><br />Here is the output ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TI2466w_wBI/AAAAAAAABtM/R5otpXzwfrk/s1600/3.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 273px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TI2466w_wBI/AAAAAAAABtM/R5otpXzwfrk/s400/3.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5516268440945410066" /></a><br /><br /></td></tr></table></span><br /><br />As this project goes, I will write more about it.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com10tag:blogger.com,1999:blog-4128549255969916400.post-37680761699433710302010-09-07T20:17:00.000-07:002010-09-07T22:04:36.841-07:00What is the best place to keep external jars in Domino Java ?I prefer to keep my jars in Archive folder<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/TIcTg61eZQI/AAAAAAAABsU/sENq5c1-Bpg/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 295px; height: 222px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/TIcTg61eZQI/AAAAAAAABsU/sENq5c1-Bpg/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5514397725008749826" /></a><br /><br /><br />But some bloggers says better to keep in <span style="font-weight:bold;">\jvm\lib\ext\</span> path.<br /><br />I'm testing my project on my client later it will work as scheduler.So, I tried to remove my jar from "Archive" folder and placed in following path on my local ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/TIcUlxd6Y6I/AAAAAAAABsc/cyAN8SnzxMw/s1600/3.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 385px; height: 189px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/TIcUlxd6Y6I/AAAAAAAABsc/cyAN8SnzxMw/s400/3.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5514398907904975778" /></a> <br /><br />Restarted my client and recompiled my code, It stop detecting Oracle driver class and suggested following,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TIcU9DsOmOI/AAAAAAAABsk/m-DZMvpap4M/s1600/2.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 115px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/TIcU9DsOmOI/AAAAAAAABsk/m-DZMvpap4M/s400/2.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5514399307933849826" /></a><br /><br />Next, I thought to set in Java build path. So, I added my jar in Libraries->Add external jars of project properties. Now, I was able to compile my code but when ran it throws an error "Class is missing".<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIcVmWvmOVI/AAAAAAAABss/cWP-ygLn1Ww/s1600/4.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 192px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIcVmWvmOVI/AAAAAAAABss/cWP-ygLn1Ww/s400/4.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5514400017422891346" /></a><br /><br />So, Now I'm again back to my working solution i.e., adding jars in archive folder of an agent.It works perfectly on my client but when I tried making it as a scheduler . It didn't work and server console says,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIcXKhr1AaI/AAAAAAAABs0/KPGhEVm3pRo/s1600/5.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 75px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIcXKhr1AaI/AAAAAAAABs0/KPGhEVm3pRo/s400/5.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5514401738346791330" /></a> <br /><br />Should I assume it's because agent is not able to detect "odbc.jar" ? <br /><br />But some bloggers say "Java.lang.UnsupportedClassVersionError: Bad version number" because when you compile a .java file with one version of JDK and running the .class file with a different version of JVM. <br /><br />I'm compiling my code on 8.5.1 and server is 8.0.1 ( Linux OS ). <br /><br />What I would like to know ,<br /><br />* Where should I keep my jars for client or server based Domino Java apps ?<br /><br />* If domino client and server are not using same JDK version, How do I make sure my compile code works perfectly on any Domino server?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com6tag:blogger.com,1999:blog-4128549255969916400.post-52519666112448156902010-09-07T05:44:00.000-07:002010-09-07T06:53:14.805-07:00Does JavaDebugString setting works on client's notes.ini ?In my last post ( http://planetlotus.org/735190 ), I've mentioned adding <span style="font-weight:bold;">JavaDebugString=-XX:MaxPermSize=256M</span> in my workstation's notes.ini increased the heap size.But,it doesn't seems true when I tested with following piece of code ,<br /><br /> <span style="font-weight:bold;">public void NotesMain() {<br /><br /> try {<br /> Session session = getSession();<br /> AgentContext agentContext = session.getAgentContext();<br /><br /> //Get the jvm heap size.<br /> long heapSize = Runtime.getRuntime().totalMemory(); <br /> //Print the jvm heap size.<br /> System.out.println("Heap Size = " + heapSize);<br /><br /><br /> } catch(Exception e) {<br /> e.printStackTrace();<br /> }<br /> }<br /></span><br /><br />It says <span style="font-weight:bold;">16777216 </span> in both the cases. Does this setting only works on server's ini file or something wrong with my settings ? So, here are still my unanswered questions,<br /><br />* How do I increase heap size of Java agents on client or server machine ?<br /><br />* I assume increasing heap size may affect server performance, So is it possible to increase for just one agent or database ?<br /><br />I've tried changing <span style="font-weight:bold;">HTTPJVMMaxHeapSize</span> but no effect.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com4tag:blogger.com,1999:blog-4128549255969916400.post-42121831404310296052010-09-06T22:06:00.000-07:002010-09-06T23:17:59.551-07:00Overflow-Memory leak : What am I suppose to do ?I'm in process of aligning my Java agent which mainly does two tasks, One to create Oracle table based on Oracle table configuration domino form and second to push Lotus Notes documents to Oracle.<br /><br />Unfortunately I haven't used recycle () correctly which leads memory leak and then overflow error. Once I get "Overflow" error, I can't run my Java agent. Every time I try it says same error doesn't matter if I try only with ,<br /><br />System.out.println("hello world");<br /><br />I thought if I restart my domino server it will kill hanged threads but I get same error even if I restart my domino server. However, when I restart my client it fixed the problem. So my question are,<br /><br />* How does Java threads are connected to Notes client?<br /><br />* How to kill Java threads without restarting Domino server?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com16tag:blogger.com,1999:blog-4128549255969916400.post-7909477539530767022010-09-06T01:59:00.001-07:002010-09-06T02:20:04.215-07:00How to use recycle method in Domino Java efficiently ?Demonstration of recycle method in designer help is fairly simple but how to use efficiently in little complex classes. Here is simple example,<br /><br />Places where I've used recycle method is commented with "my assumptions".Let me know my mistakes or suggest me better way to design classes.<br /><br />JavaAgent.java<br />--------------------------------------------<br /><br />import lotus.domino.*;<br /><br /><span style="font-weight:bold;">public class JavaAgent extends AgentBase <br />{</span><br /> <br /> <span style="font-weight:bold;">public void NotesMain() {</span><br /> <br /> <span style="font-weight:bold;">try {</span><br /> Session session = getSession();<br /> AgentContext agentContext = session.getAgentContext();<br /> Database db = agentContext.getCurrentDatabase();<br /> ...<br /> Animal cat= new Animal(session);<br /> cat.findDetails(session);<br /><br /> /* my assumptions */<br /> session.recycle();<br /> db.recycle();<br /> /*-------------*/<br /> } <br /> <span style="font-weight:bold;">catch(Exception e) {</span><br /> e.printStackTrace();<br /> <span style="font-weight:bold;">}<br /> }<br />}</span><br /><br />Animal Class<br />-----------------------------------------------<br /><br />import lotus.domino.*;<br />import java.sql.*;<br /><br /><span style="font-weight:bold;">public class Animal {</span><br /><br /> /* find details method */<br /> public String findDetails(Session session) throws Exception<br /> <span style="font-weight:bold;">{<br /> try{</span><br /> <br /> Database A= session.getDatabase(db.getServer(), "A");<br /> getCatFromDb("A");<br /> removeCat();<br /> ...<br /> /* my assumptions */<br /> conn.close(); //created in constructor<br /> stmt.close(); // created in getCatFromDb <br /> rs.close(); // created in getCatFromDb <br /> A.recycle(); //created in findDetails<br /> db.recycle(); // created in constructor<br /> /*----------*/<br /> <span style="font-weight:bold;">}<br /> catch(Exception e)<br /> {</span><br /> e.printStackTrace();<br /> <span style="font-weight:bold;">}<br /> }</span><br /> /* Start Constructor */<br /> <span style="font-weight:bold;">Animal (Session session)throws Exception {</span><br /> <span style="font-weight:bold;">try {</span><br /> AgentContext agentContext = session.getAgentContext();<br /> db = agentContext.getCurrentDatabase();<br /> conn=...external driver...<br /> ...some stuffs from db...<br /> Document doc = db.getProfileDocument("config","");<br /> ...some stuffs from doc...<br /><br /> ...jdbc connection here...<br /> ...<br /> <span style="font-weight:bold;">}<br /> catch(Exception e)<br /> {</span><br /> e.printStackTrace();<br /> <span style="font-weight:bold;">} <br /> }</span> // end Constructor<br /><br /> /* getCatFromDb method */<br /> <span style="font-weight:bold;"> public void getCatFromDb(Database dbPath){</span><br /> <span style="font-weight:bold;"> try{</span><br /> View v=dbPath.getView("A");<br /> if(v!=null)<br /> {<br /> Document doc= v.getFirstDocument();<br /> while (doc != null)<br /> {<br /> ..some stuffs from external db like <br />creating statement,recordset etc ...<br /> <br /> doc = v.getNextDocument(doc);<br /> }<br /> <span style="font-weight:bold;"> }</span><br /> <span style="font-weight:bold;">}</span><span style="font-weight:bold;">catch(Exception e){</span>e.printStackTrace();<span style="font-weight:bold;">}</span><br /> <span style="font-weight:bold;">}</span><br /> <span style="font-weight:bold;"> public void removeCat() {</span><br /><br /> // some stuffs here..<br /><br /> <span style="font-weight:bold;"> }</span><br /><br /><span style="font-weight:bold;">}</span>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com2tag:blogger.com,1999:blog-4128549255969916400.post-31822508180354370882010-09-05T20:31:00.001-07:002010-09-05T22:56:01.463-07:00What does this Domino Java error means ?Any clue about this error ? Please note, I'm not doing anything to handle attachments.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TIRgpKTHSWI/AAAAAAAABrI/E9qtZVisPlA/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 198px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TIRgpKTHSWI/AAAAAAAABrI/E9qtZVisPlA/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5513638104063756642" /></a><br /><br />My Java console says , "java.lang.OutOfMemoryError"<br /><br />I'm recycling session and database once agent is done. Here is some piece of code,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TIRiH_nsH_I/AAAAAAAABrQ/0a3fYKBeHSw/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 299px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/TIRiH_nsH_I/AAAAAAAABrQ/0a3fYKBeHSw/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5513639733284839410" /></a><br /><br />Some more updates , code even doesn't execute very first "system.out.println.." line<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIR5vk4UTtI/AAAAAAAABr4/vOEiXFjbk-Y/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 328px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TIR5vk4UTtI/AAAAAAAABr4/vOEiXFjbk-Y/s400/1.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5513665702069030610" /></a><br /><br /><span style="font-weight:bold;">Updates:</span><br /><br />Adding following in workstation's notes.ini solved the problem,<br /><br /><span style="font-weight:bold;">JavaDebugString=-XX:MaxPermSize=256M</span><br /><br />Any consequences in performance if I go with following setting ?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com4tag:blogger.com,1999:blog-4128549255969916400.post-65388974055553715752010-08-26T20:27:00.000-07:002010-08-27T00:15:06.731-07:00Irritating Domino Java "Progress Information" dialogHere is most irritating thing in Domino Java. I'm waiting to finish this saving from last 3-4 minutes. <br /><br />What should I do ? Kill my Notes and restart or any happy solution ?<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/THcxAffXOQI/AAAAAAAABq4/eRIVZUno2Po/s1600/java.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 326px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/THcxAffXOQI/AAAAAAAABq4/eRIVZUno2Po/s400/java.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5509926553633896706" /></a>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-28212146490907346542010-07-06T19:18:00.000-07:002010-07-07T18:34:32.785-07:00Strange error while editing profile document<div><br /></div><div>Suddenly I'm unable to edit my profile document. I tried creating new but every time ended up with same error. Edit DB Profile agent has @Command([EditProfile];"DBProfile") formula.</div><div><br /></div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TDPkXduCuKI/AAAAAAAABpk/LeIk9xmWcRA/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 208px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/TDPkXduCuKI/AAAAAAAABpk/LeIk9xmWcRA/s400/1.PNG" border="0" alt="" id="BLOGGER_PHOTO_ID_5490983462460635298" /></a><br /><div>Any thoughts ?</div><div><br /></div><div><b><span class="Apple-style-span" style="color:#000099;"><i>Updates :</i></span></b><span class="Apple-style-span" style="color:#000099;"><i> Deleting Cache.NDK file fixed the problem.</i></span></div><div><br /></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-30682737776001358182010-05-03T22:01:00.000-07:002010-05-03T22:10:28.205-07:00Print Vs PrintWriter in Lotus Notes 6<span class="Apple-style-span" style="font-size: small;">To further continue on my problem ( </span><span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; "><a href="http://planetlotus.org/6a6c9c" style="color: rgb(153, 102, 153); "><span class="Apple-style-span" style="font-size: small;">http://planetlotus.org/6a6c9c</span></a><span class="Apple-style-span" style="font-size: small;"> ),I'm seeking best possible way to build and pass xml of Notes document to third party application.I can't use view directly to generate xml because view contents needs to be updated each time when user use filter conditions. </span></span><div><span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; "><span class="Apple-style-span" style="font-size: small;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:verdana, arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;">Now, I'm thinking to convert my Lotus Script agent into a Java one , by thinking "PrintWriter" can provide more size than a Lotus Script print statement . </span></span></div><div><span class="Apple-style-span" style="font-family:verdana, arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:verdana, arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;">Can anyone provide some thoughts on this ? or any such experience on R6 servers ?</span></span></div><div><span class="Apple-style-span" style="font-family:verdana, arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:verdana, arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;"><br /></span></span></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-24617322594925272452010-04-29T20:40:00.000-07:002010-04-29T21:02:37.370-07:00HELP: NotesStream class or Variant data typeI've been fighting with Lotus Notes limit issue from past couple of days. I'm building xml file from notes documents and passing them to non domino application.<div><br /><div>Initially I chose "variant" data type to store xml file and send using "Print" method. Everything works fine on >R7 servers but failed on R6 servers when document grows more than 1000. </div><div><br /></div><div>Is there any "variant" data type limit on R6 servers ??<div><br /></div><div>Here is chunk of code using "variant" data type,</div><div><br /></div><div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/S9pWFsKCB7I/AAAAAAAABnc/1ayzZmzYliI/s1600/2.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 105px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/S9pWFsKCB7I/AAAAAAAABnc/1ayzZmzYliI/s400/2.PNG" border="0" alt="" id="BLOGGER_PHOTO_ID_5465775753520089010" /></a></div><div><br /></div><div>Second solution, I've tried using "NotesStream" class. However this one also failed on R6 servers. Though it's mentioned 2GB maximum bytes can be written but still getting failed.</div><div><br /></div><div>Here is chunk of code using NotesStream class,</div><div><br /></div><div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/S9pU_GxD9uI/AAAAAAAABnU/sP_fLpKxqH0/s1600/1.PNG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 119px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/S9pU_GxD9uI/AAAAAAAABnU/sP_fLpKxqH0/s400/1.PNG" border="0" alt="" id="BLOGGER_PHOTO_ID_5465774540892403426" /></a></div><div><br /></div><div><br /></div><div>Any thoughts ??</div></div></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com5tag:blogger.com,1999:blog-4128549255969916400.post-27850891769116024802009-12-10T21:19:00.000-08:002009-12-11T00:19:35.267-08:00XPages : How do you do ? ( Part 2)In my <a href="http://planetlotus.org/5f47cc">first</a> "How do you do" <span class="blsp-spelling-error" id="SPELLING_ERROR_0">xpages</span> learning series I learned how to execute client side simple Java Script on <span class="blsp-spelling-error" id="SPELLING_ERROR_1">xpages</span> , Thanks to Tim <span class="blsp-spelling-error" id="SPELLING_ERROR_2">Tripcony</span> who shared interesting work around.<br /><br />Actually I was trying to execute existing LS dashboard agent on <span class="blsp-spelling-error" id="SPELLING_ERROR_3">xpage</span> using client side Java Script to draw a chart. Lets see how I've done,<br /><br />1- Created a new JavaScript script library with client side JavaScript which contains my <span class="blsp-spelling-error" id="SPELLING_ERROR_4">xmlhttp</span> module to call Lotus Script agent.<br /><br />2- I've my Lotus Script agent ready which have logic to build flash charts ( Fusion Charts )<br /><br />3- Created button "Draw Chart" on <span class="blsp-spelling-error" id="SPELLING_ERROR_5">xpage</span> and added JavaScript function "<span class="blsp-spelling-error" id="SPELLING_ERROR_6">drawChart</span>()" which is inside my JavaScript library.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SyHc2A5ABDI/AAAAAAAABiI/ooLkhlTxlWM/s1600-h/xpages1.1.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 202px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SyHc2A5ABDI/AAAAAAAABiI/ooLkhlTxlWM/s400/xpages1.1.bmp" alt="" id="BLOGGER_PHOTO_ID_5413851047586169906" border="0" /></a><br /><span style="text-decoration: underline;"><span style="font-style: italic;"><br /></span></span>You might notice I've selected "Server" tab instead "Client" one , Just following Tim's advice.<span style="text-decoration: underline;"><br /><br /></span>4- Open source of <span class="blsp-spelling-error" id="SPELLING_ERROR_7">xpage</span> and add your Client side JavaScript library reference .<span style="text-decoration: underline;"><br /><br /></span> <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SyHfbKY7ZLI/AAAAAAAABiQ/SXczWupZ2xk/s1600-h/xpages1.2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 59px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SyHfbKY7ZLI/AAAAAAAABiQ/SXczWupZ2xk/s400/xpages1.2.bmp" alt="" id="BLOGGER_PHOTO_ID_5413853884814419122" border="0" /></a><br /><cite><br />To add Server side JavaScript library reference instead of ".<span class="blsp-spelling-error" id="SPELLING_ERROR_8">js</span>" use ".<span class="blsp-spelling-error" id="SPELLING_ERROR_9">jss</span>" and <span class="blsp-spelling-error" id="SPELLING_ERROR_10">clientSide</span>="false"<br /><br />5- As per Tim's advice add additional tags in source, </cite><xp:this.handlers><xp:handler type="text/javascript"><span style="font-style: italic;">so </span>completed code will be ,<br /><br /><xp:view xp="http://www.ibm.com/xsp/core" xc="http://www.ibm.com/xsp/custom"><xp:this.resources></xp:this.resources><xp:button value="Draw Chart" id="btnDrawChart"><xp:eventhandler event="onclick" submit="false"><xp:this.handlers><xp:handler type="text/javascript"><xp:this.script></xp:this.script></xp:handler></xp:this.handlers></xp:eventhandler></xp:button><div id="displayContents"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SyHf7cAklqI/AAAAAAAABiY/wifot9m5oEk/s1600-h/xpages1.3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 229px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SyHf7cAklqI/AAAAAAAABiY/wifot9m5oEk/s400/xpages1.3.bmp" alt="" id="BLOGGER_PHOTO_ID_5413854439299913378" border="0" /></a>6- Switch to "Design" view of your <span class="blsp-spelling-error" id="SPELLING_ERROR_11">xpage</span> and notice now code is moved into "Client" tab ( though we have started with "Server" tab )<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SyHgoF6KooI/AAAAAAAABig/iwcZQIjASPs/s1600-h/xpages1.4.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 183px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SyHgoF6KooI/AAAAAAAABig/iwcZQIjASPs/s400/xpages1.4.bmp" alt="" id="BLOGGER_PHOTO_ID_5413855206461579906" border="0" /></a><br />Here is my desire output on the web when button is clicked ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SyHhWuS2IaI/AAAAAAAABio/0cRrCrGpzmU/s1600-h/xpages1.5.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 258px; height: 400px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SyHhWuS2IaI/AAAAAAAABio/0cRrCrGpzmU/s400/xpages1.5.bmp" alt="" id="BLOGGER_PHOTO_ID_5413856007576494498" border="0" /></a><br />Few days ago I was working on "Flex builder" and it's interesting to see <span class="blsp-spelling-error" id="SPELLING_ERROR_12">xpages</span> development is very similar to flex development. Those who knows either of these can accelerate really fast.<br /><br /></div></xp:view></xp:handler></xp:this.handlers>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com4tag:blogger.com,1999:blog-4128549255969916400.post-46039630093557361892009-12-10T17:37:00.000-08:002009-12-10T18:03:22.543-08:00XPages : How do you do ? ( Part 1)It's very common to see new articles and tips about <span class="blsp-spelling-error" id="SPELLING_ERROR_0">xpages</span> in planet Lotus every day. Today I thought to make myself familiar with <span class="blsp-spelling-error" id="SPELLING_ERROR_1">xpages</span>. To do so I thought to try with very popular and simple program alerting "Hello World" when <span class="blsp-spelling-error" id="SPELLING_ERROR_2">xpage</span> loads .<br /><br />Here is what I've tried,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SyGmzkDRjgI/AAAAAAAABh4/5-j1uYqp8pE/s1600-h/xpages2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 138px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SyGmzkDRjgI/AAAAAAAABh4/5-j1uYqp8pE/s400/xpages2.bmp" alt="" id="BLOGGER_PHOTO_ID_5413791631856995842" border="0" /></a><br />When I view my <span class="blsp-spelling-error" id="SPELLING_ERROR_3">xpage</span> on web got something like ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SyGnNys_-VI/AAAAAAAABiA/wEghuDLZJe8/s1600-h/xpages3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 128px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SyGnNys_-VI/AAAAAAAABiA/wEghuDLZJe8/s400/xpages3.bmp" alt="" id="BLOGGER_PHOTO_ID_5413792082466699602" border="0" /></a><br />I'm using 8.5.1 designer with 8.5 server . Any clue ?<br /><br />Is it the right way to execute client side JavaScript on <span class="blsp-spelling-error" id="SPELLING_ERROR_4">xpages</span> ?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com6tag:blogger.com,1999:blog-4128549255969916400.post-8095933032849381522009-11-05T17:07:00.000-08:002009-11-05T17:23:48.963-08:00Microsoft cuts BPOS price to squeeze LotusJust started my day with a cup of coffee and Google news and found an <a href="http://blogs.zdnet.com/SAAS/?p=929">article</a> in zdnet about some Microsoft market strategy.I don't get much interest in reading non technical stuffs but something is quite noticeable in this article.<br /><br /><span style="font-style: italic;background-color:yellow;" >"In a briefing earlier this week, Ron Markezich, corporate VP, Microsoft Online Services told me that most of his team’s customer wins are at the expense of the IBM division: “Seventy-five percent of our enterprise customers are coming from a non-Microsoft platform — predominantly [Lotus] Notes.”</span><br /><br />What only I care , Is this a correct figure ? If it is then It's serious concern for Lotus Notes professionals , But if not then what.. <br /><br />I would say F**k off Microsoft, don't spoil my day !Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-59474906271073191492009-11-01T23:59:00.001-08:002009-11-16T18:23:36.461-08:00Designer 8.5.1 goodies - II ( Web Services Testing )In my <a href="http://planetlotus.org/5bdaec">last article</a>, I've demonstrated how designer 8.5.1 can be used to connect SVN environments within domino designer for version controls.<br /><br />In this series, I'm going to show how designer 8.5.1 can be used to test Web Services in simple steps using SoapUI within Lotus Notes. Those who haven't done much in web services can follow my last article ( <a href="http://planetlotus.org/4ebf74">Web Services implementation in Domino</a> ) and I would discuss the same flight booking availability web service here. So lets skip the code and other details which I've added in the last article only Web Service testing part will be discussed.<br /><br />You may notice I've used Eclipse WTP to test my web service in earlier article. Let's check how SoapUI plugin with Domino designer 8.5.1 can used to test Web Services.<br /><br />First step would be to install SoapUI plugin from <span style="FONT-WEIGHT: bold">http://www.soapui.org/eclipse/update/site.xml</span> update site. Other details will be the same as mentioned in the last article. Once installation is done you can see SoapUI plugin in application location like below,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Su6X7fzfI2I/AAAAAAAABgk/pDhgFYQWWi8/s1600-h/Designer_SOAP_9.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 238px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399420051669328738" border="0" alt="" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Su6X7fzfI2I/AAAAAAAABgk/pDhgFYQWWi8/s400/Designer_SOAP_9.bmp" /></a><br /><br />Now go to designer and change your perspective to SoapUI,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZDDZCOTI/AAAAAAAABgs/cG5sZLrQfl4/s1600-h/Designer_SOAP_1.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 278px; DISPLAY: block; HEIGHT: 299px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399421280992770354" border="0" alt="" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZDDZCOTI/AAAAAAAABgs/cG5sZLrQfl4/s400/Designer_SOAP_1.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZHRvT1xI/AAAAAAAABg0/79Y5tLFeXP8/s1600-h/Designer_SOAP_2.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 312px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399421353563772690" border="0" alt="" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZHRvT1xI/AAAAAAAABg0/79Y5tLFeXP8/s400/Designer_SOAP_2.bmp" /></a><br /><br />Create new SoapUI project ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZXEa359I/AAAAAAAABg8/sZ6UM84uLjk/s1600-h/Designer_SOAP_3.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 305px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399421624866301906" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZXEa359I/AAAAAAAABg8/sZ6UM84uLjk/s400/Designer_SOAP_3.bmp" /></a><br /><br />Specify project name and WSDL file location,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZmNcCgrI/AAAAAAAABhE/WIhUv1HCONs/s1600-h/Designer_SOAP_4.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 247px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399421884985148082" border="0" alt="" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su6ZmNcCgrI/AAAAAAAABhE/WIhUv1HCONs/s400/Designer_SOAP_4.bmp" /></a><br /><br />Once you have done with wizard you should get following hierarchy ( It may differ if you generate TestSuite and MockService ).<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su6aTr6z3iI/AAAAAAAABhM/RpZYnm7wOUM/s1600-h/Designer_SOAP_5.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 324px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399422666261388834" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su6aTr6z3iI/AAAAAAAABhM/RpZYnm7wOUM/s400/Designer_SOAP_5.bmp" /></a><br /><br />Double click on "Request 1" to open SOAP request window,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6bjSDCziI/AAAAAAAABhU/Fn4WKUM8q7g/s1600-h/Designer_SOAP_6.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 82px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399424033706135074" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6bjSDCziI/AAAAAAAABhU/Fn4WKUM8q7g/s400/Designer_SOAP_6.bmp" /></a><br /><br />You may notice there are some question marks in XML tag which denotes SOAP request needs argument to generate SOAP response. My flight booking web service takes four arguments Travel start date, Travel end date, Travel from and Travel to. I will pass the arguments as per my sample documents.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6dU-JE6gI/AAAAAAAABhs/6W23ALn4VGM/s1600-h/LN_Docs.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 74px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399425986867816962" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6dU-JE6gI/AAAAAAAABhs/6W23ALn4VGM/s400/LN_Docs.bmp" /></a><br /><br />Pass your arguments and click on green arrow button . Here are both the results,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6csyVEkkI/AAAAAAAABhc/aocV27JCjb4/s1600-h/Designer_SOAP_7.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 64px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399425296502133314" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su6csyVEkkI/AAAAAAAABhc/aocV27JCjb4/s400/Designer_SOAP_7.bmp" /></a><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su6c57A2FUI/AAAAAAAABhk/WqenamKU9X4/s1600-h/Designer_SOAP_8.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 60px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399425522171516226" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su6c57A2FUI/AAAAAAAABhk/WqenamKU9X4/s400/Designer_SOAP_8.bmp" /></a><br /><br />Drop me an e-mail for the database discussed in the article.<br /><br />Stay tune for more...Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com2tag:blogger.com,1999:blog-4128549255969916400.post-35346013647682853472009-10-30T00:49:00.000-07:002009-11-16T18:23:47.845-08:00Designer 8.5.1 goodies - I ( Version control possibilities )I was trying to find if we could do version controlling in Domino without using any paid software (something like Teamstudio). I had a curiosity if Eclipse having tight integration with the Concurrent Versions System (CVS) and Subversion (SVN), so can domino 8.5.1 provides the same? To keep this in mind I've started my R&D and found some possibilities. Here they are,<br /><br />My first task was to find the way to enable Subclipse ( Subclipse is a project to add Subversion support to the Eclipse IDE )in domino designer. In Eclipse it can be achieved easily using <span style="FONT-WEIGHT: bold">Help->Software Updates</span> menu option but it's not available in designer 8.5.1<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Suqfmry03nI/AAAAAAAABeU/l_e28LOpE-M/s1600-h/Eclipse_view.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 224px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398302590296710770" border="0" alt="" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Suqfmry03nI/AAAAAAAABeU/l_e28LOpE-M/s400/Eclipse_view.bmp" /></a><br /><br />However designer 8.5.1 has this feature hidden ( not completely the same as Eclipse ). To enable this feature you need to add following line in <span style="FONT-WEIGHT: bold">plugin_customization.ini</span> file which is located at <span style="FONT-WEIGHT: bold">\Notes\framework\rcp</span> path.<br /><br /><span style="FONT-WEIGHT: bold">com.ibm.notes.branding/enable.update.ui=true <span style="FONT-STYLE: italic"></span></span><br /><br />You must need to start designer after modification. Now here is your <span style="FONT-WEIGHT: bold">Install </span>option,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SuqiJtvTwqI/AAAAAAAABec/CZHwrGHxxGk/s1600-h/Install_view.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 366px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398305391137505954" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SuqiJtvTwqI/AAAAAAAABec/CZHwrGHxxGk/s400/Install_view.bmp" /></a><br /><br />Next task to enable Subclipse. Steps are,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SuqklaRsxxI/AAAAAAAABek/yD3Cx_ya3Ns/s1600-h/Install_view_1.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 179px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398308065972635410" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SuqklaRsxxI/AAAAAAAABek/yD3Cx_ya3Ns/s400/Install_view_1.bmp" /></a><br /><br />Use Subclipse update site "http://subclipse.tigris.org/update_1.0.x"<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SuqmV6bd9yI/AAAAAAAABes/khc1j1hkstU/s1600-h/Install_view_2.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 359px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398309998748890914" border="0" alt="" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SuqmV6bd9yI/AAAAAAAABes/khc1j1hkstU/s400/Install_view_2.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgCUDGJrJ5WDg7E6Qd_Zssc22mT44URcoJeSbqI0A4wkEIAxxTjgV9B-4C_Jy7SV05aIf0bo8bpdMvasqIORh0ZgQtQn8od1ORiH_oeVvgx5jcRGKKuFtlXAM6CV2hrgMFA_7tGHjoYY/s1600-h/Install_view_3.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 282px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398311854100718002" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgCUDGJrJ5WDg7E6Qd_Zssc22mT44URcoJeSbqI0A4wkEIAxxTjgV9B-4C_Jy7SV05aIf0bo8bpdMvasqIORh0ZgQtQn8od1ORiH_oeVvgx5jcRGKKuFtlXAM6CV2hrgMFA_7tGHjoYY/s400/Install_view_3.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip2TtGbNiCneTZiBgwidXbteL695YCk5AffDMGZTgG_859I75zzig3rXF4W4qfxD2z4PQXqDsgriRLgyRb4qHOHQpRzbub4zcKaePIait1FgZEkCkXsdwSSUk1wJshrgsNWkGTIUstzkA/s1600-h/Install_view_4.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 263px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398311852387635202" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip2TtGbNiCneTZiBgwidXbteL695YCk5AffDMGZTgG_859I75zzig3rXF4W4qfxD2z4PQXqDsgriRLgyRb4qHOHQpRzbub4zcKaePIait1FgZEkCkXsdwSSUk1wJshrgsNWkGTIUstzkA/s400/Install_view_4.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTGgQsXypeCHXKVS1Wt2uSFfsWRIKDYG_kfqCn1N4R7Z2IYfGiUGLapqxWMCNDiOdU7T0KTf3MkDhbXUF4dBStpyikwbh7mtWCR3e_izcB0iDuVTfW1T6jbJIF2WCHoLUCB4xouYAXFrY/s1600-h/Install_view_5.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 263px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398312726873178322" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTGgQsXypeCHXKVS1Wt2uSFfsWRIKDYG_kfqCn1N4R7Z2IYfGiUGLapqxWMCNDiOdU7T0KTf3MkDhbXUF4dBStpyikwbh7mtWCR3e_izcB0iDuVTfW1T6jbJIF2WCHoLUCB4xouYAXFrY/s400/Install_view_5.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFBMRehSulfMiYcT08AVhpKJsQwWL7hbH2xTQMXtUC1shPtOHpTMVQLVXi8FfJIIlSpd-KLSQ-RdeHRVlnsT8DtqVlBNfnW5KaMjqfyrKMXBPDMzMhIulGQ5QQsS1GJFrE0r1lXALgRJ8/s1600-h/Install_view_6.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 263px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398312721133431186" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFBMRehSulfMiYcT08AVhpKJsQwWL7hbH2xTQMXtUC1shPtOHpTMVQLVXi8FfJIIlSpd-KLSQ-RdeHRVlnsT8DtqVlBNfnW5KaMjqfyrKMXBPDMzMhIulGQ5QQsS1GJFrE0r1lXALgRJ8/s400/Install_view_6.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaKmxlLagOBd39xKDyiQz2P0KWpWNeInbEl54MD6Qy9DygI8nbEXA7V1kewGAC3M_2RvzE-JWoKI7H4ZmL1GE49JmN6ksmjMC0Jw4YwqD032cIwnRMD4LPe9_T2wcV-UmKRWksMRIT9jU/s1600-h/Install_view_7.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 382px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398313240210666210" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaKmxlLagOBd39xKDyiQz2P0KWpWNeInbEl54MD6Qy9DygI8nbEXA7V1kewGAC3M_2RvzE-JWoKI7H4ZmL1GE49JmN6ksmjMC0Jw4YwqD032cIwnRMD4LPe9_T2wcV-UmKRWksMRIT9jU/s400/Install_view_7.bmp" /></a><br /><br />Once done you will be asked to restart Notes<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvXFkEPAi8wVjAfpYup8ulShA5QLlZo703UNKIff-9YtfjBXScKLeGfM_lPlP7kISZDUYzlYwX9zh3PcFdUcsf5KNHk37b-3YYM0lg0ys4LPac7IB4-_DYQa_llyUDravb097cIxxv7_0/s1600-h/Install_view_8.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 123px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398313744108539794" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvXFkEPAi8wVjAfpYup8ulShA5QLlZo703UNKIff-9YtfjBXScKLeGfM_lPlP7kISZDUYzlYwX9zh3PcFdUcsf5KNHk37b-3YYM0lg0ys4LPac7IB4-_DYQa_llyUDravb097cIxxv7_0/s400/Install_view_8.bmp" /></a><br /><br />Now go to designer and change your perspective to <span style="FONT-WEIGHT: bold">SVN Repository</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwxCHeWVSy4z5Eh_geqGRgzgb-ZeKyrqY4-JnyB2RxvZsvpEgI0ZjqRuCSjFaNqpk-WnDfxll2-J43ItWz6jjmGaQanWBHJ4Ya7pJrXvAnp5c5XQjN2Nbwfw2tTKJgqFmk8zO8lB5BtuQ/s1600-h/Install_view_9.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 292px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398315062119935026" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwxCHeWVSy4z5Eh_geqGRgzgb-ZeKyrqY4-JnyB2RxvZsvpEgI0ZjqRuCSjFaNqpk-WnDfxll2-J43ItWz6jjmGaQanWBHJ4Ya7pJrXvAnp5c5XQjN2Nbwfw2tTKJgqFmk8zO8lB5BtuQ/s400/Install_view_9.bmp" /></a><br /><br />Add new SVN repository ( For demo I'm connecting to Subclipse site where SVN is setup),<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivQXkIny5soD1KZ5JXydpHRp4FyhxayLVeTSCwGh74UVICn83wO-08FN3uxWFnyGdjOzRRhVihSK07JsgPLphztRM0TMjc71tPn84dtILeABMZ5Nus744PTtyAz9nMAMVsELX31pyt_n4/s1600-h/Install_view_10.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 373px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398316414346133746" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivQXkIny5soD1KZ5JXydpHRp4FyhxayLVeTSCwGh74UVICn83wO-08FN3uxWFnyGdjOzRRhVihSK07JsgPLphztRM0TMjc71tPn84dtILeABMZ5Nus744PTtyAz9nMAMVsELX31pyt_n4/s400/Install_view_10.bmp" /></a><br /><br />Login id is : guest and password is space.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyQ7wJ_v7XxQtNvdPFHs2vM_QAK38PxvLIQXFCILSMRaXXqkcgbk0D1kUJ2qzpNDwxAlQk2DFXppYeI6c-6cg1tMfksT9Jdg-cHIcNY_71fYuCNFAYf36Cb8KDiQZ-40xCjlo8ZNGbf1A/s1600-h/Install_view_11.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 368px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398316976875178658" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyQ7wJ_v7XxQtNvdPFHs2vM_QAK38PxvLIQXFCILSMRaXXqkcgbk0D1kUJ2qzpNDwxAlQk2DFXppYeI6c-6cg1tMfksT9Jdg-cHIcNY_71fYuCNFAYf36Cb8KDiQZ-40xCjlo8ZNGbf1A/s400/Install_view_11.bmp" /></a><br /><br />Once connected you can see existing repositories from SVN server,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLiJRgBWSbtK7C1La9FNtn7OvkxAYB_5EnRgNf5of1bdvm1uaYfXicxVS0GZkKDIkEub7yX2woNN4qaNunuwprDDMZlskMUbcRMZW80y6yMz-Kc7HhlqfOWGUR92eBG0O7auES9Ut4-qA/s1600-h/Install_view_12.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 341px; DISPLAY: block; HEIGHT: 256px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5398317658791497426" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLiJRgBWSbtK7C1La9FNtn7OvkxAYB_5EnRgNf5of1bdvm1uaYfXicxVS0GZkKDIkEub7yX2woNN4qaNunuwprDDMZlskMUbcRMZW80y6yMz-Kc7HhlqfOWGUR92eBG0O7auES9Ut4-qA/s400/Install_view_12.bmp" /></a><br /><br />To create version on SVN server use Team->Share Project option,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su4zuyB3SiI/AAAAAAAABgE/r0ZyEyJ1jZo/s1600-h/Install_view_13.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 351px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399309882060392994" border="0" alt="" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Su4zuyB3SiI/AAAAAAAABgE/r0ZyEyJ1jZo/s400/Install_view_13.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su40Uq2L3rI/AAAAAAAABgM/KvDS9GRj_Fw/s1600-h/Install_view_14.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 363px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399310532967390898" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su40Uq2L3rI/AAAAAAAABgM/KvDS9GRj_Fw/s400/Install_view_14.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su40pb3IySI/AAAAAAAABgU/6yOULDKOyco/s1600-h/Install_view_15.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 363px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399310889722104098" border="0" alt="" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Su40pb3IySI/AAAAAAAABgU/6yOULDKOyco/s400/Install_view_15.bmp" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su40yFLb87I/AAAAAAAABgc/YQCBb5hgleY/s1600-h/Install_view_16.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 363px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5399311038252053426" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Su40yFLb87I/AAAAAAAABgc/YQCBb5hgleY/s400/Install_view_16.bmp" /></a><br /><br />Stay tune for more..Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com16tag:blogger.com,1999:blog-4128549255969916400.post-31941833467990324032009-10-29T18:28:00.001-07:002009-11-12T15:13:41.846-08:00Accessing SharePoint List programmatically in Domino Web Application<div>I've submitted this tip to Search Domino, It can be read here .</div><div>
<br /></div><div>
<br /></div><span class="Apple-style-span" style="font-size:medium;"><a href="http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1374073,00.html">http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1374073,00.html</a>
<br /></span><b style=""><o:p></o:p></b><p></p> <p></p><meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CRSAHI%7E1.CGG%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CRSAHI%7E1.CGG%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso"><!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CRSAHI%7E1.CGG%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CRSAHI%7E1.CGG%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:Calibri; mso-fareast-font-family:Calibri; mso-hansi-font-family:Calibri;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} </style> <![endif]--><span style="line-height: 115%;font-family:";font-size:11pt;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"> <v:f eqn="sum @0 1 0"> <v:f eqn="sum 0 0 @1"> <v:f eqn="prod @2 1 2"> <v:f eqn="prod @3 21600 pixelWidth"> <v:f eqn="prod @3 21600 pixelHeight"> <v:f eqn="sum @0 0 1"> <v:f eqn="prod @6 1 2"> <v:f eqn="prod @7 21600 pixelWidth"> <v:f eqn="sum @8 21600 0"> <v:f eqn="prod @7 21600 pixelHeight"> <v:f eqn="sum @10 21600 0"> </v:formulas> <v:path extrusionok="f" gradientshapeok="t" connecttype="rect"> <o:lock ext="edit" aspectratio="t"> </v:shapetype><v:shape id="Picture_x0020_1" spid="_x0000_i1025" type="#_x0000_t75" style="'width:507pt;height:96pt;visibility:visible'"> <v:imagedata src="file:///C:\DOCUME~1\RSAHI~1.CGG\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.png" title=""> </v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span>
<br />
<br />Drop me an e-mail to get sample database.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com2tag:blogger.com,1999:blog-4128549255969916400.post-55850210279087829982009-10-28T18:11:00.000-07:002009-10-29T01:11:36.945-07:00How do you edit .lss file in designer 8.5.1 ?Recently, I've got a query regarding editing of .lss file in designer 8.5.1 . According to him ,<br /><br /><span style="FONT-STYLE: italic; COLOR: rgb(51,51,255)">"I'm using massively .lss files that resides on a file server (which I can share using SVN/CVS...) in order to protect my code and I'm using SVN to maintain the code, but I do have a problem for editing these files as the Domino Designer is not able to just open them from my windows explorer."</span><br /><br />I've started my investigation with <span style="FONT-WEIGHT: bold">Package Explorer</span> view . It shows Java element hierarchy of your project in your workbench and provides easy way to manage project hierarchy. Designer 8.5.1 internally uses .lsa extension for Agents and .lss for Script libraries. So if you try to open them in "Lotus Script Editor" it perfectly opens in design mode , shown below<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SujwG2aTQjI/AAAAAAAABcs/HisYkMG8yG4/s1600-h/project_explorer.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 364px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5397828153879249458" border="0" alt="" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SujwG2aTQjI/AAAAAAAABcs/HisYkMG8yG4/s400/project_explorer.bmp" /></a><br />However if someone is not willing to import each .lss file in Script library to edit them then what are the options he has to edit them in Lotus script editor ? Most feasible solution is to import them in <span style="FONT-WEIGHT: bold">Resources->File</span> section and open them in Lotus Script editor but it doesn't work ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sujyb74S_TI/AAAAAAAABc0/ZNvWxzk59uo/s1600-h/project_expl_err.bmp"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 198px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5397830715147746610" border="0" alt="" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sujyb74S_TI/AAAAAAAABc0/ZNvWxzk59uo/s400/project_expl_err.bmp" /></a><br />If you look closely to Java errors it indicates Lotus Script editor can't be invoke from <span style="FONT-WEIGHT: bold">Resources</span> section . However Text Editor can be invoked but I don't think so anybody would be interested in that . Is it a bug or is this a way designer 8.5.1 built ?<br /><br />Any thoughts ?Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-80135234430521442012009-10-04T20:06:00.000-07:002009-10-04T21:21:10.385-07:00New Project at OpenNTF: Active directory name picker servlet for web/ Active directory search using LS for clientAs I've written two articles <span style="font-weight: bold;">" Active directory name picker using Java Servlet"</span> and<span style="font-weight: bold;"> " Accessing LDAP using Lotus Script" </span>earlier . Today got some time to make sample database with both the examples and uploaded on OpenNTF.org. Here is the link,<br /><br /><a href="http://www.openntf.org/projects/pmt.nsf/0/C897010BDB044D48862576460014FC58">Active directory name picker and search</a><br /><br />Sample database has two forms; One for search user in Active directory on Notes client and other form for name picker which runs on web.<br /><br />I've added important considerations in "About database" page to run both the examples smoothly so hope developers will not find any difficulties to run or customize the solution.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com2tag:blogger.com,1999:blog-4128549255969916400.post-82155868571601311612009-09-16T20:12:00.000-07:002009-09-16T22:57:59.921-07:00New features in Domino desginer 8.5.1 - Part V<div style="text-align: left;"><div style="text-align: left;"><span class="Apple-style-span" style=";font-family:'times new roman';font-size:100%;" ><span style="font-family:verdana;">To continue my journey with Designer 8.5.1, You may have already read my </span><a style="font-family: verdana;" href="http://planetlotus.org/56d04c">first</a><span style="font-family:verdana;"> , </span><a style="font-family: verdana;" href="http://planetlotus.org/56e050">second</a><span style="font-family:verdana;"> , </span><a style="font-family: verdana;" href="http://planetlotus.org/571124">third</a><span style="font-family:verdana;"> and <a href="http://planetlotus.org/5769d0">fourth</a> article. In this article I will focus mainly on Designer 8.5.1 UI interface which is quite different from other versions (except 8.5) and fully based on <a href="http://www.eclipse.org/">Eclipse editor</a>.You must need to know UI interface throughly t</span></span><span class="Apple-style-span" style=";font-family:'times new roman';font-size:100%;" ><span style="font-family:verdana;">o make most out of it.<br /><br />Let's first start with Perspectives in designer 8.5.1.Perspective determines the visible actions and views within a window.It goes well beyond this by providing mechanisms for task oriented interaction with resources in the Domino designer, multi-tasking and information filtering.<br />Designer 8.1.1 user interface is built on Eclipse so it's now called Workbench. A Workbench window offers one or more perspectives. A perspective contains editors and views, such as the designer application.Multiple Workbench windows can be opened simultaneously. Initially, in the first Workbench window that is opened, the designer perspective is displayed, with only home page visible (or blank editor area). If by mistake you have closed all the perspectives you may get blank designer window which sometimes confuse you .Here is the example,<br /><br /></span></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SrGt0SMNM2I/AAAAAAAABbY/-AH4Wa_dKgI/s1600-h/ScreenHunter_11+Sep.+17+11.32.gif"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 237px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SrGt0SMNM2I/AAAAAAAABbY/-AH4Wa_dKgI/s400/ScreenHunter_11+Sep.+17+11.32.gif" alt="" id="BLOGGER_PHOTO_ID_5382274143432291170" border="0" /></a>To get back your designer perspective go to <span style="font-weight: bold;">window->Open Perspective->Other and choose Domino designer</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrGuvrpaFgI/AAAAAAAABbg/WJ5OV1vzL7A/s1600-h/8.5.1_3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 236px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrGuvrpaFgI/AAAAAAAABbg/WJ5OV1vzL7A/s400/8.5.1_3.bmp" alt="" id="BLOGGER_PHOTO_ID_5382275163877938690" border="0" /></a>So, In simple words; A workbench is a visual container for a set of views and editors. The structure of the workbench is exposed within the following diagram. The workbench window is outlined in red. Within this window there is a single open perspective in blue.Editor area is in Pink and Green shows different views.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrGwKVHOBwI/AAAAAAAABbo/rmLHg7BBAb4/s1600-h/ScreenHunter_10+Sep.+17+10.55.gif"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 238px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrGwKVHOBwI/AAAAAAAABbo/rmLHg7BBAb4/s400/ScreenHunter_10+Sep.+17+10.55.gif" alt="" id="BLOGGER_PHOTO_ID_5382276721197057794" border="0" /></a><br /><span style="font-weight: bold;">What is perspective ?</span><div style="text-align: left;"> A perspective is a group of views and editors in the Workbench window. One or more<br />perspectives can exist in a single Workbench window. Each perspective contains one or more<br />views and editors. Within a window, each perspective may have a different set of views but all<br />perspectives share the same set of editors.<br /><br /><div style="text-align: left; font-weight: bold;">What is editor ?<br /><span style="font-weight: normal;">An editor is also a visual component within the Workbench. It is typically used to edit or<br />browse a resource. Modifications made in an editor follow an open-save-close life-cycle model.<br />Multiple instances of an editor type may exist within a Workbench window. In prior versions<br />of designer we use only one editor at a time but designer 8.5.1 (8.5 as well) allows you to open<br />more than one editor at the same time. So we can simultaneously preview form designer<br />while write code or designing views.<br /></span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrGy4Y1sAyI/AAAAAAAABbw/Kfuw9C8DAPA/s1600-h/ScreenHunter_12+Sep.+17+11.53.gif"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 218px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrGy4Y1sAyI/AAAAAAAABbw/Kfuw9C8DAPA/s400/ScreenHunter_12+Sep.+17+11.53.gif" alt="" id="BLOGGER_PHOTO_ID_5382279711494505250" border="0" /></a><span style="font-weight: normal;">Depending on the type of file that is being edited, the appropriate editor is displayed in the editor area. For example, if a .css file is being edited, a style sheet editor is displayed in the editor area.</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrG_BK84jPI/AAAAAAAABcQ/RzIZPFHtxDc/s1600-h/8.5.1_7.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 99px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrG_BK84jPI/AAAAAAAABcQ/RzIZPFHtxDc/s400/8.5.1_7.bmp" alt="" id="BLOGGER_PHOTO_ID_5382293056524946674" border="0" /></a><br /><br /><br /></div></div><span style="font-weight: bold;">What is View ?</span><br />A view is a visual component within the Workbench. It is typically used to navigate a hierarchy of information (such as the resources in the Workbench), open an editor, or display properties for the active editor. Modifications made in a view are saved immediately. Normally, only one instance of a particular type of view may exist within a Workbench window.<br /><br />A view might appear by itself or stacked with other views in a tabbed notebook.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrG16aLSPRI/AAAAAAAABb4/uidoZ01lgP0/s1600-h/8.5.1_4.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 159px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrG16aLSPRI/AAAAAAAABb4/uidoZ01lgP0/s400/8.5.1_4.bmp" alt="" id="BLOGGER_PHOTO_ID_5382283044748147986" border="0" /></a>It can be detached and placed on top of the other views ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrG62Yv3KiI/AAAAAAAABcA/uUDP7dVIPbU/s1600-h/8.5.1_5.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 316px; height: 400px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SrG62Yv3KiI/AAAAAAAABcA/uUDP7dVIPbU/s400/8.5.1_5.bmp" alt="" id="BLOGGER_PHOTO_ID_5382288473203354146" border="0" /></a>A view can be displayed by selecting it from the Window > Show Eclipse views menu. A perspective determines which views may be required and displays these on the Show View sub-menu. Additional views are available by choosing Other... at the bottom of the Show Eclipse Views sub-menu. This is just one of the many features that provide for the creation of a custom work environment.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrG7x01yS8I/AAAAAAAABcI/yL92_iF7hdQ/s1600-h/8.5.1_6.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 235px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrG7x01yS8I/AAAAAAAABcI/yL92_iF7hdQ/s400/8.5.1_6.bmp" alt="" id="BLOGGER_PHOTO_ID_5382289494356675522" border="0" /></a>There are some useful menu options which can be used if you lost in Eclipse UI .<br /><br /><span style="font-weight: bold;">1- To open existing perspective</span> : If you work on Lotus and Java projects more often then it's good to have two perspective because some views are not compatible with each other for example "Outline" view. You can design custom perspective based on most useful and frequent options. To open existing perspective use <span style="font-weight: bold;">Window->Open perspective->Other</span> menu.<br /><br /><span style="font-weight: bold;">2- Customize perspective :</span> To customize perspective as per your need go to <span style="font-weight: bold;">Window->Customize perspective</span> ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrHBy08iL6I/AAAAAAAABcY/c-PXyG-ukrA/s1600-h/8.5.1_7.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 298px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SrHBy08iL6I/AAAAAAAABcY/c-PXyG-ukrA/s400/8.5.1_7.bmp" alt="" id="BLOGGER_PHOTO_ID_5382296108634615714" border="0" /></a><br /><span style="font-weight: bold;">3- Saving new perspective :</span> If you have design your own custom perspective use <span style="font-weight: bold;">Window->Save perspective as</span> option to save for later use.<br /><br /><span style="font-weight: bold;">4- Reset perspective :</span> It may happen if you messed up with your working perspective , Use <span style="font-weight: bold;">Window->Reset perspective</span> option to reset it.<br /><br /><span style="font-weight: bold;">5- Closing perspective :</span> There are two options in this context one is to <span style="font-weight: bold;">close all perspective</span> and other to <span style="font-weight: bold;">close perspective</span>. <span style="font-weight: bold;">Close perspective</span> will only close currently active perspective where as <span style="font-weight: bold;">close all perspective</span> will close all the open perspectives and you will see blank screen as I've mentioned in the beginning.<br /><br />However I feel there should be a button and text message ( like Eclipse ) to give better understanding and guide end user to next step.<br /><br /><span style="color: rgb(255, 0, 0);font-size:85%;" >(Note: below screen is my mock-up design ) </span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrHO85Q8SeI/AAAAAAAABcg/KYV6NjOE_vM/s1600-h/8.5.2_1.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 240px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SrHO85Q8SeI/AAAAAAAABcg/KYV6NjOE_vM/s400/8.5.2_1.bmp" alt="" id="BLOGGER_PHOTO_ID_5382310575243807202" border="0" /></a><br /></div></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-2763828143371328632009-09-10T01:52:00.001-07:002009-09-10T02:23:51.120-07:00Suggestions needed in designing HTML forms for Blackberry/Smartphone interfaceI have got a requirement to design HTML mailer form in Domino for Blackberry and Smartphone users. With some case study I found, First stage would be to detect browser type and second stage to design HTML/CSS. I assume using @BrowserInfo and HTTP_USER_AGENT we can detect browser client . Does anybody tried this successfully ?<br /><br />After some googling it seems there are specifications in HTML/CSS to design Blackberry interface. Anybody having working idea ?<br /><br /><span style="font-weight: bold;">What I'm doing ?</span><br /><br />There is form in Notes client interface which will be used by an Agent to create mailing document . Once document is created mailer agent will apply styles on those documents and insert them in body field and send . But the problem is IE and Mozilla display contents properly but blackberry is treating badly.<br /><br />I will appreciate suggestions on the same.Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-30249619820765773972009-09-09T19:10:00.000-07:002009-09-14T02:08:44.691-07:00New features in Domino desginer 8.5.1 - Part IV<div style="text-align: left;"><span class="Apple-style-span" style=";font-family:'times new roman';font-size:100%;" ><span style="font-family:verdana;">To continue my journey with Designer 8.5.1, You may have already read my </span><a style="font-family: verdana;" href="http://planetlotus.org/56d04c">first</a><span style="font-family:verdana;"> , </span><a style="font-family: verdana;" href="http://planetlotus.org/56e050">second</a><span style="font-family:verdana;"> and </span><a style="font-family: verdana;" href="http://planetlotus.org/571124">third</a><span style="font-family:verdana;"> article. Let's check what I've got in this article.</span></span></div><span style=";font-family:'times new roman';font-size:100%;" class="Apple-style-span" ><span class="Apple-style-span"><span style="font-size:85%;"><span style="font-family:verdana;"><br /><span style="font-size:100%;">I'm doing my real time development in designer 8.5.1 and you don't believe it's so stable that I don't miss 8.5 release. Sometime I get "Null pointer exception" in Eclipse environment but I don't get worried because it's just a unreleased version and it will be fixed in actual release. Today I've submitted my 8.5.1 beta survey and I didn't forget to mention that "Domino 8.5.1 release will be the best release in Lotus Notes history" and it's going to increase productivity of domino developers by at least 30%.At least I believe that :)</span><br /><br /></span></span></span></span><div><span class="Apple-style-span" style=";font-family:verdana;font-size:100%;" ><span class="Apple-style-span">1-Prior to 8.5.1 release very few people care about cause of Lotus Notes crash. There is a nice "Fault Diagnostic" report dialog box if you started Notes after crash.It will be an opportunity to every Lotus Notes users to participate in betterment of Lotus Notes product to share their error reports with IBM.</span></span></div><div><span class="Apple-style-span" style=";font-family:verdana;font-size:100%;" ><span class="Apple-style-span"><br /></span></span></div><div><span class="Apple-style-span" style=";font-family:verdana;font-size:100%;" ><span class="Apple-style-span" style="color: rgb(0, 0, 238);font-family:Georgia,serif;" ><img src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SqpsW6lgXXI/AAAAAAAABaQ/sgpCdLBTIKU/s400/8.5.1_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5380231845786967410" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 313px;" border="0" /><br /><span style="color: rgb(0, 0, 0);"><span style="font-size:100%;"><span style="font-weight: bold;">2- Run in background</span> : In designer 8.5 , We had button in process dialog box "Run in background" to control whether you want to run a process in background or foreground. In 8.5.1 designer it has moved under global setting.<br /><br /><span style="color: rgb(204, 0, 0);">However it doesn't work as expected and after setting this option every time process runs in foreground. Probably we will get fix in actual release.</span></span><br /><br /></span></span></span><span style="font-size:100%;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3jmgjioXI/AAAAAAAABaY/2cdIEfifSRI/s1600-h/8.5.1_2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 60px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3jmgjioXI/AAAAAAAABaY/2cdIEfifSRI/s400/8.5.1_2.bmp" alt="" id="BLOGGER_PHOTO_ID_5381207380491149682" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3lZqkeXjI/AAAAAAAABao/3vVyRA_Ubcs/s1600-h/8.5.1_1.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 163px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3lZqkeXjI/AAAAAAAABao/3vVyRA_Ubcs/s400/8.5.1_1.bmp" alt="" id="BLOGGER_PHOTO_ID_5381209358864375346" border="0" /></a><br /></span><span style=";font-family:verdana;font-size:100%;" ><span style="font-weight: bold;">3- Monitor Heap Size :</span> Most often we encounter "Out of memory" or "buffer overflow" problem while working on Domino Java program in designer. Also, There are very few domino developers who actually know what is maximum heap size assigned to JVM. Designer 8.5.1 has new feature to monitor and clean up JVM heap size. It's under preferences, turned off by default, called "Show heap status" under General->Preferences. Simply check this box to display a heap size indicator on the lower right corner of your IDE. This indicator displays the maximum JVM heap size and how much of it is being used. Another useful feature of this indicator is the ability to garbage collect the heap. Simply click on the bin icon in the indicator to immediately schedule the heap for garbage collection. It will free up some heap space. There is also a context menu on this indicator. Simply right click to pop it.</span><span style="font-size:100%;"><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3ozZvD_MI/AAAAAAAABaw/hTmAhzKD27s/s1600-h/8.5.1_3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 369px; height: 130px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3ozZvD_MI/AAAAAAAABaw/hTmAhzKD27s/s400/8.5.1_3.bmp" alt="" id="BLOGGER_PHOTO_ID_5381213099556863170" border="0" /></a><br /></span><span style="font-size:100%;">4- <span style="font-weight: bold;">Better control on Renaming Classes/Variables and adding libraries for Domino Java</span> : There are some extraordinary enhancements has been done for Domino Java functionalities designer 8.5.1. Prior to 8.5.1 writing Java code in Domino was tedious than writing Lotus script but now you will find writing Java code is much easier in designer 8.5.1 . Let's check one by one,<br /><br /></span> <span style="font-size:100%;"> a) <span style="font-weight: bold;">Ease in renaming class file and performing find replace</span> : You don't need to open any domino Java agents to do find and replace functions. Prior to 8.5.1 you must need to do find and replace in each class files separately. Also, You don't need to open the code library to rename java file unlike "Edit Project" or code level rename in earlier versions.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Sq34ByPeVuI/AAAAAAAABa4/tUc4h3biTe4/s1600-h/8.5.1_4.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 211px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Sq34ByPeVuI/AAAAAAAABa4/tUc4h3biTe4/s400/8.5.1_4.bmp" alt="" id="BLOGGER_PHOTO_ID_5381229839327844066" border="0" /></a><br /></span><span style="font-size:100%;">b) <span style="font-weight: bold;">Ease in adding resources</span> : Unlike opening Java agent and going to "Edit project" option to add new script library , you can achieve in much easier way in designer 8.5.1<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Sq353WGiKDI/AAAAAAAABbA/Z2knZ7DJ3vk/s1600-h/8.5.1_5.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 243px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Sq353WGiKDI/AAAAAAAABbA/Z2knZ7DJ3vk/s400/8.5.1_5.bmp" alt="" id="BLOGGER_PHOTO_ID_5381231858998716466" border="0" /></a></span><span style="font-size:100%;">c) <span style="font-weight: bold;">Ease in adding removing class file </span>: Unlike to other versions you don't need to go to "Edit Project" option to delete unused classes or to copy/paste new class file from other sources .<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3_igUzluI/AAAAAAAABbI/yD3leCu0WCc/s1600-h/8.5.1_6.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 400px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/Sq3_igUzluI/AAAAAAAABbI/yD3leCu0WCc/s400/8.5.1_6.bmp" alt="" id="BLOGGER_PHOTO_ID_5381238098035447522" border="0" /></a></span><span style="font-size:100%;"><span style="font-weight: bold;">5- Use breadcrumb navigation in Domino Java</span> : In designer 8.5.1, Java class files list and editor sections are separated in two different threads. To navigate faster in other java classes while editing you can use "Breadcrumb navigation".<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq4BfE9Dd7I/AAAAAAAABbQ/EEmjiFvOrFo/s1600-h/8.5.1_7.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 110px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sq4BfE9Dd7I/AAAAAAAABbQ/EEmjiFvOrFo/s400/8.5.1_7.bmp" alt="" id="BLOGGER_PHOTO_ID_5381240238171715506" border="0" /></a>My next article on this series will be on Eclipse Perspective, Different types of Eclipse views and Eclipse navigation in Designer 8.5.1.<br /><br /></span></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com0tag:blogger.com,1999:blog-4128549255969916400.post-84094562872156554972009-09-08T06:29:00.000-07:002009-09-08T22:19:56.877-07:00New features in Domino desginer 8.5.1 - Part III<span style=";font-family:'times new roman';font-size:100%;" class="Apple-style-span" ><span class="Apple-style-span">To continue from my <a href="http://planetlotus.org/56d04c">first</a> and <a href="http://planetlotus.org/56e050">second</a> article, As we know designer 8.5.1 entirely built on Eclipse framework so most of the domino experts definitely believe on the fact that there is a new era started where we need to get used to with Eclipse framework for Lotus Notes development. However , It's not going to be as easy as it was before when fresh graduate can develop Lotus Notes applications.<br />The best thing about domino designer 8.5.1 is to guide developer to use best practices in coding like, Add comments automatically whenever you add new functions or subs , Compel not to use undeclared variables etc.</span></span><span style=";font-family:'times new roman';font-size:100%;" class="Apple-style-span" ><span class="Apple-style-span"><span class="blsp-spelling-corrected" id="SPELLING_ERROR_0">however</span> , To increase developers productivity in Domino designer 8.5.1, They have to learn Eclipse framework to some extent. Let's check how can you make most in Designer 8.5.1,<br /><br />1-<span style="font-weight: bold;">Customize annotations</span>: Customize the display of annotations in editors settings to interact better with Lotus Script/Java editors.</span></span><span style=";font-family:arial;font-size:100%;" > <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcXI9Utk3I/AAAAAAAABYg/mq_ENzuZHRs/s1600-h/8.5.1_1.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 254px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcXI9Utk3I/AAAAAAAABYg/mq_ENzuZHRs/s400/8.5.1_1.bmp" alt="" id="BLOGGER_PHOTO_ID_5379293722585174898" border="0" /></a></span><span style="font-family:arial;">Here is the effect,</span> <div style="font-family:verdana;"><span style="font-size:100%;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SqcX4sdjIoI/AAAAAAAABYo/29hBgtYgElU/s1600-h/8.5.1_2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 294px; height: 222px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/SqcX4sdjIoI/AAAAAAAABYo/29hBgtYgElU/s400/8.5.1_2.bmp" alt="" id="BLOGGER_PHOTO_ID_5379294542692557442" border="0" /></a></span></div><div style="font-family:arial;"><span class="Apple-style-span" style="font-size:100%;"><span class="Apple-style-span">2- <span style="font-weight: bold;">Quick Diff</span> : You can keep track of what has changed as you edit.<br /><br /></span></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcbatnWaEI/AAAAAAAABY4/x8QjoUp2Mi0/s1600-h/8.5.1_3.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 324px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcbatnWaEI/AAAAAAAABY4/x8QjoUp2Mi0/s400/8.5.1_3.bmp" alt="" id="BLOGGER_PHOTO_ID_5379298425652537410" border="0" /></a><br />Here is the effect,<span style="text-decoration: underline;"><br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sqcfk-DPU9I/AAAAAAAABZI/XcMTeF14FLY/s1600-h/8.5.1_5.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 347px; height: 232px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/Sqcfk-DPU9I/AAAAAAAABZI/XcMTeF14FLY/s400/8.5.1_5.bmp" alt="" id="BLOGGER_PHOTO_ID_5379302999909684178" border="0" /></a><br /><span style="color: rgb(255, 0, 0); font-style: italic;">Note: Unfortunately this feature only works for Java but not for Lotus Script . However,I believe designer team will fix this when actual release will come.</span><br /><br />3- <span style="font-weight: bold;">Spelling</span> : Enable spell checker to remove incorrect spellings in your comments.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SqchUNljG0I/AAAAAAAABZQ/ysrdUuTiW2w/s1600-h/8.5.1_6.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 235px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SqchUNljG0I/AAAAAAAABZQ/ysrdUuTiW2w/s400/8.5.1_6.bmp" alt="" id="BLOGGER_PHOTO_ID_5379304911045598018" border="0" /></a>here how it looks in Java,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SqciQhBU9jI/AAAAAAAABZY/PSqtgxLe8Mc/s1600-h/8.5.1_7.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 107px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SqciQhBU9jI/AAAAAAAABZY/PSqtgxLe8Mc/s400/8.5.1_7.bmp" alt="" id="BLOGGER_PHOTO_ID_5379305947054536242" border="0" /></a>Lotus script doesn't detect correctly ,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SqciudkGKqI/AAAAAAAABZg/Nh5dcVIp06E/s1600-h/8.5.1_8.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 76px;" src="http://1.bp.blogspot.com/_T_-j3ZLqfNQ/SqciudkGKqI/AAAAAAAABZg/Nh5dcVIp06E/s400/8.5.1_8.bmp" alt="" id="BLOGGER_PHOTO_ID_5379306461522700962" border="0" /></a><br /><span style="color: rgb(255, 0, 0); font-style: italic;">Note:Unfortunately this feature doesn't work correctly in Lotus Script code but works well in Java code. I believe this could be fixed in actual release.</span><br /><br />4- <span style="font-weight: bold;">View keyword shortcuts</span> : It's a great way to increase your productivity in Eclipse framework. To get the all keyword list instantly press <span style="font-weight: bold;">Ctrl+Shift+L<br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SqckMDoW04I/AAAAAAAABZo/iypsj_KaiPg/s1600-h/8.5.1_9.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 281px; height: 400px;" src="http://4.bp.blogspot.com/_T_-j3ZLqfNQ/SqckMDoW04I/AAAAAAAABZo/iypsj_KaiPg/s400/8.5.1_9.bmp" alt="" id="BLOGGER_PHOTO_ID_5379308069468951426" border="0" /></a>5- <span style="font-weight: bold;">Detached view</span> : It's possible to detach a view so that it can be placed wherever desired, including over another Eclipse window.Right-click on the view to be moved and select "Detached" from the menu. (Alternatively, drag the view by its tab to detach the view from its position in the perspective.)<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcyLDvoLBI/AAAAAAAABZw/q6Kmw-oeg10/s1600-h/8.5.1_10.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 259px; height: 400px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/SqcyLDvoLBI/AAAAAAAABZw/q6Kmw-oeg10/s400/8.5.1_10.bmp" alt="" id="BLOGGER_PHOTO_ID_5379323445482368018" border="0" /></a>6- <span style="font-weight: bold;">Modify code template</span> : Most of the developers don't include error handler while writing the code , once they encounter the error then remember to add error handler. In designer 8.5.1 even you can standardize error handler code for your new function and subroutine. Definitely this feature will guide developers to follow coding guidelines.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc2C7A1dbI/AAAAAAAABZ4/J5ewLv9Cftc/s1600-h/8.5.1_11.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 263px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc2C7A1dbI/AAAAAAAABZ4/J5ewLv9Cftc/s400/8.5.1_11.bmp" alt="" id="BLOGGER_PHOTO_ID_5379327703746180530" border="0" /></a>7- <span style="font-weight: bold;">Colorful editor</span> : There are lot of developers who got bored in writing Lotus Script/Java code in white text editor. Designer 8.5.1 has given you an option to design your editor as the way you want .<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc5zdkvySI/AAAAAAAABaA/JpVEH6daz6k/s1600-h/8.5.1_12.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 372px; height: 400px;" src="http://2.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc5zdkvySI/AAAAAAAABaA/JpVEH6daz6k/s400/8.5.1_12.bmp" alt="" id="BLOGGER_PHOTO_ID_5379331836192213282" border="0" /></a>Here is my script editor,<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc6iIElDbI/AAAAAAAABaI/UwSpu2Uer34/s1600-h/8.5.1_13.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 348px;" src="http://3.bp.blogspot.com/_T_-j3ZLqfNQ/Sqc6iIElDbI/AAAAAAAABaI/UwSpu2Uer34/s400/8.5.1_13.bmp" alt="" id="BLOGGER_PHOTO_ID_5379332637873999282" border="0" /></a><br /></div>Rishihttp://www.blogger.com/profile/16536022541896398201noreply@blogger.com4