Hello Michelle
Thanks for the reply. We have been using the LoginServlet before with
Midtier version 6.3 and it was working perfectly. The reason why we are
using LoginServlet instead of the ViewFormServlet was that the
ViewFormServlet wouldn't work with the Portal we are using (we are calling
these links from the portal with an SSO token). The LoginServlet URL format
that worked for us before was this:
 
https://
<https://<midtier>/arsys/servlet/LoginServlet?username=<user>&pwd=<SSO_token
>&goto=/arsys/forms/<server>/<form_name>/Online/?mode=Submit>
<midtier>/arsys/servlet/LoginServlet?username=<user>&pwd=<SSO_token>&goto=/a
rsys/forms/<server>/<form_name>/Online/?mode=Submit
 
We used exactly the same format after upgrading to Midtier 7 and now it
won't work. It will simply cut off the "=Submit" therefore by default, it
sets the mode to Search.
Ideas?
 
Thanks!

Mikhail Serate 
Remedy Development Team 
Information Technologies 
University of Calgary 
(403) 210-9308 
[EMAIL PROTECTED] 

----------------------------------------------------------------------------
------ 
Some people see things as they are and say... "Why?"
I dream of things that never were and say... "Why not?" 

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Lucero, Michelle - IST contractor
Sent: Friday, February 02, 2007 8:20 AM
To: [email protected]
Subject: Re: LoginServlet goto paramter gets cut off


** 
Hi, Mikhail:
 
Try using the ViewFormServlet instead.  It automatically logs the user in
and opens the form in submit mode.
 
http://midtier/arsys/servlet/ViewFormServlet?server=myserver
<http://midtier/arsys/servlet/ViewFormServlet?server=myserver&form=myform&vi
ew=myview&mode=Submit&username=user&pwd=password>
&form=myform&view=myview&mode=Submit&username=user&pwd=password
 
Tested successfully on Mid-Tier 7.0.0 P1 and Mid-Tier 7.0.01 P1.
 
By the way, no matter what variation of the LoginServlet I tried, it opened
in Search mode every time. Through all the versions of the Mid-Tier, I
always seem to have the most success using ViewFormServlet.

Thanks,
Michelle
 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mikhail Serate
Sent: Thursday, February 01, 2007 5:19 PM
To: [email protected]
Subject: LoginServlet goto paramter gets cut off


** 

Hello List 
We're having problems with the "goto" parameter in our LoginServlet. We're
passing in the correct parameter values, however after passing it in, it
cuts of parts of the "goto" parameter:

The URL we want to go to: 
 <https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit>
https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit 

The URL we pass pass in: 
 
<https://midtier/arsys/servlet/LoginServlet?username=USER&pwd=PASSWORD&goto=
/arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit>
https://midtier/arsys/servlet/LoginServlet?username=USER&pwd=PASSWORD&goto=/
arsys/forms/remprod1/PS_Access_New/Online/?mode=Submit

The URL displayed after browser processes the URL being passed in: 
 
<https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode&cacheid=b92
d20a9>
https://midtier/arsys/forms/remprod1/PS_Access_New/Online/?mode&cacheid=b92d
20a9 

As you can see, the "=Submit" is being cut off! What's going on? 

Our environment: Midtier Version 7.0.00 Patch 2 

Please advise. 

Mikhail Serate 
Remedy Development Team 
Information Technologies 
University of Calgary 
(403) 210-9308 
[EMAIL PROTECTED] 

----------------------------------------------------------------------------
------ 
Some people see things as they are and say... "Why?"
I dream of things that never were and say... "Why not?" 


__20060125_______________________This posting was submitted with HTML in
it___ __20060125_______________________This posting was submitted with HTML
in it___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to