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

$().SPServices.SPCascadeDropdowns({
relationshipWebURL:"http://testing/sites/A/400/",
            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.
Coordinator
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:
http://sympmarc.com/2014/01/23/office-365-update-changes-display-name-on-required-fields/

M.
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.

/jquery-1.11.1.min.js

/jquery.SPServices-2014.01.min.js
Coordinator
May 23, 2014 at 1:53 PM
Great!

M.