Can you provide an example of the code where you tried to creata the doc link?
"But when I tried to add document link to RTItem and passed the project variable it fails with the following error
06/04/2011 03:11:17 PM HTTP JVM: NotesException: AppendDocLink requires a NotesDocument, NotesView or NotesDatabase argument"