UI Builder, Link To Destination Not Working

syed_but_not
Tera Expert

I'm currently working in Advanced Dashboards and want to be able to click data visualizations so that they open up a simple list. I've added the simple list page into Advance Dashboards, added all the parameters, and configured the routeConfigId for it as well. After doing all that I added the "Link to Destination" event handler to Advanced Dashboard since it's not already there for it, however when I added it to my visualization it doesn't work. I've tried setting the path something simple, like an external URL but still nothing happens upon clicking the visualization. Does anyone know what the issue could be?

8 REPLIES 8

Tushar
Kilo Sage
Kilo Sage

Hi ,

 

Please check that you have correctly mapped the widget to the event handler using the "Widget Action" field.

Verify that the widget's "Click Target" is set to "Entire Widget" or the specific element you want to trigger the event.

 

Try setting the Link to Destination event handler to a simple external URL instead of the Simple List page.

If the external URL works, it could indicate an issue with the configuration or accessibility of the Simple List page.

 


Mark as correct and helpful if it solved your query.

Regards,
Tushar

Aylee Andersen
Kilo Sage
You should be able to use the “Advanced dashboards - Redirect” event handler that's available OOB. It may not be quite as straightforward as “Link to destination”, but it definitely does the job! Here's an example configuration that worked for me:
 
Screen Shot 2023-07-14 at 10.24.23 AM.png
 

Hi,

 

I am also facing similar issue, so tried the solution you provided above but its not working.

I am trying for HR case (sn_hr_core_case) table.

but getting following error "The page you are looking for could not be found".

Could you please advise if any additional configuration is also required?

@Muskan Dixit 

 

I typically get that error when I try to navigate to a page that doesn't have all of the required parameters set in the URL. I would double-check your redirect event handler and make sure your required parameters were set correctly. Also try comparing the URL you were redirected to versus the URL if you were to navigate to the correct page URL (like going to UIB for that page and clicking "Open").

 

If that doesn't help, you could try setting the "Advanced dashboards - Redirect" event to "Script" mode and then set an external value to the page you want to redirect to (see image below).

Screen Shot 2023-10-02 at 8.39.56 AM.png

 

Hope that helps!