Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SPCascadeDropdowns

$
0
0

I can't get it to work.  I am trying to use it in a Record Library and not in a simple list if that makes a difference. 

I have 2 lists, Document Type, and Document Sub Type.  Both have the default Title Field.  Document Sub Type has a lookup column to Document Type.  The list I am trying to update has the Document Type and Document Sub Type Columns.
Here is my code. 

$(document).ready(function() {
    $().SPServices.SPCascadeDropdowns({
   relationshipList: "Document Sub Type",
  
relationshipListParentColumn: "Document_x0020_Type",
   relationshipListChildColumn: "Title",
   parentColumn: "Document Type",
   childColumn: "Document Sub Type",
   selectSingleOption: true,
   debug: true,
   });

The function is called when the parent dropdown selection is made, tested using the completefunc option.  I get no errors, the child dropdown is not filtered and contains all Document Sub Types.  All the names are correct and I tried specifying the GUID of the relationshipList option and it had no effect.  The Document Sub Type of the Record Library is a Multi-Select 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>