Ziphoh
Novice

Runtime Redirect

Jump to solution

I need help with redirect of k2 smartforms url or direction of where to to go.

 

On IIS I have managed to configure this >>

When user hits https://formsqa.zipho.co.za, IIS redirects them to https://formsqa.zipho.co.za/Runtime/Form/Portal/. This was done on the main K2 site.


But now when they log out and log in back again, K2 automatically takes the user to https://formsqa.zipho.co.za/Runtime/
I would like to get assistence on now redirecting this to the full url once again (https://formsqa.zipho.co.za/Runtime/Form/Portal/). If I do on the runtime site on IIS then nothing loads at all and it complains about too many redirects.

 

Your advise will be appreaciated.

0 Kudos
Reply
5 Replies
BesM
Apprentice

Re: Runtime Redirect

Jump to solution

Hello  @Ziphoh,

 

You can use a fix for this. I am hoping you are on 4.7 since you didn't specify. FixPack 14 resolve the above mentioned issue. 

To find more about this FixPack follow this link: http://help.k2.com/kb002515 

 

Alternatively you can apply the cumulative update as it include all the fixes: https://portal.k2.com/download#!/K2%20smartforms/4.7 

 

Should you find the above information useful kindly mark as "Accepted Solution and/or Kudo", as this will assist other community members looking for related information.

 

Regards,
Beswick

 

[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]

0 Kudos
Reply
BesM
Apprentice

Re: Runtime Redirect

Jump to solution

Hello again  @Ziphoh,

 

Here is a link for the list of 4.7 fixes, navigate to FP14 for a quick download:

http://help.k2.com/kb002282

 

On the table you will see a column with download links. 

 

Regards,

Beswick

0 Kudos
Reply
ThinusC
Nintex Employee
Nintex Employee

Re: Runtime Redirect

Jump to solution

Hi Ziphoh

The first questions is how do you initiate the logout?

If you have a Logout Button on your form, do you make use of the "then navigate to URL" Action?

This Rule can be configured against any Event and/or conditions as needed. e.g. When Button is clicked - (if an advanced condition is true) - then navigate to URL
In the “then navigate to URL(configure)” add the following: https://[K2 server URL]/Runtime/_trust/logout.aspx?ReturnURL=[Form URL with URL encoding]
e.g. https://k2.denallix.com/Runtime/_trust/logout.aspx?ReturnURL=https%3a%2f%2fk2.denallix.com%2fRuntime...

This should take the user back to the logon screen and once logged in return to the ReturnURL address.

Cheers,
Thinus


 

0 Kudos
Reply
kateV1
Apprentice

Re: Runtime Redirect

Jump to solution

Hi,


 


Reagrding on the Actions that ThinusC mentioned. You can refer to below link for more information.


http://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#Create/K2Designer/Rules/RuleActions.h...


 


I have also included the link for the rules below:


http://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#Create/K2Designer/Rules/CreatingRules...


 


Hope this helps


 


Cheers,


Kate


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.

0 Kudos
Reply
Widson
Apprentice

Re: Runtime Redirect

Jump to solution

Hi Zipho;

 

This can be resolved by URL Rewrite
refference:-(http://help.k2.com/kb001679)

(https://blog.jikai.sg/setup/7/)

 

Regards;

Widson.

0 Kudos
Reply