Notes of my Lotus Notes Headline Animator

Search My Blog

Wednesday, April 28, 2010

Ways to do Version Controlling/Tracking

Version tracking is a feature that allows you to maintain the history of changes made in a document. And is another interview question.

Version tracking can be achieved in 2 ways. First through the Form properties and the Second is by using the reserved field $VersionOpt.

Wednesday, April 7, 2010

Replicate or copy documents and $KeepPrivate

a> How to stop users from creating local replicas or local copies?

b> How to stop users from copying / printing / forwarding any documents from the database?

c> How to stop users from copying / forwarding / printing an e-mail that you sent?

Tuesday, April 6, 2010

Authors vs Readers

Readers and Authors fields - a common interview question. I remember whatever interviews I have given in any organisation or who ever I have interviewed I have always asked them questions related to Readers and Authors field with lot of permutation and combination. Today I thought of documenting whatever I know about these fields, so I can refer to it whenevevr I want and brush up my brain a little if I have forget anything in future. 

Monday, April 5, 2010

Manager vs Designer

Manager

  1. Can modify the database ACL.
  2. Can encrypt the database.
  3. Can modify replication settings.
  4. Has the right to delete the database.
  5. Can perform all tasks that are allowed to the lower accesses; i.e. Designer, Editor, Author, Reader, Depositor.
Designer

  1. Can modify all the design elements in the database.
  2. Can create a full-text search index in the database properties.
  3. Can perform all the tasks that are allowed to the lower accesses; i.e. Editor, Author, Reader, Depositor.

Sunday, April 4, 2010

Ways to Create Response Document

There are 3 ways to create a response document. Each way is in different language. In all the cases both documents remain in/must be in the same database. This is one of the interview question I was asked once.

1 > In Formula Language:
a. @Command([ComposeWithReference]; server : database; form; flags)
- form is the name of the form used to create the response document with and this form must have a rich text field with name as Body.
- This command is called usually from a form action or view action.
- So that it takes the reference of the currently open document or the selected document in the view.

click here for more details.
2 > In Java:
a. public void makeResponse(Document doc) throws NotesException
i.e. responseDoc.makeResponse(parentDoc);
click here for more details
3 > In LotusScript:
a. Call responseDocument.MakeResponse( parentDocument )
click here for more details.