I do not understand the instructions for Anchor links. I want to create an anchor link, and then open a document in edit mode at that link. I want to do this in the Notes client using Lotusscript.
-
I created a rich text field. Edited the document and moved the cursor to the RTF. I said, Edit - Copy as Link - Copy as Anchor Link (according to the Notes Help). Then I got a popup box (not mentioned in the Notes Help) with some text (“Project Management”) in it. Why am I getting this popup?
-
Then it displays the anchor link, which is mentioned in Help. I saved and closed the document.
-
Next, I paste in a Memo form, and click the link that’s pasted in. It takes me to the correct place in the target document (so far, so good – if a bit confusing).
-
Now I want to open the document to that anchor using Lotusscript. From the Help, notesUIWorkspace.EditDocument’s fourth parameter is “documentAnchor$”. What is this string? Is this that popup that was displayed in step 1? How come, when I try to paste into the Programming Pane, I get some confusing text:
WIP DEVELOPMENT - Project Management
<REPLICA 85257383:004DAAB3>
CN=interdev7/O=ogilvy
WIP DEVELOPMENT
4 cont’d) What the heck is that?
-
Also, how do get that text back if I want to paste it more than one time but I’ve lost what is on my clipboard (Windows users)? To get the Anchor text onto my clipboard, it seems the only way is to create a new Anchor link.
-
Finally, I really want to do this in all documents created with this form. Any ideas how I can create the Anchor link in each document? (Or any other way to open to a particular tab or part of a document?)
Thanks if you can answer any (or hopefully all) of my questions,
-Jeff