How can Get current url
  Home FAQ Contact Sign in
comp.groupware.lotusnotes.admin only
 
Advanced search
POPULAR GROUPS

more...

comp.groupware ... admin Profile…
 Up
How can Get current url         


Author: pawar.rudra
Date: Jan 4, 2008 03:35

Hi Seniors,
I m on traing i want to know that how can get a url of
the current page in a popup msg

Thanks
Kapil pawar
6 Comments
Re: How can Get current url         


Author: Karl-Henry Martinsson
Date: Jan 4, 2008 11:55

gmail.com> wrote in message
news:4c029664-c3cd-45ee-afaf-57e803e6cb45@x69g2000hsx.googlegroups.com...
> Hi Seniors,
> I m on traing i want to know that how can get a url of
> the current page in a popup msg

Could you explain a little bit more what you are trying to do?
If you want to get a URL to the current document (pages are something
different in Notes, they are a design element), you can get it through
Lotusscript as follows:

Dim session As New NotesSession
Dim doc As NotesDocument
Dim dbpath As String
Dim url As String

Set doc = session.DocumentContext

url = "http://" & doc.Server_Name(0) & "/" & doc.Path_Info_Decoded(0)

This code assume that it is located somewhere on the form used by the
document you want the URL from. Then you can do whatever you like with the
result.

The CGI variables are documented in the online help for Domino Designer.
Show full article (1.17Kb)
no comments
Re: How can Get current url         


Author: Bjørn Christian Tørrissen
Date: Jan 6, 2008 00:38

pawar.rudra@gmail.com wrote:
: I'm in training, and I want to know how I can get a url of
: the current page in a popup msg

Sounds like a JavaScript question, not a Lotus-related question.

alert(window.location.href);

may be what you're looking for.

Bjørn
no comments
Re: How can Get current url         


Author: pawar.rudra
Date: Jan 6, 2008 23:05

On Jan 5, 12:55 am, "Karl-Henry Martinsson" yahoo.com> wrote:
> gmail.com> wrote in message
>
> news:4c029664-c3cd-45ee-afaf-57e803e6cb45@x69g2000hsx.googlegroups.com...
>
>> Hi Seniors,
>>                I m on traing i want to know that howcangetaurlof
>> the current page in a popup msg
>
> Could you explain a little bit more what you are trying to do?
> If you want togetaURLto the current document (pages are something
> different inNotes, they are a design element), youcangetit through
> Lotusscript as follows:
>
>  Dim session As New NotesSession
>  Dim doc As NotesDocument
>  Dim dbpath As String
>  DimurlAs String
>
>  Set doc = session.DocumentContext ...
Show full article (1.80Kb)
no comments
Re: How can Get current url         


Author: Karl-Henry Martinsson
Date: Jan 7, 2008 07:19

gmail.com> wrote in message
news:eeaf9a64-5048-436b-b121-912062578543@e25g2000prg.googlegroups.com...
On Jan 5, 12:55 am, "Karl-Henry Martinsson" yahoo.com> wrote:
>
>Thanks Sir,
>It is ok amnd thanku again,
>But i want to do like some below
>I am developing a Hr procees here i m sending a mail to first
>interviver with candidate details now i want to link with mail msg of
>that doc which is caintain the candidate details after selected/
>rejected status by first interviewer, first interviewer hit a Send
>button then create a mail for second interviewer with the whole
>details of candidate and the status of firstinterviewer as on same
>document.how can i solve this problem.

Why are you doing it that way? Who architected the solution like that?

I would approach it a totally different way. Remember, Notes is perfect for
workflow solutions.
Show full article (2.06Kb)
no comments
Re: How can Get current url         


Author: Karl-Henry Martinsson
Date: Jan 8, 2008 07:02

gmail.com> wrote in message
news:30a5ceab-7c69-4d88-a45a-1bd7aab6b16d@u10g2000prn.googlegroups.com...
On Jan 7, 8:19 pm, "Karl-Henry Martinsson" yahoo.com> wrote:
> gmail.com> wrote in message
>
> news:eeaf9a64-5048-436b-b121-912062578543@e25g2000prg.googlegroups.com...
> On Jan 5, 12:55 am, "Karl-Henry Martinsson" yahoo.com> wrote:
>
>
>> Why are you doing it that way? Who architected the solution like that?
>>
>> I would approach it a totally different way. Remember,Notesis perfect for
>> workflow solutions.
>>
>> Create a form for the details/interview result. The first interviewer
>> create
>> a new document and fill out the information. He/she then either mark the
>> document as selected/rejected, which change the status from "L1" to "L2"
>> (or
>> whatever you like to call your statuses/stages in the process). ...
Show full article (3.31Kb)
no comments
Re: How can Get current url         


Author: pawar.rudra
Date: Jan 8, 2008 21:05

On Jan 8, 8:02 pm, "Karl-Henry Martinsson" yahoo.com> wrote:
> gmail.com> wrote in message
>
> news:30a5ceab-7c69-4d88-a45a-1bd7aab6b16d@u10g2000prn.googlegroups.com...
> On Jan 7, 8:19 pm, "Karl-Henry Martinsson" yahoo.com> wrote:
>
>
>
>
>
>> gmail.com> wrote in message
>
>>news:eeaf9a64-5048-436b-b121-912062578543@e25g2000prg.googlegroups.com...
>> On Jan 5, 12:55 am, "Karl-Henry Martinsson" yahoo.com> wrote:
>>
>
>>> Why are you doing it that way? Who architected the solution like that?
>
>>> I would approach it a totally different way. Remember,Notesis perfect for
>>> workflow solutions. ...
Show full article (3.61Kb)
no comments