Friday, January 27, 2012

How to create a document link in Browser (iNote)

I opened my mail box in browser not in notes.

I wanted to create a lotus notes document link in my new mail.

I copied my document as a document link. And I pasted it into my composed mail.

But the pasted content is like as XML data.

Like the following...

ForLearn - vwFirst

<NDL>
<REPLICA 80257982:0030ACD6>
<VIEW OF36506E63:CADCC181-ON80257982:0030EA23>
<NOTE OF721DA42A:B3B04ECE-ON80257990:003A7B90>
<HINT>SERVERNAME</HINT>
<REM>ForLearn</REM>
</NDL>

So I tried into a lot of way finally I got the solution for that...

I have pasted the document link into my same time chat...

Now it came like the following...

Notes://serverName/802579820030ACD6/36506E63CADCC181802579820030EA23/721DA42AB3B04ECE80257990003A7B90

With the use of this we can easily send our document link to our client.

Wednesday, January 25, 2012

SetContentFromText Method in NotesRichTextItem

For NotesRichTextItem,

Call notesMIMEEntity.SetContentFromText( stream, contentType, encoding ),



In Notes 8.5.2,

We can use ENC_BASE64 as Encoding,

But for 8.5.1, it will not work...

I have tried this for one of my project, It showed "SetContextFromText is null"

I use 1727 for ENC_BASE64, It is working nice now.,


ENC_BASE64 (1727) -- Content-Transfer-Encoding is "base64"
ENC_EXTENSION (1731) -- Content-Transfer-Encoding is user-defined
ENC_IDENTITY_7BIT (1728) -- Content-Transfer-Encoding is "7bit"
ENC_IDENTITY_8BIT (1729) -- Content-Transfer-Encoding is "8bit"
ENC_IDENTITY_BINARY (1730) -- Content-Transfer-Encoding is "binary"
ENC_NONE (1725) -- no Content-Transfer-Encoding header
ENC_QUOTED_PRINTABLE (1726) -- Content-Transfer-Encoding is "quoted-printable"


In Notes 8.5.2,

We can use ENC_BASE64 as Encoding,

But for 8.5.1, which will not work...

I tried this for one of my project, It showed "SetContextFromText is null"

So We have to use 1727 for ENC_BASE64.,

Monday, January 23, 2012

Document context- Run Agent



Please check the below steps need to be done...

1. Check the Agent should be sign with Server ID or Administrator ID

2. Need to check the Run as Web user(Property) in Agent property.

3. Check your Agent Target - View Window or None

Wednesday, January 11, 2012

Usefull Link for Xpage - IBM Java classes

This is useful for us


IBM- Java classes

Sliding the Text in Xpages

Paste this into your xpage's source

<xp:eventHandler event="onclick" submit="false">

<xp:this.script>

<xp:scriptGroup>

<xe:alertAction
text="Sliding text to position 0, 1000">
</xe:alertAction>

<xe:dojofxSlideTo node="div1" duration="1500" left="100"
top="500">
</xe:dojofxSlideTo>


</xp:scriptGroup>

</xp:this.script>

</xp:eventHandler>