Thursday, April 2, 2020

How to query custom buttons/links info using SOQL in salesforce

Salesforce internally stores the all custom buttons and custom links and URL buttons info in Weblink object.

SOQL

Select Id, Name, LinkType, PageOrSobjectType From WebLink where NamespacePrefix = ''

you can filter Link type
URL
sControl
javascript
page
flow—Reserved for future use.

Output

No comments:

Post a Comment