You need to sign in to do that
Don't have an account?
Sureka
IO Exception: Exceeded max size limit of 3000000 while making Metadata API Call
Hi,
I am trying to query CustomLabels using Metadata API. I am using the following code:
MetadataService.MetadataPort service = createService();
List<MetadataService.ListMetadataQuery> queries = new List<MetadataService.ListMetadataQuery>();
MetadataService.ListMetadataQuery queryLayout = new MetadataService.ListMetadataQuery();
queryLayout.type_x = 'CustomLabel';
queries.add(queryLayout);
MetadataService.FileProperties[] fileProperties = service.listMetadata(queries, 30);
The above code is giving the following exception:
IO Exception: Exceeded max size limit of 3000000
I don't have any other code in my controller. Is there a way to limit the no of custom labels? Let me know
Thanks
I am trying to query CustomLabels using Metadata API. I am using the following code:
MetadataService.MetadataPort service = createService();
List<MetadataService.ListMetadataQuery> queries = new List<MetadataService.ListMetadataQuery>();
MetadataService.ListMetadataQuery queryLayout = new MetadataService.ListMetadataQuery();
queryLayout.type_x = 'CustomLabel';
queries.add(queryLayout);
MetadataService.FileProperties[] fileProperties = service.listMetadata(queries, 30);
The above code is giving the following exception:
IO Exception: Exceeded max size limit of 3000000
I don't have any other code in my controller. Is there a way to limit the no of custom labels? Let me know
Thanks
https://developer.salesforce.com/forums?id=906F00000008vFbIAI