You need to sign in to do that
Don't have an account?
Tanushree Dutta
How can I display records from two different objects by putting them in the same list beside a radio button in salesforce
Hi,
I am a newbee to salesforce and I am working on a requirement where I need to display all the records of Contacts and Locations belonging to an Account in a single table format with radio button to choose any 1 record out of Contacts and Locations.
My concern is I have to query separately to get the Contacts and Locations records. So I was thinking if we can merge two lists of separate objects or can we have a map of two different List of objects. Please do reply.
Thanks in Advance.
I am a newbee to salesforce and I am working on a requirement where I need to display all the records of Contacts and Locations belonging to an Account in a single table format with radio button to choose any 1 record out of Contacts and Locations.
My concern is I have to query separately to get the Contacts and Locations records. So I was thinking if we can merge two lists of separate objects or can we have a map of two different List of objects. Please do reply.
Thanks in Advance.
Your Class:
All Answers
But can you please explain this with any example if possible?
I'm not very comfortable with wrapper syntax actually.
Thank you.
Your Class:
But I have a small doubt in the code.
lee.setPageNumber(1);
lee.setPageSize(5);
con.setPageSize(5);
noOfRecords = lee.getResultSize() + con.getResultSize();
getrecords();
I am not getting the use "setPageNumber" and "setPageSize" syntax.
Can you please explain that?
Thank you again...