You need to sign in to do that
Don't have an account?
sasihari371.3947835833936902E12
Modifying Standard Application metadata via SF Java API
Is there any way to modify the Standarad applications like sales,call center,etc... via Salesforce JAVA api???
Need some assistance in it.
Need some assistance in it.
If that is the intent - did you get a chance to explore the CustomApplication provided in the Salesforce METADATA API to access the standard and custom applications in salesforce:
http://www.salesforce.com/us/developer/docs/api_meta/api_meta.pdf Page 130
pls go through..
Even me too getting the error while accessing the standatard application via SF JAVA metadata api...
I created a custom web tab(cust) via metadata api, here i tried to make it visible to Sales application of System administrator profile.
ProfileTabVisibility tabVisible = new ProfileTabVisibility();
tabVisible.setTab(cust.getFullName());
tabVisible.setVisibility(TabVisibility.DefaultOn);
ProfileApplicationVisibility appVisibility =
new ProfileApplicationVisibility();
appVisibility.setApplication("Sales");
appVisibility.setVisible(true);
Profile admin = new Profile();
admin.setFullName("Admin");
admin.setTabVisibilities(new ProfileTabVisibility[]{tabVisible});
admin.setApplicationVisibilities(new ProfileApplicationVisibility[]{appVisibility});
UpdateMetadata up = new UpdateMetadata();
up.setMetadata(admin);
while updating metadata i am getting this error.
Error status code: INVALID_CROSS_REFERENCE_KEY
Error message: In field: application - no CustomApplication named Sales found
is there other way to set the visibilty of my custom web tab to sales application?
http://www.salesforce.com/us/developer/docs/api_meta/api_meta.pdf Page 130 is not that much helpful for me to resolve this problem.