The CreatorCon Call for Content is officially open! Get started here.

Provider notification Link is not redirecting to the workspace

Community Alums
Not applicable

I've created a provider notification through the 'sys_notification' table, and I've successfully configured the trigger and content for the notification. However, upon clicking the notification, it currently redirects to the form in classic mode. My objective is to enforce redirection to the workspace view. Is there any method to ensure it redirects to the workspace view instead?

 

 

Thanks is Advance,

Eswari. K

3 REPLIES 3

sth-luc
Tera Contributor

We're having the exact same requirement, did you manage to figure out how to redirect to the workspace?

DharmarajR
Tera Contributor

Go to sys_ux_page_registry table and open your workspace US Page Registry, then click on UX Page Properties related list and open featureRoutes page property, update below JSON data on the Value field and save it.

 

{
  "record": {
    "_default": {
      "routeInfo": {
        "route": "record",
        "fields": [
          {
            "name": "table",
            "mapping": {
              "address": "table"
            }
          },
          {
            "name": "sysId",
            "mapping": {
              "address": "sysId"
            }
          }
        ],
        "params": [
          {
            "name": "query",
            "mapping": {
              "address": "query"
            }
          },
          {
            "name": "extraParams",
            "mapping": {
              "address": "extraParams"
            }
          },
          {
            "name": "views",
            "mapping": {
              "address": "views"
            }
          },
          {
            "name": "selectedTabIndex",
            "mapping": {
              "address": "selectedTabIndex"
            }
          }
        ]
      }
    }
  }
}

 

Please mark it solved if you satisfied with the solution.

This works great! Redirects to the Record in workspace when user is in Workspace, and core UI when user is in core UI.

Is there a way to force the user to workspace even when they click on the notification while on core UI?