AnsweredAssumed Answered

How to make a Custom Dashlet Toolbar Button be simple html link?

Question asked by Chad Hutchins on Apr 19, 2017
Latest reply on Apr 19, 2017 by Chad Hutchins

When adding custom buttons to things in Sugar 7, like the record view or dashlets, is there a way to add a button that is a simple link?


This is the context I'm looking at when talking about adding buttons to stuff:… 


For example, if I wanted a button labeled "Google" and when you click on it you should be taken to  


Closest thing would be to do a normal button and when it is clicked, the event function could do something like window.location = ''; but I need to also be able to define a "target" attribute to tell it where to open the new window.


Any ideas? Thanks!