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..
1 Answer
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'