0

I have implemented cascading for list lookup columns using JQuery, where lookup columns were of single selection type only.

But now I have a situation where I have to Implement cascading for lookup columns which can take multiple selections.

Code for single selection cascading of lookup columns:-

 $().SPServices.SPCascadeDropdowns({
        relationshipList: "Display Name of Master List",
        relationshipListParentColumn: "Parent Column Internal Name from Master List",
        relationshipListChildColumn: "Child Column Internal Name from Master List",
        parentColumn: "Parent Column Display Name from List/Library",
        childColumn: "Child Column Display Name from List/Library"
    });   
1
  • I have implemented this, for multiple values also the same code works.
    – KumarV
    Commented Apr 13, 2017 at 8:34

1 Answer 1

0

The solution is

Change the settings to 'Allow Multiple value Select' in the lookup column.

Then use the below code in the script

$().SPServices.SPCascadeDropdowns({
        relationshipList: "Display Name of Master List",
        relationshipListParentColumn: "Parent Column Internal Name from Master List",
        relationshipListChildColumn: "Child Column Internal Name from Master List",
        parentColumn: "Parent Column Display Name from List/Library",
        childColumn: "Child Column Display Name from List/Library"
    }); 

For child Column call the column with the 'Title' of lookup field instead of 'ID'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.