You need to sign in to do that
Don't have an account?
Vidya D
Accessing CustomLabel in javascript by using param
Is it possible to get CustomLabel value dynamically using javascript function variable
for e.g
var abcd = function(pageName, label1) {
$linkLets.take({
pageId: pageName,
label:{!JSEncode($Label[label1])}
});
I am getting error label1 as unknown property.
Also came across this idea
https://success.salesforce.com/ideaView?id=08730000000hhVGAAY
Just want to confirm it is not possible.
for e.g
var abcd = function(pageName, label1) {
$linkLets.take({
pageId: pageName,
label:{!JSEncode($Label[label1])}
});
I am getting error label1 as unknown property.
Also came across this idea
https://success.salesforce.com/ideaView?id=08730000000hhVGAAY
Just want to confirm it is not possible.
Create a get set variable in controller. Set the lable value to the variable.
Use the Controller variable in Javascript
Thanks
Shaijan
Shaijan