On-Click Action redirect to Account Page

edited September 1, 2016 in Questions
I am looking to redirect to an account page when clicking the appropriate data from a chart. I have a chart with data broken up by account, and when the user clicks on the data I am attempting to redirect them to the page of that account. I tried doing this using Redirect to URL action for the on-click action, but I'm pretty sure I also need a Java snippet to run to be able to do this. Anyone know of the Java to help run this action?

Comments

  • Rob HatchRob Hatch 🛠️ 
    edited September 1, 2016
    You should be able to do this without Javascript. 

    You can get data from the chart and pass it into your url parameter using merge syntax.  Add actions under each series to configure what you want to have happen when the chart element is selected. 

    For example  if you define a url like this   "apex/accountDetail?Id={{rows.0.Id}}"    the Id field from the first row in the chart element (say column) will be passed into the url. 

    This post has some good conversation about the data that can be extracted from charts and passed into your actions.. https://community.skuid.com/skuid/topics/-chart
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!