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
gregsgregs 

required permissions for sObject type weblink is not supported

i am getting an error "sObject type weblink is not supported" when trying to query the weblink table from the api within an application to get the name of a custom button and link.  what permissions do i need to setup for the user's profile in the ui for this to work?

mikefmikef

You most likely need Mod all data.

 

If that doesn't work please post the code that is causing the error.

twongopenairtwongopenair

Gregs - was this indeed the issue? I am also running into the same error when working on an integration for a client. 

 

 

 

Thanks,

Tony

gregsgregs
sorry i was on vacation, i will check this and get back to you
twongopenairtwongopenair
Having run into this again, I haven't been able to make this work without the "Customize Application" permission. Mod all data wasn't enough. Does anyone know if there is another way to do this without the Customize Application permission?
BAGELBAGEL

Anyone has a solution for this yet? I have the same problem. Only adminstrator profile can access it, the rest can't get access to the WebLink object. :( Please reply. Thanks.