Login to follow
ReactiveRedirect

ReactiveRedirect (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 11 September 2023 by OutSystems Labs
ReactiveRedirect

ReactiveRedirect (ODC)

Documentation
0.1.0
  1. ​Create an Application Setting called CustomDomain
  2. Create a Server Action called CheckForCustomDomain, with an input parameter called CurrentURL, and an output parameter called CustomURL.
  3. Add the dependency, Request_ReplaceDomain from the HTTP source, if needed
  4. Choose a common block used by all pages in the application
  5. In the OnReady or OrInitialize function, get the GetBookMarkableURL() and pass it to the CheckForCustomDomain function.
  6. Compare the result of GetBookMarkableURL() to CheckForCustomDomain.CustomURL. If they are not the same, redirect to CustomURL.