I am trying to create a custom link that will export a related list directly to Excel. Right now I can't get it to export more than 100 names regardless of the size of the list. Is there a way I can work around this?
<apex:page standardController="Lists__c", contentType="application/vnd.ms-excel">
<apex:pageBlock title="Influencers">
<apex:relatedList pageSize="1000" list="List_Contact_Associations_del__r" />
<apex:pageBlockTable value="{!Lists__c.List_Contact_Associations_del__r}" var="mycontact">
<apex:column value="{!mycontact.id}" ></apex:column>
<apex:column value="{!mycontact.Name}" ></apex:column>
</apex:pageBlockTable>