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
PaulBackhousePaulBackhouse 

Force.com IDE: Unfathomable error message: "For AppSwticherAppMenu, all apps must be in the app menu"

Hi,

I'm trying to deploy code from a sandbox back into a developer org. I have a problem with the AppMenu metadata. On the sandbox we have a Conga Conductor trial, on the dev org we don't. So if I try to deploy with that app listed it borks.

If I remove the line referencing Conductor from AppSwitcher.appMenu and remove Conductor from "Referenced Packages" it seems like I should now be able to deploy the appMenus.

However I get: 

For AppSwticherAppMenu, all apps must be in the app menu


Any idea how I can track down what it's actually refering to?

Paul
WillieDumaineWillieDumaine
I received the same error message while using the Force.com Migration Tool.  Please help!
Tim FleischmanTim Fleischman
Encountering the same issue in  deployment using Metadata API with Force.com Migration Tool
Jason Bellis (Admin)Jason Bellis (Admin)
Same problem here.  We're trying to deploy this metadata through Force.com migration tool.
However, in my case there's no difference in Apps between the source (production) and the destination (Dev Pro sandbox).
Create - Apps shows an identical list of apps in both orgs.
The only difference I see is App Order (and I don't understand why - since this was recently refreshed from prod - I'd expect the same order).
 
Jason Bellis (Admin)Jason Bellis (Admin)
This is discussed in a recent Known Issue...
https://success.salesforce.com/issues_view?id=a1p30000000T5dqAAC

There is no workaround.  You can retrieve this metadata, but cannot deploy any change to it.
You must make changes to the App Menu Order through Setup user interface (somewhat annoying).

Still, I cannot understand how a recently refreshed sandbox does not have the same App Order as production.
 
PaulBackhousePaulBackhouse
On reflection, I'm not convinced App Menu data should be deployed at all.
Jason Bellis (Admin)Jason Bellis (Admin)
That's true - you really can't deploy it, since you can't make any change to the order through Metadata API.
 (and why deploy it if there's no change?)

Have you also noticed when you create a sandbox - App Menu ordering is different than prod?  
See this known issue (please upvote if it affects you).
   App Menu Items don't keep the same order in a sandbox when compared to production (https://success.salesforce.com/issues_view?id=a1p300000008XTCAA2)
     https://success.salesforce.com/issues_view?id=a1p300000008XTCAA2

That creates a bit of a problem, since we'd like things to be consistent in our sandboxes.
The AppMenu metadata is different, yet I can't deploy the change to syncronize them.