Hello
I have the following problem. I like to create doclinks that are going to a defined form. In other words, when I open a document with form A and create the doclink it should open also with form A, create I the doclink with form B it should after be opened with form B.
Thanks for any information.
Subject: Doclink setting Form??
I don’t think you can do it with doclinks. Maybe a action hotspot using the “notes:”-URL form, that refers to views with form formulas.
johan@kanngard.net
http://dev.kanngard.net
Subject: Doclink setting Form??
The view UNID is included as part of the doclink for just this reason. Create a view with a form formula for Form A and another with a form formula for Form B. Then try creating a doclink from each of these views (manually) to the same document and you will see it opens the correct form.
The problem with doing this automatically (via LotusScript or Java), is that IBM does not give you a way to specify the view, so it always uses the default view. You have a few different choices. You can create an NDL attachment or notes:// URL with the desired view, or you can use DXL to create and import the doclink, specifying the desired view, or you can use the API or a third party product such as our Midas Rich Text LSX which has the ability to specify the view via simple LotusScript. No matter which approach you take, once you specify the correct view, the doclink (or NDL or Notes URL) will open the document with the correct form.
Subject: Doclink setting Form??
A doclink points to both a View and a Document.
If you want to create 2 doclinks, that will open up the same document with different forms, you would need to set up 2 views with a Calculated Form.
View A would be set to use Form A when opening documents.
View B would be set to use Form B when opening documents.
Now doclinks created from documents opened through View A should open with Form A, and likewise for B.