Hello everyone,
I am playing around with the Ribbon Workbench for CRM on-premise 2016. I want to create a butto, which opens a new tab in the browser with google and a search function related to the currently opened company in our account entity.
I created a button in the Ribbon Workbench and I also set a picture. I managed to display my button in the account ribbon bar, but when I click the button nothing happens. Even though I assigned my source code to the button.
My source code to open the google window with the company is:
___
function google() {
var Firmenname = Xrm.Page.getAttribute("name").getValue();
window.open("http://www.google.de/search?q="+Firmenname );
}
this.google=google;
___
I'm not very introduced into coding in general and especially javascript.
Maybe someone could help me to get it working. I've read some howTo's about the Ribbon Workbench but none of them were detailed enough to solve my problem.
I'm looking forward to hearing from you!
Kind regards
Maurice Renz
*This post is locked for comments