function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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