Cette entrée n'est pas disponible en français. Par conséquent, le texte anglais est affiché.
This component enables Mass Update of Call Settings for multiple customers:
Pass customers or Call Settings as objects in the parameter FStandardSetController. Only instances from the type Account/Lead/Contact/pt__PTCustomerCallSettings__c are supported. A maximum of 200 objects can be passed in this parameter.
Below is an example on the integration of a simple Visualforce page with respective Controller:
public with sharing class TestController {
public ApexPages.StandardSetController FAccountsController
{get;private set;}
public TestController() {
List<Account> myAccounts = [SELECT ID FROM Account limit 200];
FAccountsController =
new ApexPages.StandardSetController(myAccounts);
FAccountsController.setSelected(myAccounts);
}
}
<apex:page controller='TestController'>
<pt:ptmassupdate
FStandardSetController='{!FAccountsController}'
FRetURL='{!$CurrentPage.Parameters.retURL}'
rendered='{!!ISNULL(FAccountsController)}'
/>
</apex:page>