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

Can i use the SPCascadeDropdowns with Document Lib

Sep 30, 2010 at 2: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 3:46 AM
From the looks of it, relationshipListParentColumn: "Store_x0020_Type", relationshipListChildColumn: "Title" M.
Sep 30, 2010 at 5: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 12:27 PM
Check the docs. It's pretty clearly spelled out. ;-) You'll end up with one list per 'cascade'. M.