You need to sign in to do that
Don't have an account?

Map truncation
I'm having an issue with the data from a map being truncated.
I have a map consisting of:
Everything works fine when I run some logic and add records to the map, I can see in my log that the data is being added to the map. However, if I try to output the map to the log file I get:
Basically, it's truncating it after 10 map records.
I'm passing this map to a php script using an external callout and need to fix the truncation. Is there a limit to the size of a map? If so, what other options do I have?
I have tried sending the map in both GET and POST but neither affect the truncation as I can see that it is truncated in the log, before I even send it.
Thanks
Message Edited by Colin Loretz on 08-25-2008 09:38 AM
I have a map consisting of:
Code:
Map<ID, CVB_Contact__c> m = new Map<Id, CVB_Contact__c>();
Everything works fine when I run some logic and add records to the map, I can see in my log that the data is being added to the map. However, if I try to output the map to the log file I get:
Code:
{Id:{record}, Id:{record}, Id:{record}, Id:{record},
Id:{record}, Id:{record}, Id:{record}, Id:{record}, Id:{record}, Id:{record}, ...}
Basically, it's truncating it after 10 map records.
I'm passing this map to a php script using an external callout and need to fix the truncation. Is there a limit to the size of a map? If so, what other options do I have?
I have tried sending the map in both GET and POST but neither affect the truncation as I can see that it is truncated in the log, before I even send it.
Message Edited by Colin Loretz on 08-25-2008 09:38 AM
Is there a way to access the rest of the map? At first I thought it was not showing everything because it is in the log file but when passing the variable in an email (or in my preferred situation an HTTP callout), it passes 10 records followed by an ellipsis (...);