Cascade Dropdown Issue

May 22, 2014 at 10:44 AM
Hi ,

we have an issue with cascade dropdown. I am using sharepoint 2010 .
Find the below code for your reference.

$(document).ready(function() {

            relationshipList: "PROJECT",
            relationshipListParentColumn: "Product_SC",
            relationshipListChildColumn: "ArtifactLbl",                
            parentColumn: "Product>",
             childColumn: "Project Folder>",

debug: true

We used ">" as a Postfix for sitecollection columns. Actual Site column display name's are Product> and Project Folder>. But when we checked in DOM, the display names are Project Folder> and Product> .If use this name in my script it's throwing the below error

Message: 'childColumnStatic' is undefined
Line: 19
Char: 28926
Code: 0

If we use column names as Product> and Project Folder> in my script , it is displaying error Product> column not found on the form.

Please suggest how to use the columns names in script..

NOte : If I change Site columns to Product and Project Folder and changing the script accordingly it's working fine. But my requirement to have Postfix to the columns.
May 22, 2014 at 12:57 PM
That's an odd postfix decision, and certainly not something I would have ever tested.

That said, what version of SPServices are you using? Check out this post:

May 23, 2014 at 9:37 AM
I am able to fix the issue by using latest versions of Jquery and Spservices Libraries . Thank you for your reply.


May 23, 2014 at 1:53 PM