How do I determine what happens when I click an item in a list menu?

MagnusSchlamovi
ServiceNow Employee
ServiceNow Employee

I am in a workspace clicking the first link on any row in a list. For some lists, the record will open up in the workspace itself. For other lists, the record will open in the Classic UI.

 

How do I configure whether one or the other (or something else entirely) happens when I click this link?

 

 

MagnusSchlamovi_0-1690494564935.png

 

11 REPLIES 11

@Kalyani Jangam1 

 

I have already looked at the documentation (for Utah) and the article you link to, but neither of them provide an answer.

Thank you for not bothering to read the questions and post links that do not help solve the problem.

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hmm I would think they'd all open in the workspace. Which record types don't open in the workspace? When you mouse over the link, are the URLs different? (Wondering if it does open the record in the workspace and then you get redirected out).

Is this an OOB workspace, and if so, which one?

Hi @Brad Tilton 

The record type I am trying to open is ast_contract, and I am doing it from the Software Asset Workspace License Operations page. Other record types, such as software entitlements, do open within the workspace.

 

I am not able to see the link when I mouse over the element, but when I click it, it immediately opens "/ast_contract.do?sys_id=(....)", no redirection is happening.

 

My best guess so far is that it is controlled by the event handler "reference link clicked", but I cannot decipher from the "SAM - listRowClickedRouteMapping" client script whether this has any bearing.

 

MagnusSchlamovi_0-1690625760845.png

Yeah there's probably something in that script that is determining which url to open. When you look at the documentation for that specific workspace is there anything in there? I'm guessing that the team that built that workspace built that behavior in on purpose. There may be some elements on the classic view of that form that they haven't built into the workspace yet.