URL to show a record from a table in Service Portal?

patricklatella
Mega Sage

Hi all, I've got a requirement to show a single record from a custom table in Service Portal.  What would the URL be for this?  Do I need to create a custom page? 

My table name is [u_core_request]

My Portal suffix is "leg"

thanks!

1 ACCEPTED SOLUTION

Joel Millwood2
Kilo Guru

Hi Patrick,

https://instanceName.service-now.com/leg?id=form&table=u_core_request&sys_id=sys_id should take you to the form view of the record in question or id=ticket for the ticket view.

View solution in original post

12 REPLIES 12

patricklatella
Mega Sage

in portal with the URL you provided it shows like this...no "Update", "Submit", "Delete"...is it possible to show these so the user can actually update the form from the portal?

 

find_real_file.png

You can also specify the view by appending &view=viewName. You can easily customise the view of this form by navigating to it in the platform, selecting View > Service Portal to view how it looks in the Service Portal and then you can use Configure > Form Layout to customise as required.

patricklatella
Mega Sage

Hi Joel, will setting the view give the option to add the UI Actions?

 

The UI Actions you mentioned above are global and visibility is governed by ACLs on the tables in question and conditions on the UI actions however upon further investigation they are not intended for use in the Service Portal. The Form widget itself only presents the Save button in the view however it does present custom UI actions. You would have to create your own non client UI actions or perhaps a widget to offer this functionality.

The Service Portal is mostly intended for requestors whom would not normally have access to delete records.

patricklatella
Mega Sage

ok thanks.  Now would it stand to reason that the ACLs are fine if these UI Actions are visible in the old CMS portal? (the CMS portal is being phased out).  

On the records for this table, there is currently only the "Default" view.  So the same record is showing in old CMS and new SP as follows:  Note the CMS has the UI Actions, the SP does not.  

 

old CMS

find_real_file.png

 

 

new SP

find_real_file.png