Login to your Salesforce Org where the package is Installed.
For Bulk SMS functionality, you have to create :-
Visualforce Page
Controller
Application
Â
Change the name of object accordingly . (Example for Lead object, you have to write standardController = “Lead“ instead of standardController = “Contact“)
/**
* Copyright (C) Cloud Maven, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium, distribution and packaging is strictly prohibited
* Proprietary and confidential
* Written by Cloud Maven <support@cloudmaveninc.com>, December 2019
*/
global with sharing class SendBulkSMSActionController {
public List<Contact> getIDs;
public String contactIds{get;set;}
public Boolean showLoading {get;set;}
public SendBulkSMSActionController(ApexPages.StandardSetController controller){
System.debug('Get Selected');
showLoading = true;
getIDs = controller.getSelected();
contactIds = '';
for(Contact oContact : getIDs){
contactIds += oContact.Id + ',';
System.debug('Contact ID : '+contactIds);
}
contactIds = contactIds.removeEnd(',');
//headerdata= ApexPages.currentPage().getHeaders().get('Host');
//urlvalue=Apexpages.currentPage().getUrl();
//url='https://' + headerdata+ urlvalue;
}
public void getLoadingValue()
{
System.debug('Inside');
showLoading = false;
}
}