Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Multiple Select ParentColumn?

Does this work if the ParentColumn on the form is set to allow multiple items? If so, I can't get it to work on my site.
<script language="javascript" type="text/javascript" src="../../Assets/jquery-1.11.0.min.js"></script>
<script language="javascript" type="text/javascript" src="../../Assets/jquery.SPServices-2014.01.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
  $().SPServices.SPCascadeDropdowns({
    relationshipList: "{D164B284-5AC-41EF-A1B4-B4C79B1B22EA}",
    relationshipListParentColumn: "Supplier",
    relationshipListChildColumn: "Location_x0020_Name",
    parentColumn: "Suppliers",
    childColumn: "Supplier Location",
    debug: true
  });
});
</script>
It appears to be attempting to work. It looks like the Supplier Location field refreshes, but I never get any items in the lsit, always "(None)". It seems to me that it is not finding any matching Supplier in the Supplier Locations list.

Just for clarification, here is my structure:

Projects:
Suppliers - Lookup to Suppliers list - Allow multiple items
Supplier Location - Lookup to Supplier Locations list - Display Location Name column - Does not allow multiple items

Supplier Locations:
Supplier - Lookup to Suppliers list
Location Name - Text field.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>