2

I've been combing through the metadata and online documentation, and I cannot figure out where the Profile|Custom App Access values are stored!? Could anyone point me in the right direction? I've got a complete pull of my org sitting on my desk.

For example: Chatter Mobile for Blackberry is marked TRUE on a profile. But there doesn't appear to be a value for that TRUE in the metadata?

enter image description here

0

It's in there - check out the AppMenuItem object:

SELECT ApplicationId, CreatedById, CreatedDate, Description, 
    IconUrl, Id, InfoUrl, IsRegisteredDeviceOnly, 
    IsUsingAdminAuthorization, Label, LastModifiedById, 
    LastModifiedDate, LogoUrl, MobileAppBinaryId, 
    MobileAppInstalledDate, MobileAppInstalledVersion, 
    MobileAppInstallUrl, MobileAppVer, MobileDeviceType, 
    MobileMinOsVer, MobilePlatform, MobileStartUrl, 
    Name, StartUrl FROM AppMenuItem 
WHERE Name = 'Chatter_for_BlackBerry'
  • Querying the object is helpful, but we're really trying to compare (and deploy) profile metadata, and can't figure out where the info for the Connected App Access lies. – HomerJ Jan 21 '15 at 19:51
  • Ah - you want the ConnectedApp metadata type: salesforce.com/us/developer/docs/api_meta/Content/… – user735 Jan 21 '15 at 19:59
  • Sorry, just re-read your comment. You want to adjust ProfileApplicationVisibility metadata to give visibility to connected apps: salesforce.com/us/developer/docs/api_meta/Content/… – user735 Jan 21 '15 at 20:04
  • Thanks for your reply. The ProfileApplicationVisibility describes the Custom App Settings boolean values, but doesn't describe the Connected App Access boolean values. Things like SalesforceA, Chatter Desktop, Salesforce for iOS. – HomerJ Jan 21 '15 at 20:53
  • I added a picture. 'Custom App Settings' is in the ProfileApplicationVisibility section of Metadata. Where is the 'Connected App Access' metadata? – HomerJ Jan 21 '15 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.