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: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/User_Interface/Views/Adding_Buttons_…
For example, if I wanted a button labeled "Google" and when you click on it you should be taken to https://www.google.com
Closest thing would be to do a normal button and when it is clicked, the event function could do something like window.location = 'https://www.google.com'; but I need to also be able to define a "target" attribute to tell it where to open the new window.
Any ideas? Thanks!