Logout behavior on form level

  • 24 February 2022
  • 0 replies
  • 72 views

Userlevel 5
Badge +20
 

Logout behavior on form level

kbt168018

PRODUCT
K2 blackpearl
TAGS
Troubleshooting Document
Workarounds
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Objective

When you login from a form, how do you redirect to a specified return URL and not default to runtime?

Before You Begin

The issue is caused by the ReturnUrl set to “ReturnUrl=%2fRuntime%2f”, which is basically the Default runtime site. This is what happens when you just use the logout URL, and specify no ReturnURL

How-to Steps

To fix this, change the logout button URL to:
[BASE_URL]/_trust/logout.aspx?ReturnUrl=/Runtime/Form/[FORM_TO_RETURN_TO]

In this case example it will be: https://k2.denallix.com/Runtime/_trust/logout.aspx?ReturnUrl=/Runtime/Form/TestFormWorklist/ 


0 replies

Be the first to reply!

Reply