Hi,
I would like to show appropriate URL based upon user who logs in. We have we based application and user gets authenticated via custom domino login. In redirect I am opening a form where I am performing a calculation which url to show. Form1 where I perform calculation is done using notes formula.
Any idea How to redirect to the calculated URL?
Thanks
MS
Subject: redirect to different url based upon login
In the onLoad event (which runs after all formulae are computed, I believe), use javascript to perform the redirect:
document.location.href=“0/” + document.forms[0].userDocID.value + “?EditDocument”;
or, for static URLs, something like this:
document.location.href=“http://”+urlFieldName;
Subject: RE: redirect to different url based upon login
Thanks for your response.
I have following code in Onload event,
document.location.href=document.forms[0].urlField.value
I am getting an error, urlField is null or not an object, any idea what is wrong in the code?
Thanks
MS