Can i use the SPCascadeDropdowns with Document Lib

Sep 30, 2010 at 1:56 AM

I'm trying to have a cascaded dropdown when users upload documents.

So for example when they select a store type they will get a filtered stores

I have only one list with colums : Store and Store type so .eg 

Store  Store Type
A        Store
B        Kiosk
C        Store
D        Store
$(document).ready(function() {
   relationshipList: "VM Store",
   relationshipListParentColumn: "Store type",
   relationshipListChildColumn: "Store",
   parentColumn: "StoreTypes",
   childColumn: "Stores",
   debug: true

Any ideas what i'm missing. Itried looking at the Store type static name and it looks like this STORE%5Fx0020%5FTYPE


Sep 30, 2010 at 2:46 AM
From the looks of it, relationshipListParentColumn: "Store_x0020_Type", relationshipListChildColumn: "Title" M.
Sep 30, 2010 at 4:30 AM

Thanks Marc does the




also use the internal names or Display name.
Also can i just use a list to do this or it has to be multiple list?


Sep 30, 2010 at 11:27 AM
Check the docs. It's pretty clearly spelled out. ;-) You'll end up with one list per 'cascade'. M.