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

Remove the table name from URL from portal URL for user experience

sri vijaya
Tera Expert

Hi

In service portal, when ever we are going to "My Requests" page , and if we open any HR case from that page,

we can see a case opened like this with URL,

srivijaya_0-1714992216606.png

But we don't want to show the table name in the standard URL, so when i removed the table name from URL portal, it is appearing as below:

srivijaya_1-1714992388023.png

so how can we achieve this removing of table name from URL from standard ticket page portal and giving the correct data ,is it poosible?

please help to resolve this issue

@Dr Atul G- LNG @James Chun @Sarthak Kashyap 

1 REPLY 1

Mark Manders
Mega Patron

What's wrong with showing the table name? 

You need to check everything really thoroughly (mainly security wise, because you could open up your portal by not having the table names), but it should be possible by updating the widgets you use (yes, all of them) to use URL parameters. I strongly advise against it, for security and upgradability reasons. This is huge customization and for what? Not letting end users know that there are multiple tables within ServiceNow?

You can pass the record's sys_id as URL parameter and server side use the sys_id to retrieve the record, without exposing the table name. But I repeat: don't do it.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark