0

How can we query total number of Custom Applications in the Salesforce Org? I have tried it with SOQL query but its not giving expected output. Any help would be appreciated..

2
  • 2
    Post soql you tried
    – Reshma
    Commented Jan 18, 2017 at 9:59
  • i have tried this query but its not giving exact output: SELECT count() FROM AppMenuItem..
    – oookkk
    Commented Jan 18, 2017 at 12:45

1 Answer 1

3

Not sure if by custom applications, you mean Connected apps or Apps. Either way, these queries should get you the results you need

Connected apps in your org -

SELECT Id, Parent.Profile.Name, SetupEntityId 
  FROM SetupEntityAccess 
 WHERE SetupEntityType = 'ConnectedApplication'

Custom applications in your org -

SELECT ApplicationId,  Description, Id, Label, Name 
  FROM AppMenuItem 
 WHERE Type = 'ConnectedApplication'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .