Solved

Runtime Redirect

  • 13 June 2019
  • 5 replies
  • 11 views

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.

icon

Best answer by Widson 26 June 2019, 09:26

View original

5 replies

Userlevel 2

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]

Userlevel 2

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

Badge +10

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%2fRuntime%2fForm%2fLogoutTest%2f

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

Cheers,
Thinus


 

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.htm%3FTocPath%3DCreate%7CSmartForms%7CForms%7CRules%7CActions%7C_____0


 


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.htm%3FTocPath%3DCreate%7CSmartForms%7CForms%7CRules%7C_____2


 


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.

Hi Zipho;

 

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

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

 

Regards;

Widson.

Reply