Link object to URL

Forums SPJS Charts for SharePoint Link object to URL


Viewing 1 reply thread
  • Author
    • #20614

      How can I link my chart to the display form or edit form. E.g – When I click on a title of a most liked item, I want it to take me to the Id of the list item selected and I can read the details.

    • #20643
      Alexander Bautz

      Sorry for the late reply.

      Unfortunately I haven’t got any examples on how to achieve this, but you might be able to figure it out by looking at this example code.

      To do this you must attach an event handler in custom code like described here:

      This code must be added to a *.js file and uploaded to your site and then the file must be referred to in the “Load external JS or CSS” in your chart configuration.

      Alternatively you can embed the code in a script editor web part in the site where you are loading the chart. In that case you must wrap it in a script tag.

      Best regards,

Viewing 1 reply thread
  • You must be logged in to reply to this topic.