Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

    Mass Button from a Related List

    Status: Validated

    TOPIC
    How to create a Mass button from records in the related list.
    INSTRUCTIONS
    1. Create a new Document Package that runs from the Related List object.
    2. Create a new button with the following code:
      {!REQUIRESCRIPT("/soap/ajax/32.0/connection.js")} 
      
      //GRABS THE IDS FROM THE LIST
      var selectedIds = {!GETRECORDIDS($ObjectType.RELATED_LIST_OBJECT_NAME__c)};
      
      if (selectedIds && selectedIds.length) {
      // the base LOOPlus URL 
      window.location.href = "/apex/loop__masslooplus?retURL=" + encodeURI(window.location.pathname+window.location.search) + "&sessionId={!$Api.Session_ID}&recordIds=" + selectedIds.join(','); 
      }
      else 
      alert('Please select at least one record.');
    3. Navigate to Edit Layout > Related List Properties > Buttons.
    4. Add this MASS button in the Related List layout.
    For more information, see Mass Document Packages and Add a button that generates documents from multiple records in Classic Experience in Nintex Help.
    ADDITIONAL INFORMATION
    RELATED LINKS
    • Was this article helpful?