Friday, 2 December 2011

Our lotus note client received email but when they send to other the recepient do not received email?

1) Edit your location document as following image, when you will save it will prompt for sending all dead mail.

2) Open To MailBox = Cntr+O ==> Server select Local ==> type "mail.box" , then open. 
you will get your mail here. Like following image.

Select all your mail and click on following option as in third image.


Friday, 14 October 2011

What is required for Sametime community awareness and chat to work on multiple servers?


There are certain fundamental requirements and assumptions made by the Community Server, which are essential to providing a consistent user experience. One of these assumptions is the concept of a “full mesh”. A full mesh refers to the way Sametime Community servers communicate with each other. In a full mesh environment, all Sametime Community servers communicate with each and every server in the Sametime Community.

Not running with a full mesh configuration might lead to awareness and presence issues and to a scenario in which the Community Server is constantly trying to connect to servers that are configured to be part of the mesh that are no longer in service.

The following must be present for awareness and chat to work on multiple servers:
    1. A copy of each Server document must be present in the Domino directory, in the same domain/community. 2. The Server documents must have the "Is this a Sametime server?" field set to "Yes." 3. In the Ports/Notes Network Ports section, the Net Address field must contain the DNS fully qualified host name. Additionally the fully qualified host name (FQHN) must be resolvable by other servers over port 1516. To verify these requirements are met, run a telnet test to the FQHN of the other server over port 1516 and confirm a connection is successfully established (telnet fqhn.otherserver.com 1516). 4. The Sametime servers must use the same directory protocol for authentication. For example, both servers must either use Domino directory (NRPC) or LDAP. 5. If the Sametime servers are not the same version, then the VP_SECURITY_LEVEL parameter in the Sametime.ini file must be modified to allow the servers to establish a connection to one another. If messages similar to the following are written to the sametime.log:
      I Server dd/mm/yy, 15:00:27 Rejecting server 192.0.2.0 - reported security level=0
    and if both Sametime 8.0.x and 8.5.x servers are running in the environment, certain awareness issues can be addressed by implementing the parameter VP_SECURITY_LEVEL=7000 in the sametime.ini. 6. The value of AWARENESS_CASE_SENSITIVE=0 in sametime.ini should be the same on all servers in the environment. The recommended value, and the default starting 8.5 is 0 - means the server is case insensitive.
If the requirements above are met and awareness continues to fail between the servers, then refer to the technote titled "How a Sametime server establishes a community connection with other Sametime servers" (# 1206752 ) to troubleshoot the issue.

Note: The Connection document of type "Sametime" is only used for Meeting services and not for Community Awareness. The Sametime Connection document is only required when implementing invited servers for on-line meetings. These Connection documents are unidirectional (see the Administration Guide for additional information on multiple Sametime servers). The Network Address field is not optional, and should be populated with a DNS name rather than an IP address. This will prevent future issues that might arise should the IP address change. To establish client awareness (chat), Sametime Connection documents between the Sametime servers are not required.

Once all of the above requirements are met, restart all of the Sametime servers involved.

For more about this topic, refer to "Extending a single Sametime community across multiple Domino domains" in the Lotus Sametime Information Center.

Related information

How a Sametime server establishes community connection
Troubleshooting issues with Sametime users not appearin
Sametime Community Clustering
Default values on the Sametime Community server 8.5 wer

Real Problem & accepted Solution:


Problem: Sametime servers not communicating.

Solution: Check the sametime.log for error.
If Error is: (  I Server     13/Oct/11, 14:05:10 Rejecting server XX.XXX.XXX.XX - reported security level=0).

Change VP_SECURITY_LEVEL value to zero in sametime.ini as given in following.

VP_SECURITY_LEVEL =0




Thursday, 15 September 2011

Get database usages details monthly, daily in a week etc. (Lotus Notes )

Get History of the database without spending your time:
Use the power of formula language.

Create one column select column text as number. use @Subset function to get required values monthly daily weekly etc.

Ex: @Subset(@Subset("fieldtogetvalue";number);-1)

Thanks
Tej Dixit

Saturday, 9 April 2011

My Mentor - Ashish Dwivedi!!!!




"मैं  जब भी *Tej* चलता हूँ, तो नज़ारे  छूट जाते  हैं !
 कोई    मूरत  जो गढ़ता  हूँ,  तो   सांचे   टूट  जाते हैं !
 मैं   रोता हूँ,  तो लोग  आके      कन्धा  थपथपाते हैं !
   मैं   हँसता   हूँ,  तो  जाने क्यों     लोग रूठ जाते हैं ! "

  "
Ashish Dwivedi Lotus Notes skipper & me Tej Dixit Lotus Notes. We are trying to make lotus notes domino (IBM Lotus notes) easy to the user. We are coming soon with Xpage with wide extensible javascript. As we know javascript is main weapon for the Xpage and ajax.

Thanks:
Ashish Dwivedi and Tej Dixit

Monday, 29 March 2010

Easy to Retain aligning of computed Text in web.(Lotus Domino)

Basically This is the problem comes in web applications.When we put some text in field if this text has many paragraphs and many lines, Which has many spaces between two words. It got collapse when you open document. They look like bunck of text not easy to read that. Retain aligning of text has following easy steps:-



Tuesday, 1 December 2009

How to use and play Flash in Lotus Notes (client),

Seven easy point to play Flash in Lotus Notes.
These are as:-


1) You have to "flash player" installed on your server

2) Http services should be activated on your server.

3) Take a form called "Flash test"

4)Put your cursor where you want to open your flash file. Now from file menu crete--> object-->
new window will open in create new table of window select "Control"-->

from Object type: of window select "Macromedia Flash Paper". flash control will be add in your form
(Fix the attribute according to your flash movie width height etc.).

5) In design attribute of Files add flash file resource like file name "flashfile.swf" which you want to open.


6)Now on "Postopen" event of the form add following code.==>


Dim FlashMovie As Variant
Set FlashMovie = Source.GetObject("FlashObject")
FlashMovie.LoadMovie 0,"http://servername/databasename.nsf/flashfile.swf?OpenFileResource"


7)Save form and open it on Client. Flash movie will run.

Thursday, 1 October 2009

Flash Chart in Lotus Notes(Client)

Hi Friends..

As we know we have the limited facility to make chart in lotus Notes(Client ) application.
like we can develop it excel.

Now you can also develop Flash Chart in Lotus Client Application.
like web Domino Application. They are very intractive and fast.

I have posted the Flash chart database in Openntf.
Check This if you need any help feel free to contact me.


http://www.openntf.org/Projects/pmt.nsf/1af5f59bae92986c85256bae000f898c/76f629862cfc0d8b862576420038a43f!OpenDocument

Wednesday, 12 August 2009

Ajax dblookup to get value in combo

**Ajax dblookup code "Get the value in second combo based on the choise of first combo"**
This is easy to get values in other field based on the selection of text in one field without refreshing the whole form. This is all we can do with Ajax code.
This code i have tested in Mozilla and IE and working like charm!
How to Use:-
1) Form in which you want to use this ajax dblookup code
take a field named
"path" type text put default value @WebDbName
2) Take two field combo type say named "fieldselect" and "fieldget"
3) In "fieldselect" enter formula for your choices or enter choices (Whatever value you want in first field) to get the value
// Above was the designing and accessing value in fields with formula and all that your Ajax code will start now//
4) On change of "fieldselect" put follwing code:-

Tdatabase =document.forms[0].path.value; // Accessing Database NameObjT1=document.forms[0].fieldselect; //Making object of first field
keyVal=ObjT1.options[ObjT1.selectedIndex].text;
ObjT2=document.forms[0].fieldget; //Making object of second field
dbLookup("",Tdatabase,"Test",keyVal,2) //dbLookup (server,database,view,key,column)
5) In JS Header of the form Put following Code(Just Copy and Past):-
var TReq;
var ObjT2;
/*////////--Dblookup function ---////////*/

function dbLookup(server,database,view,key,column)
{
server = window.location.hostname;
if( !isNaN(column) )
column -= 1;
viewurl = "http://"+trim(server)+"/"+trim(database)+"/"+view+"?Readviewentries&restricttocategory="+key
if (window.XMLHttpRequest) //for Mozilla
{
TReq = new XMLHttpRequest();
}
else if (window.ActiveXObject) // for IE
{
TReq = new ActiveXObject("Microsoft.XMLHTTP");
}
TReq.onreadystatechange = responseState;
TReq.open("GET", viewurl, true);
TReq.send(null);
}
function responseState()
{
if (TReq.readyState == 4) // Continue when Response from sever has arrived
{
if (TReq.status == 200) // Continue when everything is ok
{
response = TReq.responseXML;Mylookup(response)
}
else
{
alert("You are not getting the data check it" + TReq.statusText);
}
}
}
/* //// Extract Lookup value form XML data ////*/

function Mylookup(responseXML)
{
NodeList = responseXML.getElementsByTagName("viewentry")
var strValue="";
var Tsep="";
for(var i=0; i
{
strValue =strValue+Tsep+NodeList[i].getElementsByTagName("text")[0].childNodes[0].nodeValue
Tsep="¿"
}
strValuesplit = strValue.split("¿")
generateCombo(strValuesplit,ObjT2)
}
/*//////// Trim Function*/

function trim(str)
{
return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
}
/*//Getting value in cobmo Function//*/

function generateCombo(data,inField)
{
inField.length=0
inField.length +=1
inField[inField.length-1].text = "--Select--"
for(vCount=0;vCount
{
inField.length +=1strText=data[vCount]
if (strText !=undefined && strText != null)
{
inField[inField.length-1].text = trim(strText)
}
}
}

Find the full Running code in images.
Because due to the some html code above part missing some line code.
1stimage:

2ndimage:

Tuesday, 11 August 2009

Deatch File After new mail has arrived

Hi this agent will deatch file when new mail will arrived.
Some points to this agent:
1) This will override the file if same file name will exist.
2) If there are two mail having the same file name will only export the last mail file.
(If you want to export all attachment, attachment name should be different)
3) In agent prooerties in second tab chek Allow for restricted Operation.
4) This agent will deatch file in servers C drive's Deatch Folder
5) If you will manually trigger this agent then it will deatch file on the same system C drive's deatch folder as path given
Deatch Agent Code:
Declaration:-
Dim session As NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument


Initialize:-
Sub Initialize
Set session = New NotesSession
Set db = session.CurrentDatabase
Set collection = db.UnprocessedDocuments
For i = 1 To collection.Count
Set doc = collection.GetNthDocument( i )
If doc.HasEmbedded Then
Call detach( doc )
End If
Next
End Sub

Deatch Function:-
Sub detach( doc As NotesDocument )
Dim rtitem As Variant
Set rtitem = doc.GetFirstItem( "Body" )
Forall items In rtitem.EmbeddedObjects
If items.Type = EMBED_ATTACHMENT Then
Call items.ExtractFile( "C:\Detach\" & items.Source )
End If
End Forall
End Sub

Monday, 10 August 2009

Search text having bracket in lotus

Now you can search text having bracket
Like you want to search Tej Dixit(Hi)What you should do
1) Put " double quotesbefore opening of the first bracket.
2) Put " double quotes after closing of the first bracket.
3) This is not matter how many brackets are in a search text you ca search for nested bracket
also.
Things should be clear
ex: let you want to search Tej [Dixit(welcome)]
Then seacrh text with " will be
Tej "[Dixit(welcome)]"
In your code replace the same, you will get the result