Skip to main content

Lotus Notes Development important points

1) What is the difference between a Pull Pull & a Push Pull replication?

Answer: 

Pull - Pull Replication

In pull pull replication the Server A contacts Server B & Pulls all new and updates information
Then Server B contacts Server A and pulls all new and modified information
With this type of replication, both servers "share" the work of replication.
Over modem connections, however, Server A and Server B PULL simultaneously.
This approach helps maximize the usage of the low bandwidth connection.

Note : There is no console command equivalent to the Pull-Pull replication type.

PULL-PUSH: Server A contacts Server B and PULLS all new and modified information. Once Server A completes the pulling process, Server A PUSHES all of its new and modified information to Server B. The Replicator task on Server A does all of the work.


PULL-PUSH replication Command
REPLICATE Server B/Acme 

2) Is it possible to use the script libraries of one database in another database? If Yes, How?

Answer:

Script Libraries Can only work within database

However, the library is lost to scripts outside the database. For example, if a button in a document uses a script library and you mail the document to or paste it into another database that does not have the same script library, the script fails. If a script attempts to use a library not in the current database, the error message, "Error loading USE or USELSX module" displays.

3) Do Response documents work on web? If not, is there any workaround for achieving the same functionality on web ?

Answer:

There is no such functional difference between using response documents in Client and Web. Hence we can use it on web as we use in client. 

4) I want to run the agentt on behalf of other person , i included that person name in ACL with Editor access but after this it gives error. so can u tell me how to activate on behalf of agent?

Answer:
 
There are 2 things to check

1. have you selected this persons name in agent properties "Run on behalf of"?

2. Most important thing check in server document if you have access to it that if this user has access to run an agent on this server? 

5) Does @Success and @Failure works in the web?

Answer:

Yes

6) Explain XPages Architecture:

Answer:

Very nice thing about XPages that they are in presentation layer. They are separated out from data (which is completely different concept then traditional notes document).

So the notes client or the browser make a request through the domino server and the XPages runs the XSP Engine which load or start up the XPages.

Then XPages need to display requested data from domino databases by the help of Data Source. Data source is the way to find data that is accessible on a particular XPages. And we can view “documents” or “views” on XPages.

The best thing is that XPages don’t have to be in the same application where data source resides. Data source combines different applications. So XPages can reside in one application and can get data from many different other domino applications.

XPages have their own design elements. In addition we have custom controls like our sub forms and we have style sheets which generate automatically while adding designs into XPages and also we have themes.

All those design elements get complied when you save a XPage, which basically creates a Java class file and runs on domino server (XSP Engine) to show up the result to the end user.

7) What Is Replication?

Answer: 
  
Replication is the process of synchronizing one copy of a database with another copy of the same database with the goal of making them identical in design elements anddocument contents. Replication allows you to interact with your mail and collaborativeapplications when you leave the office. Here are some of the more common uses:

The replication process must be initiated manually or through a schedule.Notes can keep databases synchronized through replication, which can occur betweentwo Domino servers or between Notes workstations and a Domino server. Dominosystem administrators manage several replication tasks on the Domino server as a partof their jobs. The focus of a Notes client user is to replicate databases to your Notesclient that you’ll want to use when disconnected from a server.

Database Replicas and Copies

You can make two types of copies from a database: an ordinary copy and a replicacopy. In an ordinary copy, the original database remains intact and the copy of it reflectsthe moment in time when the copy is made. From that point forward, the two databases(the original and the copy) are distinct from one another; changes to each are madeindependently of one another and will never be shared between the two. Replicadatabases, on the other hand, can share changes made to them. A replica copy is madeof an original database and maintains a relationship with the original database; theseare referred to as replica copies. Between two replica databases, the replication process operates at the document level.During replication, Notes compares one database to another, determines anyincremental changes by checking which documents are new, which have been modified,and which have been deleted in each, and then it sends and receives documentadditions, updates, and deletions between the databases. When document updates aresent (or received), Notes only copies data from fields whose values have changed.Entire documents are not copied each time a change is made; only incrementalchanges are transferred. This is called field-level replication, and it makes Notesreplication efficient and fast.

8) Replication not happening

Answer:

To identify the replication issue
 1. replication history in database properties(it shows last succusfull replication)
 2.Log.nsf or replication tab in admin,
 3. connection documents
 4. replica id
 5. database ACL
 6. Document and field level access (this is useful when document count mismatch)
 7. monitoring result *statrep.nsf) ,
 8. "jobshedule" this file used for scheduled replication and can be corrupt. Replication is synchronization of database.

Comments

  1. Thanks for highlighting about the relevant information about replication. Especially, Push Pull replication is one of the effective applications associated with
    LotusNoteDevelopment
    .

    ReplyDelete
    Replies
    1. Thanks for commenting Jessi.... You can also share your key points as it may help for me too...

      Delete

Post a Comment

Popular posts from this blog

"Error in Agent" or "Error loading USE or USELSX" running Out-of-Office agent after upgrading to Domino 6.x

Question After upgrading from one Lotus® Domino® server version to another (for example, 5.0.11 to 6.x), you find that the Out of Office agent does not work and produces errors written to the console and the log (if enabled). The error message in the Domino console is as follows: "Error in Agent ´OutOfOffice OutOfOffice´ calling script library ´Common´: Script library signer ´CN=ServerA/O=Widgets´ does not have proper rights Agent ´OutOfOffice OutOfOffice´ error: Error loading USE or USELSX module: Common AMgr: Agent ´outofoffice´ in ´mail\jdoe.nsf´ completed execution" Maintenance on the database did not resolve the problem, nor did replacing the design or running fixup, updall -r, or compact. Answer Agent security rights in Domino 6.0 were revised to be more robust. This issue occurs when the signer of the script library does not have the correct rights to execute on the Domino server, and/or the script library has not been signed in Notes/Domino 6...

Dynamically changing the combo box values in Javascript:(Lotus Notes)

I need to change the 2nd combobox value depend on the value of the first combobox value. Steps: 1) Create a combo box name it as "cmbValue" . And have some values. 2) Give  default value to that combobox. 3) In the Onchange of that combo box place the code below. 4) Create another combobox value and name it as "cmbValue1" . 5) Give default value to that combobox also. Sample Code(Modify according to your values):   var doc = document.forms[0].cmbValue; var doc1 = document.forms[0].cmbValue1; if(doc.options[doc.selectedIndex].text=="--Select--") { doc1.remove(0) doc1.options[0] = new Option("--Select--","cmbValue1") return false; } else { if(doc.options[doc.selectedIndex].text=="One") {     doc1.options[0] = new Option("four","cmbValue1")     doc1.options[1] = new Option("five","cmbValue1")     return false; } else if(doc.options[doc.selectedIndex].text=="Two") {     doc1.opt...

"Responses" and "Response to responses"

Lotus Notes has any kind of format of lotus notes document, but what about the “response” and “response to the response.” When you design the form in lotus notes application you can chosen: to create a document with the document format under the primary documents call “response document” or create a document under response documents call “response to the response.” Lotus notes develops can decide whether to provide some structure when you create notes documents. There are many cases that are more relevant documents are clear. Example: a data entry in a document, you can information to employees in the two documents to be attached to the first. Remember that you have entered in the accounting documents of each set a unique ID.  How to tie documents to respond to the main document is to add a field in response documents called $REF. $REF argues that ID is not taken into account. copies of the parent. How “responses” differ from “response to responses”? Do you have a hierarchy of do...