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

Is their any way to get standard app names from salesforce

Hi all,


This is the Code which i have using in my Application. My goal is, If i make any changes in my Application it should  reflect in 


But the bellow code is reflecting only to Custom App


As i am hardcoding the Custom App Name  like this


ProfileApplicationVisibility pat=new ProfileApplicationVisibility("Force_com",false,true);



" Force_com" is the custom App Name in My Application which i have created in .



The Code Works Fine & The Changes are reflecting



But when i am trying for Standard App like this  



ProfileApplicationVisibility pat=new ProfileApplicationVisibility("Call Center",false,true);


The Changes are not reflecting in & I am getting the Following error for it



java.lang.Exception: INVALID_CROSS_REFERENCE_KEY msg: In field: application - no CustomApplication named Call Center found





String profileName="";


ArrayList<ProfileApplicationVisibility> profileApplicationVisibilityList =null;


ProfileApplicationVisibility[] pav=null;






 p=new Profile();







 ProfileApplicationVisibilityList = new ArrayList<ProfileApplicationVisibility>();




 f(profileApplicationVisibilityList.size()>0) {


pav=new ProfileApplicationVisibility[profileApplicationVisibilityList.size()];






ProfileApplicationVisibilityList = new ArrayList<ProfileApplicationVisibility>();



ProfileApplicationVisibility pat=new ProfileApplicationVisibility("Sales",false,true);





if(profileApplicationVisibilityList.size()>0) {


pav=new ProfileApplicationVisibility[profileApplicationVisibilityList.size()];









I should reflect the changes of Standard App Names  in  salesforce


please help to solve this issue.




Adithya K


Metadata for Custom Applications can be found via the metadata API.


See the documentation here:|app|App


Hi Ryan


We are working on the CEPM Sales Force Connector, we have generated Metadata, Enterprise wsdl from sales force by using this wsdl we are updating Tabs, Applications, Object permissions to Sales Force application profile. For the Standard Tabs we are using ‘Standard – ‘as the prefix before tab name and it is working fine.

Example: for Accounts Tab its internal tab name is Standard-Account,

Campaigns Tab its internal tab name is Standard-Campaign,

Cases Tab its internal tab name is Standard-Case

For the Standard Application setting also we are using as above like ‘Standard-sales, Standard-Ideas etc.’ but its not working. So we need your help to find out the unique app name for sales, Ideas, call center and marketing applications


Thank You

Adithya k