+ Start a Discussion
BAGELBAGEL 

Permission for WebLink object?

Hi all,

 

I run into a problem with the following line when I am not log in as Administrator. Does anyone know why and how to resolve this? Thanks in advance.

 

var tab = sforce.connection.query("Select w.id from WebLink w where Name='Advisor'").records.Id;

 

William