URL Parameters

Hi,

I am trying to insert a parameter into a field on an XPage. I have tried to set the default value of the field using :

context.getUrlParameter(“update”)

I am calling the document to open in IE using the Shell command when opening an existing document from the client :

result = Shell(“C:\Program Files\Internet Explorer\iexplore.exe http://support.domain.com/dev/swrs.nsf/en_Request.xsp?documentId=” & CDoc.WebID(0) & “?update=test&action=editDocument&Login”,3)

As you can see, there is the parameter called “update” and I am trying to set it to test.

This, as usual (for me that is) is not working. Can someone point me in the right direction?

Thanks

Jamie

Subject: haven’t tried but…

your url

http://support.domain.com/dev/swrs.nsf/en_Request.xsp?documentId=" & CDoc.WebID(0) & "?update=test&action=editDocument&Login

contains to query string indicators (‘?’). AFAIK only one is allowed in an URL while all the other parameters are supposed to be added through ampersands (‘&’).

Try re-writing it like that:

<host+path>/en_Request.xsp?documentId=&update=test&action=editDocument&Login