How to redirect to the record from Data table widget ?

Virendra K
Kilo Sage

Hi All,

I am displaying records on portal using Data table widget (below snap). Once I click on any record it should show / redirect/ goto that specific/own record using another page/widget.

How could use this? 

What do I need to do?

 

find_real_file.png

Regards,

Virendra

 

6 REPLIES 6

VigneshMC
Mega Sage

If you using data table with instance definition or url filter , you can set which page(usually form or ticket page) selected record has to open in link to the page available under instance options. You can access instance options , if you right click by holding ctrl over the widget.

 

find_real_file.pngfind_real_file.png

sachin_namjoshi
Kilo Patron
Kilo Patron

Open the page designer and load the page which holds the data table widget. Then click the edit button on the widget and look in the bottom of the properties page.

 

Here it is defined which portal page will be opened when you select a record in the page. The data table widget will always add "&sys_id=[sys id of record]" to the url it openes as the base design of service portal then assumes that you have widgets on the page which will use this ID to display details of the selected record

 

find_real_file.png

 

Regards,

Sachin

Lennart
Tera Contributor

I have question related to this.

I use the Data Table from URL Definition widget and chosen ticket as the desired destination.

It works fine the first time a user clicks a record in the table.

After returning to the list and selecting any record, the user is sent to the portal front page and I notice that the URL loses "&id=ticket". Hit F5 and it works again (the first time and so on).

The ticket page holds a number of cloned OOTB widgets with minor modifications.

Any good ideas what could cause this.

Since it works on first click and not subsequently, I'm thinking that something in the widgets on the ticket page somehow makes the system lose the id parameter, but what would I be looking for.

Running into the same issue, did you ever solve this?