[SalesForce] Custom Label in a Custom Button (javascript)

I have a custom button that has a custom label:
enter image description here

for the custom label of sharepointLink: the value has just like this: url.aspx

But when clicking the custom button, it shows like this:
enter image description here

Is it possible to put the custom label in a custom button? If so, is my syntax for the javascript correct or not?

Best Answer

Correct the syntax {&Label.sharepointLink} to {!$Label.sharepointLink}

Related Topic