Hi everyone,
We have such a situation:
We want to alter the behavior of Copy as Link Document context menu item in several(or all) of our custom databases.
Currently this item behaves as default, when pressing on it, it generates Notes link, and if enabled a weblink which redirects via mailserver of the user to the server from where this link was created from.
We want to change this so when pressing on Copy as Link Document in clipboard to be copied:
- Notes link, as it is default.
- Second link, which is a weblink (visible only when accessing from iNotes or IBM Connections) to generate the a link directly to a dedicated server which is opened for https.
- just to be clear: on both cases links refer to the same DB, same replica ID, same document ID, but first one is a notes link, and another one, is only for one server which is a web opened server.
- We just don't want the weblink to end up to the same server were link was created.
- We don't want the weblink to redirect via mail server of the user.
- We want weblink to be in any cases pointing to one server
Example:
Currently a link is generated link that:
notes://chisinauserver/C125695600577A2A/6071b77d704a7b96c125707500411a82/5bab92969da669ddc22574d4003f3d22
and https://inotes.company.com/redir.nsf?Redirect&To=%2F6071b77d704a7b96c125707500411a82%2F5bab92969da669ddc22574d4003f3d22%3FOpen&Name=CN%3Dchisinauserver%2FO%3DPedersen%2FC%3DCZ&Id=C125695600577A2A
After change to be like that:
notes://chisinauserver/C125695600577A2A/6071b77d704a7b96c125707500411a82/5bab92969da669ddc22574d4003f3d22
and https://connectionsserver.company.com/search/web/jsp/apps.jsp?url=https://opened_for_web_server.company.com/exec.nsf/person.xsp?documentId=5BAB92969DA669DDC22574D4003F3D22&action=openDocument
I guess the problem is not really in generating the link, but where to change this behavior in Designer.
Any ideas/guides/other solutions would be appreciated.
Thank you