Hi,
I am not into JavaScript, I'm trying to build a ribbon button in the Account entity form and it should just only open a URL with the accountnumber pasted in the url.
www.url.com/"accountnumber"
var formContext = executionContext.getFormContext();
function openWin(executionContext) {
var accountNumber = "";
accountNumber= executionContext.getAttribute("accountnumber").getValue();
window.open("http://www.url.com/" accountnumber "")
}
This code seems not work, the button itself is working when I only have the javascript
window.open("https://www.google.com")
Any advise, what I'm doing wrong there?
Also the icons I added with Ribbon Benchwork does not show, instead the button ribbon shows a puzzle piece.
Thank you!
Kind regards