This project has moved and is read-only. For the latest updates, please go here.


Aug 22, 2012 at 2:19 PM

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() {
   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.

Aug 22, 2012 at 3:11 PM

At first glance, the only thing that jumps out at me is the comma after "debug: true"

Since there are no arguments provided after that line, the comma is not required and is probably causing an error.

Sep 11, 2012 at 2:03 PM

I think that gkoliver has the right fix. Did you get it working?