<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Maarga Systems</title>
	
	<link>http://www.maargasystems.com</link>
	<description>Lotus Notes Development, Programming, Developers, Domino Administration Company in India</description>
	<lastBuildDate>Fri, 25 May 2012 07:19:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MaargaSystems" /><feedburner:info uri="maargasystems" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Tweak Thursdays 4: How to run an Agent from XPages and get the response?</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/O_ZActdn6GI/tweak-thursdays-4-how-to-run-an-agent-from-xpages-and-get-the-response.shtml</link>
		<comments>http://www.maargasystems.com/blog/tweak-thursdays-4-how-to-run-an-agent-from-xpages-and-get-the-response.shtml#comments</comments>
		<pubDate>Thu, 24 May 2012 22:18:58 +0000</pubDate>
		<dc:creator>MPK</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3757</guid>
		<description><![CDATA[There are two ways of running an Agent from XPages and I will elaborate both in a step by step process. Method 1 &#8211; Run agent with Document Context Step 1: Create an xpage and put an edit box field. This field is used to display the response from Agent as shown below. Step 2: ...]]></description>
			<content:encoded><![CDATA[<p>There are two ways of running an Agent from XPages and I will elaborate both in a step by step process.</p>
<h3>Method 1 &#8211; Run agent with Document Context</h3>
<p><strong>Step 1:</strong> Create an xpage and put an edit box field. This field is used to display the response from Agent as shown below.</p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_Tweaks1.jpg"><img class="aligncenter  wp-image-3758" title="Xpages_Tweaks1" src="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_Tweaks1.jpg" alt="" width="575" height="349" /></a></p>
<p><strong>Step 2:</strong> Create a button and call an agent using a “in-memory document” as shown below.</p>
<p><strong>Code:</strong></p>
<blockquote><p>var newDoc:NotesDocument = database.createDocument();</p>
<p>newDoc.replaceItemValue(&#8220;TestField&#8221;,&#8221;");</p>
<p>var agent:NotesAgent = database.getAgent(&#8220;agDocContext&#8221;);</p>
<p>if(agent!=null){</p>
<p>agent.runWithDocumentContext(newDoc);</p>
<p>getComponent(&#8220;Response&#8221;).setValue(newDoc.getItemValueString(&#8220;TestField&#8221;));</p>
<p>}</p></blockquote>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_Tweaks2.jpg"><img class="wp-image-3763 aligncenter" title="Xpages_Tweaks2" src="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_Tweaks2-1024x528.jpg" alt="" width="581" height="300" /></a></p>
<p><strong>Step 3:</strong> Create an agent which gets the “in-memory document” and performs some action. Ensure the agent properties are shown below.</p>
<p><strong>Code:</strong></p>
<blockquote><p><strong>Sub</strong> Initialize</p>
<p><strong>Dim</strong> ses <strong>As</strong><strong>New</strong> NotesSession</p>
<p><strong>Dim</strong> doc <strong>As</strong> NotesDocument</p>
<p><strong>Set</strong> doc = ses.Documentcontext</p>
<p><strong>Call</strong> doc.Replaceitemvalue(<em>&#8220;TestField&#8221;</em>,<em>&#8220;Test Field Value&#8221;</em>)</p>
<p><strong>End</strong><strong>Sub</strong></p></blockquote>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks3.png"><img class="aligncenter  wp-image-3769" title="xpages_tweaks3" src="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks3.png" alt="" width="652" height="420" /></a></p>
<p><strong>STEP 4:</strong> Ensure the agent security properties are shown below.</p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks4.png"><img class="aligncenter  wp-image-3771" title="xpages_tweaks4" src="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks4.png" alt="" width="641" height="244" /></a></p>
<p><strong>Step 5:</strong> Run the XPAGE and click on “Run Agent With Document Context” button.</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks5.png"><img class="aligncenter size-full wp-image-3773" title="xpages_tweaks5" src="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks5.png" alt="" width="480" height="158" /></a></p>
<ul>
<li style="text-align: justify;">On clicking of this button, a “in-memory” document is created.</li>
<li style="text-align: justify;">An agent has been called by passing this “in-memory” document.</li>
<li style="text-align: justify;">Agent gets this “in-memory” document and performs required actions to be done.</li>
<li style="text-align: justify;">After successful execution of this agent, xpage gets the “in-memory” document handle and does the required action.</li>
</ul>
<h3>Method 2 &#8211; Using a Buffered Reader</h3>
<p><strong>Step 1:</strong> One more button called “Trigger Agent” as shown below.</p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks6.png"><img class="aligncenter  wp-image-3774" title="xpages_tweaks6" src="http://www.maargasystems.com/wp-content/uploads/2012/05/xpages_tweaks6.png" alt="" width="573" height="256" /></a></p>
<p style="text-align: left;"><strong>Step 2:</strong> Call an agent using this button as shown below.</p>
<p style="text-align: left;"><strong>Code:</strong></p>
<blockquote><p>importPackage(java.net);</p>
<p>importPackage(java.io);</p>
<p>//create a url object by passing the lotusscript agent&#8217;s url and ensure that you have some print statements in your agent</p>
<p>var agent:URL = new URL(&#8220;http://localhost/AgentsInXPAGES.nsf/agResponse?OpenAgent&#8221;);</p>
<p>//create a connection with the agent&#8217;s url provided</p>
<p>var agentConnection:URLConnection = agent.openConnection();</p>
<p>//open a buffered reader that gets the stream of response from the agent connection</p>
<p>var inputReader:BufferedReader = new BufferedReader(new InputStreamReader(agentConnection.getInputStream()));</p>
<p>//read the output line by line and store them in a string</p>
<p>var res:String=&#8221;";</p>
<p>while ((inputLine = inputReader.readLine()) != null) {</p>
<p>res+=inputLine;</p>
<p>}</p>
<p>//update the result to a output field on the XPage to view the same visually</p>
<p>getComponent(&#8220;Response&#8221;).setValue(res);</p></blockquote>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_tweaks7.png"><img class="aligncenter  wp-image-3775" title="Xpages_tweaks7" src="http://www.maargasystems.com/wp-content/uploads/2012/05/Xpages_tweaks7.png" alt="" width="604" height="248" /></a></p>
<p style="text-align: left;">These are the two ways on how you can run an agent from XPages. Buzz me at karthikeyanmp@maargasystems.com if you have any clarifications, suggestions or discussions. Waiting to hear from you <img src='http://www.maargasystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;"><strong>Author Profile</strong></p>
<p style="text-align: left;">Karthikeyan is fondly called as MPK in Maarga is Software Engineer who works extensively on XPages technology. You can connect with him at <a href="http://in.linkedin.com/pub/karthikeyan-m-p/24/84b/85b">http://in.linkedin.com/pub/karthikeyan-m-p/24/84b/85b</a></p>
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/tweak-thursdays-4-how-to-run-an-agent-from-xpages-and-get-the-response.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/tweak-thursdays-4-how-to-run-an-agent-from-xpages-and-get-the-response.shtml</feedburner:origLink></item>
		<item>
		<title>CEO Corner: What type of a Lotus Shop are you?</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/-VlJtWzfWSg/ceo-corner-what-type-of-a-lotus-shop-are-you.shtml</link>
		<comments>http://www.maargasystems.com/blog/ceo-corner-what-type-of-a-lotus-shop-are-you.shtml#comments</comments>
		<pubDate>Wed, 23 May 2012 15:02:11 +0000</pubDate>
		<dc:creator>Venki</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3740</guid>
		<description><![CDATA[Over the years, I have had the opportunity to interact with many different enterprises &#8211; a lot of them having Lotus Notes as part of their infrastructure. IT departments are varied in their characteristics, as varied as the enterprises which they belong to. There are highly proactive departments which are diligent about everything from their ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Over the years, I have had the opportunity to interact with many different enterprises &#8211; a lot of them having Lotus Notes as part of their infrastructure. IT departments are varied in their characteristics, as varied as the enterprises which they belong to. There are highly proactive departments which are diligent about everything from their enterprise architecture to choosing their technology platforms to highly reactive departments which are letting others (vendors, other departments, economic situation etc.). In the middle of all this variety though are patterns that indicate that IT shops that have Lotus Infrastructure are clustered in a few groups. These clusters are highly homogeneous in terms of how they process new technology from Lotus, what kind of initiatives they invest in etc. I would not call this a scientific study though, and these are not watertight definitions. However, any industry veteran can see similar patterns in Lotus shops they deal with. The graphic below illustrates the clusters I see normally:</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/05/Lotus_notes_shop1.jpg"><img class="aligncenter  wp-image-3742" title="Lotus_notes_shop1" src="http://www.maargasystems.com/wp-content/uploads/2012/05/Lotus_notes_shop1.jpg" alt="" width="604" height="456" /></a>The four clusters can be briefly described as follows:</p>
<ul>
<li style="text-align: justify;"><strong>Invest:</strong> IT shops that realize strong value out of their Lotus investments and continue to invest heavily to get more out of their current investments and look for opportunities to add on technology components in the periphery/horizon for active utilization of technological progress.</li>
<li style="text-align: justify;"><strong>Maintain:</strong> IT shops that are happy with what they have on Lotus environment, but wait for the world to lead before they invest more in technology</li>
<li style="text-align: justify;"><strong>Hedge:</strong> IT shops that want to take part of their IT infrastructure outside Lotus environment, while still maintaining a lot of Lotus applications</li>
<li style="text-align: justify;"><strong>Migrate:</strong> IT shops that have decided to move out of Lotus infrastructure.</li>
</ul>
<p style="text-align: justify;">Underlying the clusters are two dimensions that pretty much drive this whole model. Comfort with Lotus technologies and Readiness to Change.</p>
<h3><strong>Comfort with Lotus Technology:</strong></h3>
<p style="text-align: justify;">There are IT organizations that are pretty proficient in understanding the concept of groupware and workflow that Lotus originally made possible. They have an intuitive grasp of distributed computing, replication, the Lotus security model, the tools and utilities around the Lotus platform. They understand why Lotus mail is powerful, the many features available in Domino server to enable scalability and security and the numerous mail add-ons that make administering Domino infrastructure a breeze. On the application development front they &#8220;get&#8221; the concept of NSFs, self-service database creation, keeping some centralized control while still enabling parts of the organization to service themselves without excess dependence on IT, and appropriate use of Lotus technologies for the many business issues that come up. For example, they don&#8217;t try to get Lotus into a transaction heavy application, while make good use of it for a workflow application. They are comfortable with the latest developments in the world of Lotus, be it XPages or Social Integration, broadly understand IBM&#8217;s road-map for Lotus technology, are active in <strong>OpenNTF and other communities</strong>. Such IT shops manage to get the best out of their investment in Lotus Technology.</p>
<p style="text-align: justify;">At the other end of the spectrum are companies with a lesser understanding of the Lotus technology. They don&#8217;t quite understand the unique strengths of the platform, and try to keep comparing it with other technology stacks that are not strictly comparable. They struggle to apply Lotus related concepts to their business problems, and often have lesser return from their Lotus investments than their more savvy counterparts in the &#8220;comfortable&#8221; shops.</p>
<h3>How does an IT department get comfortable with Lotus?</h3>
<p style="text-align: justify;">It is a mix of three parameters in turn: <strong>IT Leadership, IBM Sellers, Business Partners</strong>. If the IT Leader has substantially invested in understanding Lotus technologies, chances are his team will too. Organizations where a strong IT leader understands Lotus technology deeply are most committed to and get the most out of their investments in the technology. Such organizations in turn again have specialists who are deeply into the technology stack driving value for business out of this technology investment. On the other hand, organizations where a new IT leader with no Lotus exposure has taken over a significant Lotus infrastructure have the biggest problems in maintaining focus and getting value out of the investment. IBM Sellers who originally sold Lotus into the environment can have a significant impact too, in helping organizations take steps beyond just purchase of license to enable maximum utilization of the investment. Situations where an IBM seller oversells technology and leaves the organization with a lot of technology raw power, without the connecting steps to utilize the technology quite often turn into Lotus shops with low <strong>&#8220;comfort&#8221;</strong>. Same is the case with Business Partners. If an IBM Business Partner stays with an enterprise to help it extract all the value out of Lotus technology, the enterprise is much more likely to stay and use the technology stack well.</p>
<h4>Readiness to Change:</h4>
<p style="text-align: justify;">The other dimension we need to look at is fundamental to the IT department &#8211; readiness to change. Change as we have all learned is the only constant, but something that we all avoid all too often. The change to be achieved can either be getting better results out of the Lotus platform or moving out of the Lotus platform to another platform &#8211; it does not matter. The dimension we are taking about here is the readiness to change.</p>
<p>Readiness to change is a pervasive attribute of the IT organization that encompasses the following:</p>
<ul>
<li style="text-align: justify;">A clear vision of why change is required, clear articulation of how the changes will be linked to achieving business goals and a clearly visualized end state</li>
<li style="text-align: justify;">Defined responsibility for carrying out the change, a detailed road-map clearly showing the way to get to the end result, sufficient consideration to the different options available, sufficient time for achieving the goals, buy in from all stake holders</li>
<li style="text-align: justify;">Champions who inspire, champions who are trained and who understand the goals of the effort, champions who communicate and involve all the stakeholders</li>
<li style="text-align: justify;">An empowering climate to bring about the change</li>
</ul>
<p>IT organizations that embrace change are likely to actively look for ways to resolve their existing sub-optimal situation into a more optimal situation. The leaders have clarity of vision, and take the appropriate action to align their teams to act proactively. This orientation is for the most part positive. It is mostly better to do something about your situation when you are stuck than just staying put. However, when I look at the many customers I deal with, I realize the truth in the words of the <strong>American novelist Ellen Glasgow</strong>: <em><strong>&#8221; All change is not growth, as all movement is not forward&#8221;.</strong></em></p>
<p style="text-align: justify;">In future posts, I&#8217;ll delve more into the kind of initiatives a company in a particular cluster will be interested in.</p>
<p style="text-align: justify;"><em>What kind of an IT shop are you? Do you see this clustering as relevant and useful? What other information can you share that will help your peers. Please do share in the comments.</em></p>
<p style="text-align: justify;"><span style="color: #008000;">About the author:</span></p>
<p style="text-align: justify;"><span style="color: #008000;">Venkatesh aka Venki is the Founder and CEO of Maarga Systems. He has more than 12 years of experience in Collaborative Technologies, Web 2.0, Sourcing Management, Global Delivery Models, Lotus Notes, Domino and other IBM Software Technologies. His other interests include Yoga and Developmental Economics. Connect with Venki at <a href="http://in.linkedin.com/in/4venki"><span style="color: #008000;">http://in.linkedin.com/in/4venki</span></a></span></p>
<p style="text-align: justify;">
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/ceo-corner-what-type-of-a-lotus-shop-are-you.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/ceo-corner-what-type-of-a-lotus-shop-are-you.shtml</feedburner:origLink></item>
		<item>
		<title>Monday Blues 1: XPages – Glitches to be avoided while declaring Variables</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/_tX4VwgL0oQ/monday-blues-1-xpages-glitches-to-be-avoided-while-declaring-variables.shtml</link>
		<comments>http://www.maargasystems.com/blog/monday-blues-1-xpages-glitches-to-be-avoided-while-declaring-variables.shtml#comments</comments>
		<pubDate>Mon, 21 May 2012 12:22:00 +0000</pubDate>
		<dc:creator>Mahi</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3723</guid>
		<description><![CDATA[We are starting a new series of blog posts, where we are trying to share the experience of our developers from coding perspective. These are problems that our developers encountered while coding and how they solved it. We are rightly calling it &#8220;Monday Blues&#8221;. Having successfully created the XPages version for a critical application for ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">We are starting a new series of blog posts, where we are trying to share the experience of our developers from coding perspective. These are problems that our developers encountered while coding and how they solved it. We are rightly calling it <strong>&#8220;Monday Blues&#8221;.</strong></p>
<p style="text-align: justify;">Having successfully created the <strong>XPages</strong> version for a critical application for our customer, I was feeling terrific as we were ahead of schedule. Patting myself on the shoulder, I thought that I could give myself a well deserved rest and go out and watch the cricket match (know more about Cricket here. It&#8217;s like a national game for Indians and we won the world championship last year). Just as I was about to leave, the test lead brought me down to earth with a bang. He raised 15 bugs and stated that my counts and calculated values were all wrong!!!!. Having painstakingly created the fields and checked and rechecked for the last five days, I was amazed that there could be so much of difference in the calculations. So I rolled up my sleeves, removed Cricket from my mind and sat in total concentration for the next two hours, looking at code for calculations which seemed perfectly correct , yet gave wrong answers. It took quite some time for me to get at the fact that the problem lay in the variable declaration!!</p>
<p style="text-align: justify;">If you declare any variable in X-pages the scope is available to the entire X-page! You cannot destroy the variable!! Having used 500+ variables in my application, there were 3 or 4 variables which had got re-declared!</p>
<p style="text-align: justify;">Let us look at a sample of what may have happened :</p>
<blockquote><p>Assume I have three Computed fields in my <strong>XPages</strong> : <em>fldComp1, fldComp2 and fldComp3</em></p>
<p>Assume that the <strong>Server Side Java Script code</strong> for the fields are given as</p>
<p><strong>fldComp1 :</strong></p>
<p style="padding-left: 30px;">var EstimatedPrice =12;<br />
var Profitmargin =8;<br />
return EstimatedPrice+Profitmargin;</p>
<p> At runtime, fldComp1 gets a result of 20</p>
<p><strong> fldComp2 :</strong></p>
<p style="padding-left: 30px;">var EstimatedPrice=20;<br />
print(EstimatedPrice);<br />
var EstimatedTotal=getComponent(&#8220;fldComp1&#8243;).getValue();<br />
print (EstimatedPrice);<br />
print (EstimatedTotal);<br />
return EstimatedTotal-EstimatedPrice;</p>
<p> At runtime , <strong>Expected result: 0</strong></p>
<p>(EstimatedPrice is declared as 20 and EstimatedTotal gets a return value of 20 by using the getComponent function)</p>
<p>whereas <strong>Actual result :8</strong></p>
<p>This happens because EstimatedPrice is declared as 20 for fldComp2, but when getComponent function is called, EstimatedPrice is reset as 12 (as this variable also exists in fldComp1)</p>
<p>Now, EstimatedTotal has got the return value of 20; EstimatedPrice has the value 12<br />
so,here EstimatedTotal &#8211; EstimatedPrice &#8212;-&gt; 20-12 = 8</p>
<p>i.e fldComp2 has a computed value of 8</p>
<p><strong>fldComp3:</strong></p>
<p style="padding-left: 30px;">var EstimatedUnits = 10;<br />
return EstimatedUnits * EstimatedTotal ;</p>
<p>At runtime, <strong>Expected Result: Error</strong><br />
since EstimatedTotal is not declared in the code for the field <strong>fldComp3</strong> but <strong>Actual Result : 200</strong><br />
since it will take the value which was calculated for EstimatedTotal from fldComp2 and multiply it with EstimatedUnits which is 10.</p></blockquote>
<p>You might have the same problem with the 83rd field that you declared and the 637th field in the Xpage. In such a scenario, you could get bogged down and spend hours trying to zero in on the actual problem.</p>
<p><strong>Solution:</strong></p>
<p>&nbsp;</p>
<ul>
<li>As far as possible, especially for big applications, minimize using code in X-pages and make maximum use of the script library. The scope of the variable in a script library is limited to the function only.</li>
<li>In smaller applications ,if you have used code in the X-Page itself, follow a Naming convention for variables such that repetition of variable names is avoided at all costs.</li>
</ul>
<p><strong><em>About the Author:</em></strong></p>
<p><strong><em>Mahi or Mahendran Rathinam is a software engineer in Maarga, who has been developing in XPages.</em><br />
</strong>
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/monday-blues-1-xpages-glitches-to-be-avoided-while-declaring-variables.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/monday-blues-1-xpages-glitches-to-be-avoided-while-declaring-variables.shtml</feedburner:origLink></item>
		<item>
		<title>8 challenges that you will face while taking your Lotus Applications mobile</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/67f1WEwC69I/8-challenges-that-you-will-face-while-taking-your-lotus-applications-mobile.shtml</link>
		<comments>http://www.maargasystems.com/blog/8-challenges-that-you-will-face-while-taking-your-lotus-applications-mobile.shtml#comments</comments>
		<pubDate>Fri, 18 May 2012 21:45:01 +0000</pubDate>
		<dc:creator>Lakshmi</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3712</guid>
		<description><![CDATA[The rapid proliferation of Enterprise mobility has created the need for IT managers to extend their Lotus Applications on a mobile platform. According to a Research in Motion Study, the user participation in workflows increases by 38% when they get a mobile access for the same. Mobility provides the advantage of “anytime access” to the ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The rapid proliferation of Enterprise mobility has created the need for IT managers to extend their Lotus Applications on a mobile platform. According to a Research in Motion Study, the user participation in workflows increases by 38% when they get a mobile access for the same. Mobility provides the advantage of “anytime access” to the users and it has become imperative for the IT Managers to look in to the possibility of taking their Lotus Applications mobile.</p>
<p style="text-align: justify;">But at the same time, when you look in to enterprise mobility for your workflows and Lotus applications, there are a few challenges that you will encounter. I am trying to list and articulate on the same.</p>
<ul>
<li style="text-align: justify;"><strong>Device Fragmentation</strong> – I think this is one of the foremost challenges you would face. 4 major platforms and multiple devices with different screen resolutions, sizes and what not.</li>
<li style="text-align: justify;"><strong>Information security challenges</strong> – This will be the question posed by your management. The security of the data that goes in and out of the mobile devices.</li>
<li style="text-align: justify;"><strong>Security considerations because of BYOD</strong> – Most of your users would want to access applications in their own device. How can you control the security of these devices?</li>
<li style="text-align: justify;"><strong>Optimized User Experience</strong> – One of the important reasons why your users are asking for mobile is the improved user experience. User experience doesn’t end up in clean UI and aesthetics but also in things like what will the user expect in an mobile application</li>
<li style="text-align: justify;"><strong>Approach we use to build the app?</strong> &#8211; This is something you would want not to choose, because whatever you choose will be criticized. But you have to choose an optimal solution based on time availability, budget and complexity of the application</li>
<ul style="text-align: justify;">
<li>XPages / Web / HTML5?</li>
<li>Native?</li>
<li>Use a Tool?</li>
</ul>
</ul>
<ul style="text-align: justify;">
<li><strong>Data synchronization</strong> – Users want their data to be synchronized instantaneously. The challenge is how you are going to handle this expectation</li>
<li><strong>Streamlining Mobile Device Management</strong> &#8211; Multiple devices? Own devices of the employees and company provided. How are you going to streamline without much inconvenience to the user</li>
<li><strong>Complexity of IT Help Desk</strong> &#8211; Minor challenge when compared to others but you has to be aware of the workload that your support will take.</li>
</ul>
<p style="text-align: justify;">These are some of the challenges that I felt are important when you are looking to develop your mobile strategy. You may have come across a few more, why don’t you share them on the comments section. This article is based on the research I did for  a whitepaper that I am writing on Enterprise Mobility. Watch this space for more info in a week.</p>
<p style="text-align: justify;"><span style="color: #808080;"><strong>About the author:</strong><br />
Lakshmi Sankaran is a Project Lead from Maarga Systems helping clients to move their Lotus Applications to mobile.</span></p>
<p>&nbsp;
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/8-challenges-that-you-will-face-while-taking-your-lotus-applications-mobile.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/8-challenges-that-you-will-face-while-taking-your-lotus-applications-mobile.shtml</feedburner:origLink></item>
		<item>
		<title>Webinar: How to go Social with XPages?</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/JjTDi3Abfe0/webinar-how-to-go-social-with-xpages.shtml</link>
		<comments>http://www.maargasystems.com/blog/webinar-how-to-go-social-with-xpages.shtml#comments</comments>
		<pubDate>Mon, 14 May 2012 06:35:49 +0000</pubDate>
		<dc:creator>Mervin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3664</guid>
		<description><![CDATA[It was pleasure conducting a webinar in the IBM Developerworks Forum on May 2, 2012. The webinar was about how to enable social connections through XPages. It dealt with the basics, the tools needed and a simple application demo developed by Maarga Systems. Have a look at the webinar ( video attached) and the demo ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">It was pleasure conducting a webinar in the IBM Developerworks Forum on May 2, 2012. The webinar was about how to enable social connections through XPages. It dealt with the basics, the tools needed and a simple application demo developed by Maarga Systems. Have a look at the webinar ( video attached) and the demo follows in the next video.</p>
<h4>Webinar: Social Enablement in XPages<br />
Presenters: Linoy K George and Mervin Thomas</h4>
<p><object width="480" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube-nocookie.com/v/FHricAO99aQ?version=3&amp;hl=en_US&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed width="480" height="360" type="application/x-shockwave-flash" src="http://www.youtube-nocookie.com/v/FHricAO99aQ?version=3&amp;hl=en_US&amp;rel=0" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>&nbsp;</p>
<h4>Demo: Social e-Recruitment Application</h4>
<p><object width="480" height="360" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube-nocookie.com/v/UUtOCnPZpyk?version=3&amp;hl=en_US&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed width="480" height="360" type="application/x-shockwave-flash" src="http://www.youtube-nocookie.com/v/UUtOCnPZpyk?version=3&amp;hl=en_US&amp;rel=0" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: justify;">I have also answered the questions that were posed during the webinar.<a title="Enable social through XPages" href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/95afed22-32bc-48dd-b498-3b6d32fc7abc/entry/social_enablement_of_xpages_q_a14?lang=en"> Check out the answers here,</a> it&#8217;s kind of FAQs for the social enabling using XPage. Looking forward to your feedback on the webinar</p>
<p>&nbsp;</p>
<p><strong>About the author:</strong></p>
<p style="text-align: justify;"><em><span style="color: #339966;">Mervin is a Project Lead from Maarga Systems who specializes in XPages Development. His favourite past time is to create funny cartoons that goes in to the Happy News Board in Maarga.</span><strong><br />
</strong></em></p>
<p>&nbsp;
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/webinar-how-to-go-social-with-xpages.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/webinar-how-to-go-social-with-xpages.shtml</feedburner:origLink></item>
		<item>
		<title>Lotus Notes Application Migration Series : Part 1 – Defining Domino-Migration Objective</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/5t5Z3DBKsKs/lotus-notes-application-migration-series-part-1-defining-domino-migration-objective.shtml</link>
		<comments>http://www.maargasystems.com/blog/lotus-notes-application-migration-series-part-1-defining-domino-migration-objective.shtml#comments</comments>
		<pubDate>Thu, 29 Mar 2012 06:55:57 +0000</pubDate>
		<dc:creator>sivaram</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3221</guid>
		<description><![CDATA[From today we are starting a new series along with our Tweak Thursdays, on the different aspects of Lotus Notes Application Migration. Sivaram Athmakuri, the Practice Manager in Maarga will be writing this series. Well, you have decided/planned to migrate your Lotus Notes applications to your new platform. This is the time you need to ...]]></description>
			<content:encoded><![CDATA[<p><span style="color: #808080;"><em>From today we are starting a new series along with our Tweak Thursdays, on the different aspects of Lotus Notes Application Migration. <a href="http://in.linkedin.com/pub/sivaram-athmakuri/2/9b3/314">Sivaram Athmakuri</a>, the Practice Manager in Maarga will be writing this series.</em></span></p>
<p style="text-align: justify;">Well, you have decided/planned to migrate your Lotus Notes applications to your new platform. This is the time you need to define domino-level (environment) and application-level (low-level) Migration Objectives clearly to have your Migration project successful and smoother.</p>
<h3 style="text-align: justify;">Have you defined Domino-level Migration Objectives?</h3>
<p>Examples of well defined Migration Domino-level Objectives</p>
<p>• I want to migrate all my Lotus Notes applications to new platform in 2 years</p>
<ul>
<li>I want to migrate all my Lotus Notes mails to new mailing system</li>
<li>I want to migrate all my workflow applications to new BPM system</li>
<li>I want to migrate all my product masters to RDBMS so that they can be used by my ERP in next 3 months</li>
</ul>
<h4>Checklists for preparing Migration Domino-level Objectives</h4>
<ul>
<li>Have you spent more than 3 -6 weeks to prepare this statement?</li>
<li>Have you discussed/considered opinion from all your Department/Functional heads on Migration &amp; addressed their concerns?</li>
<li>Have you discussed with your IT Support teams (at Head Office/Branches or Regional Offices)?</li>
<li>Have you Identified the list of the third party solutions that are running on Lotus Domino server and analyzed impact of the migration?</li>
<li>Have you evaluated and finalized the new mailing solution and impact of that on key/critical applications (if you are using Lotus Notes mailing system)?</li>
<li>Do you have list of existing lotus notes applications that use Mailing, Calendaring and Resource reservation features. If yes, Have you evaluated/done the pilot test with new mailing system?</li>
<li>Have you considered the data migration strategy?</li>
<li>Have you considered the data archive and retrieval strategy?</li>
<li>Have you discussed about all these with Business owners of the applications and came to agreement?</li>
<li>Have you done the SWOT analysis on key applications before and after migration?</li>
<li>Have you provided the Ball Park estimates of Time and Effort (and does this match with budget allocated for the Migration)?</li>
</ul>
<p><span style="color: #808080;"><em>To be continued&#8230;</em></span></p>
<p style="text-align: justify;"><em><strong>About the author</strong></em></p>
<p><em>Sivaram Athmakuri has 16 years of experience in providing Solutions to various enterprises using IBM products such as Lotus Domino, QuickR, Workflow and Domino.doc, Webpshere. He is Certified Project Management Professional and takes sessions/classes on various Project Management practices/knowledge.</em></p>
<p>&nbsp;</p>
<p>&nbsp;
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/lotus-notes-application-migration-series-part-1-defining-domino-migration-objective.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/lotus-notes-application-migration-series-part-1-defining-domino-migration-objective.shtml</feedburner:origLink></item>
		<item>
		<title>Is the “Middle” dead?</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/RS4NknKHeys/is-the-middle-dead.shtml</link>
		<comments>http://www.maargasystems.com/blog/is-the-middle-dead.shtml#comments</comments>
		<pubDate>Mon, 12 Mar 2012 13:10:22 +0000</pubDate>
		<dc:creator>Venki</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[death of formal in planning]]></category>
		<category><![CDATA[emirates]]></category>
		<category><![CDATA[in flight internet access]]></category>
		<category><![CDATA[middle in planning]]></category>
		<category><![CDATA[onair wifi]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[social connections]]></category>
		<category><![CDATA[social networing]]></category>
		<category><![CDATA[social sharing]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3066</guid>
		<description><![CDATA[I just landed in Dubai en-route from New York City to Chennai. I flew one of Emirates Airlines A 380 flights. Emirates has recently rolled out On Air Wi Fi services in its A-380 Flights, and I tried out one this time. The total flight time was around 12.5 hours from JFK to DXB and ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I just landed in Dubai en-route from New York City to Chennai. I flew one of Emirates Airlines A 380 flights. Emirates has recently rolled out On Air Wi Fi services in its A-380 Flights, and I tried out one this time. The total flight time was around 12.5 hours from JFK to DXB and while I was not in the highest of energy levels, the concept of being connected from the sky was appealing and it was not something I was going to pass over.</p>
<p style="text-align: justify;">The signup process was seamless. I turned on WiFi on my Galaxy SII, it detected the On Air hotspot, and connected. I launched a web browser, chose a username/password for the session, chose the package, provided my credit card details and once authorized I was on. The whole signup process seems to be carried out with a web-server that is placed in-flight, so the interaction speeds were really good. Even the authorization did not take much time &#8230; I saw that On Air had just run a $1 charge on my credit card to verify that I have a valid card. There were two packages .. I picked up the one for $15 for 30 MB of data and chose to cut out access when I utilized my data quota.</p>
<p style="text-align: justify;">Most interesting to me was what I did immediately after finishing this. I launched Facebook, did a status update with a photo (low-res &#8230;. remember the cost of data here! &#8211; <a href="https://www.facebook.com/photo.php?fbid=3088528206860&amp;set=p.3088528206860&amp;type=1&amp;theater">https://www.facebook.com/photo.php?fbid=3088528206860&amp;set=p.3088528206860&amp;type=1&amp;theater</a>) of me in the flight. I checked my company social network, and then my email. So, the urge was to get onto the social network and update/get updates, and that is the significant fact I learnt from this whole thing. Social Networks have become the hubs where we connect to the moment we have connectivity. I see a future in which inflight services are enhanced by additional services around social networks. <a title="KLM Social Seat Sharing" href="http://www.wired.com/autopia/2011/12/klm-passengers-can-use-facebook-for-meet-seat/">KLM has already started trialling Social Seating</a>, and I am sure this inflight time can fit into specific work patterns for people who are interested in more enterprise applications.</p>
<p style="text-align: justify;">When it comes to communications, are we seeing a parallel to business planning? There is a popular approach adopted by a few prominent companies &#8230; which declared that in planning the &#8220;middle&#8221; is dead. They have a 10 year plan and a 1 week plan &#8230; but started de-emphasizing 1-2 year plans. In today&#8217;s globalized world, I see a lot of cross-country travel to get in front of the other party to collaborate closely. And I see multiple transient interactions over the social network. The &#8220;middle&#8221; like formal status calls are changing a bit, and getting subsumed by the constant stream of social updates using modern technology. What do you see happening in your world?</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>About the author</strong></span></p>
<p style="text-align: justify;"><span style="color: #808080;"><strong><em>Venkatesh aka Venki is the Founder and CEO of Maarga Systems. He has more than 12 years of experience in Collaborative Technologies, Web 2.0, Sourcing Management, Global Delivery Models, Lotus Notes, Domino and other IBM Software Technologies. His other interests include Yoga and Developmental Economics.</em> Connect with Venki at <a title="View public profile" name="webProfileURL" href="http://in.linkedin.com/in/4venki"></a>http://in.linkedin.com/in/4venki</strong></span></p>
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/is-the-middle-dead.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/is-the-middle-dead.shtml</feedburner:origLink></item>
		<item>
		<title>Tweak Thursdays 3: Connecting SVN server and Domino Designer using Subclipse</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/wXgmaKOtOWI/tweak-thursdays-3-connecting-svn-server-and-domino-designer-using-subclipse.shtml</link>
		<comments>http://www.maargasystems.com/blog/tweak-thursdays-3-connecting-svn-server-and-domino-designer-using-subclipse.shtml#comments</comments>
		<pubDate>Thu, 08 Mar 2012 14:40:24 +0000</pubDate>
		<dc:creator>Linoy</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=3027</guid>
		<description><![CDATA[I think most of the fellow developers would want to have subversioning using the SVN Server with Domino Designer for Lotus Notes Databases. This week&#8217;s tweak will explain you how to enable the version control system for the Lotus Notes Databases using Sublclipse Step 1: Enable the Install Option in the designer from the Preferences ...]]></description>
			<content:encoded><![CDATA[<p>I think most of the fellow developers would want to have subversioning using the SVN Server with Domino Designer for Lotus Notes Databases. This week&#8217;s tweak will explain you how to enable the version control system for the Lotus Notes Databases using Sublclipse</p>
<p><strong>Step 1:</strong> Enable the Install Option in the designer from the Preferences panel</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga1.jpg"><img class="alignleft  wp-image-3028" title="SVN_Screenshot_Maarga1" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga1.jpg" alt="" width="612" height="269" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 2:</strong> Install the Subclipse using Update Site</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga2.jpg"><img class="alignleft  wp-image-3029" title="SVN_Screenshot_Maarga2" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga2.jpg" alt="" width="511" height="343" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 3:</strong> Update site is <a href="http://subclipse.tigris.org/update_1.8.x">http://subclipse.tigris.org/update_1.8.x</a></p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga3.jpg"><img class="alignleft  wp-image-3030" title="SVN_Screenshot_Maarga3" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga3.jpg" alt="" width="568" height="500" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;<br />
</br><br />
</br></p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga4.jpg"><img class="alignleft  wp-image-3031" title="SVN_Screenshot_Maarga4" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga4.jpg" alt="" width="474" height="412" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 4:</strong> Click Finish, to proceed to other screen</p>
<p><strong>Step 5:</strong> Click Next, Accept and Install all the plugins as it prompts</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga5.jpg"><img class="alignleft  wp-image-3032" title="SVN_Screenshot_Maarga5" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga5.jpg" alt="" width="431" height="398" /></a><strong></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 6:</strong> After the above step, restart the domino eclipse client. Install the ‘SourceEnableControl’ plugin, by downloading the SourceEnableControl100 plugin zip file. Add the zip file to the application list from the unzipped folder using “Add Zip/ Jar location” option.</p>
<p>&nbsp;</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga6.jpg"><img class="alignleft  wp-image-3033" title="SVN_Screenshot_Maarga6" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga6.jpg" alt="" width="417" height="390" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 7:</strong> Click OK, and proceed to Finish for the next screen</p>
<p><strong>Step 8:</strong> Select all and click next and Accept and Install the drivers.Restart the domino designer. Check the preferences and make sure that all the options are enabled</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga7.jpg"><img class="alignleft  wp-image-3034" title="SVN_Screenshot_Maarga7" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga7.jpg" alt="" width="481" height="427" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga8.jpg"><img class="alignleft  wp-image-3045" title="SVN_Screenshot_Maarga8" src="http://www.maargasystems.com/wp-content/uploads/2012/03/SVN_Screenshot_Maarga8.jpg" alt="" width="554" height="376" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 9:</strong> You are ready for the Use of subversion. Now connect your SVN server and enjoy !!!</p>
<p>&nbsp;<br />
<strong>About the author</strong><br />
<span style="color: #99cc00;"><strong>Linoy George is a Project Lead from Maarga Systems. He codes and…. yeah, he codes <img src='http://www.maargasystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span>
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/tweak-thursdays-3-connecting-svn-server-and-domino-designer-using-subclipse.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/tweak-thursdays-3-connecting-svn-server-and-domino-designer-using-subclipse.shtml</feedburner:origLink></item>
		<item>
		<title>Tweak Thursdays 2: Linkedin connection and search in your XPages Application</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/2teeutBE4iM/tweak-thursdays-2-linkedin-connection-and-search-in-your-xpages-application.shtml</link>
		<comments>http://www.maargasystems.com/blog/tweak-thursdays-2-linkedin-connection-and-search-in-your-xpages-application.shtml#comments</comments>
		<pubDate>Thu, 01 Mar 2012 22:30:23 +0000</pubDate>
		<dc:creator>Linoy</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=2782</guid>
		<description><![CDATA[I am back with the second post in the series. I was part of the IBM Code-a-thon that happened along with IBM Lotusphere 2012 in Mumbai. Me and my colleague Syed were part of the team that created the Social Recruitment application that we proposed. I will write a detailed post on Monday on how ...]]></description>
			<content:encoded><![CDATA[<p>I am back with the second post in the series. I was part of the <a href="http://www-01.ibm.com/software/in/lotus/lotusphere/">IBM Code-a-thon that happened along with IBM Lotusphere 2012 in Mumbai</a>. Me and my colleague Syed were part of the team that created the Social Recruitment application that we proposed. I will write a detailed post on Monday on how we went about it. We actually won the audience vote against the Work Flow engine done by the other team. I am going to present you with one part of the application that we developed during the code-a-thon.</p>
<p>One of the functionalities of the application is to search<strong> Linkedin</strong> for a particular keyword and list the profiles that matches the keyword. The following code will help you with it that can be used along with any <strong>XPages application</strong>.</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;xp:view xmlns:xp=&#8221;http://www.ibm.com/xsp/core&#8221;&gt;<br />
&lt;!&#8211; Maargasystems.com &#8211;&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://platform.linkedin.com/in.js&#8221;&gt;<br />
api_key:  //need to give that<br />
onLoad: onLinkedInLoad<br />
authorize: true<br />
&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
// 2. Runs when the JavaScript framework is loaded<br />
function onLinkedInLoad() {    IN.Event.on(IN, &#8220;auth&#8221;, onLinkedInAuth);<br />
}</p>
<p>// 2. Runs when the viewer has authenticated<br />
function onLinkedInAuth() {<br />
IN.API.PeopleSearch()<br />
.fields(&#8220;firstName&#8221;, &#8220;lastName&#8221;, &#8220;positions&#8221;)<br />
.params({&#8220;keywords&#8221;: &#8220;Designer&#8221;,&#8221;count&#8221;:25,&#8221;start&#8221;:25})<br />
.result(displayPeopleSearch)<br />
.error(displayPeopleSearchErrors);<br />
}</p>
<p>// 2. Runs when the PeopleSearch() API call returns successfully<br />
function displayPeopleSearch(peopleSearch) {<br />
peopleSearchDiv = document.getElementById(&#8220;peoplesearch&#8221;)<br />
var members = peopleSearch.people.values; // people are stored in sa different spot than earlier example<br />
var name;<br />
for (var member in members) {<br />
// but inside the loop, everything is the same<br />
// extract the title from the members first position<br />
name += members[member].firstName + &#8221; &#8221; + members[member].lastName+&#8221;,&#8221;<br />
peopleSearchDiv.innerHTML += &#8220;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Name: &lt;a&gt;&#8221; + members[member].firstName + &#8221; &#8221; + members[member].lastName + &#8221; &lt;/a&gt;&lt;/p&gt;&lt;p&gt; &#8221; + members[member].positions.values[0].title + &#8220;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;hr&gt;&lt;/hr&gt;&#8221;;<br />
}<br />
}</p>
<p>function displayPeopleSearchErrors(error) { /* do nothing */ }<br />
&lt;/script&gt;</p>
<p>&lt;br/&gt;</p>
<p>&lt;div id=&#8221;peoplesearch&#8221;&gt;&lt;/div&gt;<br />
&lt;br/&gt;</p>
<p>&lt;/xp:view&gt;</p>
<p>&nbsp;</p></blockquote>
<p><strong>Screenshot</strong></p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/03/IMG_0058.jpg"><img class="aligncenter size-full wp-image-2784" title="IMG_0058" src="http://www.maargasystems.com/wp-content/uploads/2012/03/IMG_0058.jpg" alt="" width="717" height="403" /></a></p>
<p><a title="Linkedin connection in XPages" href="http://www.maargasystems.com/wp-content/uploads/2012/03/Linkedin-connection-with-XPages.txt">Download the complete code as a text file </a></p>
<p><strong>About the author</strong><br />
<span style="color: #99cc00;"><strong>Linoy George is a Project Lead from Maarga Systems. He codes and…. yeah, he codes <img src='http://www.maargasystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span>
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/tweak-thursdays-2-linkedin-connection-and-search-in-your-xpages-application.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/tweak-thursdays-2-linkedin-connection-and-search-in-your-xpages-application.shtml</feedburner:origLink></item>
		<item>
		<title>Tweak Thursday 1: How to get your Lotus Notes calendar on your web profile?</title>
		<link>http://feedproxy.google.com/~r/MaargaSystems/~3/Ih3_1mC4zEc/tweak-thursday-1-how-to-get-your-lotus-notes-calendar-on-your-web-profile.shtml</link>
		<comments>http://www.maargasystems.com/blog/tweak-thursday-1-how-to-get-your-lotus-notes-calendar-on-your-web-profile.shtml#comments</comments>
		<pubDate>Thu, 23 Feb 2012 15:46:40 +0000</pubDate>
		<dc:creator>Linoy</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[calendar entry]]></category>
		<category><![CDATA[calendar to web sync]]></category>
		<category><![CDATA[lotus notes application]]></category>
		<category><![CDATA[lotus notes calendar]]></category>
		<category><![CDATA[lotus notes development]]></category>
		<category><![CDATA[notes calendar to web sync]]></category>
		<category><![CDATA[XPages]]></category>
		<category><![CDATA[xpages app]]></category>
		<category><![CDATA[Xpages Sample Code]]></category>

		<guid isPermaLink="false">http://www.maargasystems.com/?p=2549</guid>
		<description><![CDATA[Tweak Thursday will be a regular feature in Maarga blog from today, that will give you simple codes and widgets that will help make your user experience better. Tweak Thursday codes are given by talented developers of Maarga Systems. I have been working on the Intranet system of Maarga for the past few days and ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Tweak Thursday will be a regular feature in Maarga blog from today, that will give you simple codes and widgets that will help make your user experience better. Tweak Thursday codes are given by talented developers of Maarga Systems.</p>
<p style="text-align: justify;">I have been working on the Intranet system of Maarga for the past few days and the challenge was to show an employee&#8217;s calendar events in Lotus notes in his intranet profile page. This scenario you may come across in your companies or in your client&#8217;s environment especially when you develop portals for the internal employees. It&#8217;s s <strong>SJSS</strong> tweak that can get you this operation done.</p>
<h3>The code</h3>
<blockquote><p>importPackage(java.lang);<br />
importPackage(java.util);</p>
<p>var commonUserName = new String(@Name(&#8220;[CN]&#8220;,@UserName()));<br />
var mailServer = new StringBuffer();<br />
var mailFile = new StringBuffer();<br />
var mailDomain = new StringBuffer();<br />
var mailSystem = new StringBuffer();<br />
var profile = new Vector();</p>
<p>var Reg:NotesRegistration = session.createRegistration();<br />
Reg.setRegistrationServer(@Subset(@DbName(),&#8221;1&#8243;));<br />
Reg.getUserInfo(commonUserName, mailServer, mailFile, mailDomain, mailSystem, profile);<br />
var MailFilePath = @ReplaceSubstring(mailFile,&#8221;\\&#8221;,&#8221;/&#8221;);</p>
<p>var mailPath = MailFilePath + &#8220;.nsf&#8221;<br />
try {<br />
// gettting the MailServer Path from Config Documents<br />
var serverName = @DbLookup(@DbName(),&#8221;vwConfig&#8221;,&#8221;MailServer&#8221;,2)</p>
<p>var mailDb:NotesDatabase = session.getDatabase(@Text(serverName),mailPath)</p>
<p>var inboxView:NotesView = mailDb.getView(&#8220;MeetingsOnMyCalendar&#8221;) //this will all entries from the calendar</p>
<p>var today:NotesDateTime = session.createDateTime(@Today())<br />
var dateRange = session.createDateRange()<br />
dateRange.setText(@Text(today.getDateOnly()) +&#8221; 12:00:00 AM &#8211; &#8221; + @Text(today.getDateOnly())+&#8221; 11:59:59 PM&#8221;)<br />
var documentCollection:NotesViewEntryCollection = inboxView.getAllEntriesByKey(dateRange);</p>
<p>var documentCollection1:NotesDocumentCollection = inboxView.getAllDocumentsByKey(dateRange);<br />
var totalDocumentCount1:Integer =  documentCollection1.getCount();</p>
<p>var totalDocumentCount:Integer =  documentCollection.getCount();<br />
var today:NotesDateTime = session.createDateTime(@Today())</p>
<p>var MeetingDetails=&#8221;";</p>
<p>if(totalDocumentCount==0)<br />
{<br />
return &#8220;No Meetings for the day&#8221;<br />
}</p>
<p>var viewEntry:NotesViewEntry = documentCollection.getFirstEntry()<br />
var newArr = new Array()<br />
for(x=0;x&lt;totalDocumentCount;x++)<br />
{</p>
<p>var document:NotesDocument = viewEntry.getDocument()</p>
<p>var MeetingDate:NotesDateTime = session.createDateTime(@Text(document.getItemValue(&#8220;StartDateTime&#8221;)[0]))<br />
if(MeetingDate.getDateOnly()==today.getDateOnly()){ //This will get you the non-repeated entry &#8211; If need all entries need to try here<br />
var temp = @Text(document.getItemValue(&#8220;StartTime&#8221;)) + &#8221; &#8211; &#8221; +@Text(document.getItemValue(&#8220;EndTime&#8221;))+&#8221;      &#8220;+@Text(document.getItemValue(&#8220;Subject&#8221;))+&#8221;#&#8221;<br />
if(MeetingDetails == &#8220;&#8221;)<br />
{</p>
<p>MeetingDetails = temp<br />
}<br />
else<br />
{</p>
<p>MeetingDetails = MeetingDetails + temp</p>
<p>}</p>
<p>}</p>
<p>viewEntry = documentCollection.getNextEntry(viewEntry)<br />
}<br />
if(MeetingDetails==&#8221;")<br />
{<br />
MeetingDetails =  &#8220;No Meeting for the day&#8221;<br />
}</p>
<p>return MeetingDetails</p>
<p>}catch(e){<br />
//Handle the error page<br />
}</p></blockquote>
<p><strong>Sample Screenshots</strong></p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/02/intranet_profile_xpages2.jpg"><img class="aligncenter size-large wp-image-2556" title="intranet_profile_xpages" src="http://www.maargasystems.com/wp-content/uploads/2012/02/intranet_profile_xpages2-1024x576.jpg" alt="" width="614" height="346" /></a></p>
<p style="text-align: center;"><a href="http://www.maargasystems.com/wp-content/uploads/2012/02/calendar_entry_xpages1.jpg"><img class="aligncenter size-large wp-image-2557" title="calendar_entry_xpages" src="http://www.maargasystems.com/wp-content/uploads/2012/02/calendar_entry_xpages1-1024x484.jpg" alt="" width="614" height="290" /></a></p>
<p style="text-align: left;"><a title="Text file of the Calendar code" href="http://www.maargasystems.com/wp-content/uploads/2012/02/ssjscode_todayatglancecalendar.txt" target="_self">Download the code text file here </a></p>
<p style="text-align: left;"><strong><span style="color: #99cc00;"><em>Linoy George is a Project Lead from Maarga Systems. He codes and&#8230;. yeah, he codes <img src='http://www.maargasystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></span></strong></p>
<p style="text-align: left;">
<div id="wpcr_respond_1"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maargasystems.com/blog/tweak-thursday-1-how-to-get-your-lotus-notes-calendar-on-your-web-profile.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.maargasystems.com/blog/tweak-thursday-1-how-to-get-your-lotus-notes-calendar-on-your-web-profile.shtml</feedburner:origLink></item>
	</channel>
</rss>

