Skip to main content
Hello,

Here (https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003INouEAG) is the appexchange. I contacted the provider but no solution so far. I am a novice but was hoping someone could help on why the code is not working? I am able to see the custom button on my custom object page but it returns an error. 

Here is the code from the installation guide - here (https://appexchange.salesforce.com/servlet/servlet.FileDownload?file=00P3000000P3foVEAR) for custom objects. 

Go to ‘Custom Buttons and Links’ section and click ‘New’. a. Give the button label as ‘Assign Mass Task’. b. Select ‘List Button’ from the ‘Display Type’ options c. Select the behavior as ‘Execute JavaScript’ d. Select ‘OnClick JavaScript’ from ‘Content Source’. e. Copy the following script to the underneath text area. // Include and initialize the AJAX toolkit library {!REQUIRESCRIPT("/soap/ajax/19.0/connection.js")}; {!REQUIRESCRIPT("/soap/ajax/19.0/apex.js")}; var idList = {!GETRECORDIDS($ObjectType.)}; var retURL = window.location.toString(); var proceed = true; if(idList.length <= 0){ alert('Please select record(s).'); proceed = false; } if ((navigator.userAgent.indexOf('MSIE')) >= 0) { if(idList.length > 100){ alert('Only maximum of 100 records can be selected.'); proceed = false; } } if(proceed){ window.location="/apex/ABSI_Mass_Task_Action?objIds=" + idList + "&retURL=" + retURL; } f. Replace the with the actual object name. g. Click on ‘Save’ button. 

Thanks. Sorry if this is not in the correct forum. 
1 risposta
0/9000