Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am getting the error "childColumnStatic" is undefined .

I am trying to implement cascading dropdown using the below code. Here the column "profilesystem" contains more than 20 items. The below code works fine if the number of columns is less than 20 items but for different item.

  $().SPServices.SPCascadeDropdowns({
    relationshipList:"Unit",
    relationshipListParentColumn:"profilesystem",
    relationshipListChildColumn:"Unit",
    parentColumn:"ProfileSystem",
    childColumn:"Profile_x0020_Unit"
  });
share|improve this question

2 Answers 2

childColumn should be the DisplayName of the column in the form, not the StaticName. Since you were using "Profile_x0020_Unit", it was undoubtedly the StaticName (we rarely name our columns with encoded characters). This is noted in the documentation. Let me know if it isn't clear somehow and how I can update it if it isn't.

share|improve this answer

It started working after i renamed the chilColumn from "Profile_x0020_Unit " to ProfileUnit... When i opened the Jquery i found that childColumnstatic is nothing but getting the attr of "childColumn" so thought there is something wrong with ChildColumn and changed its title.

Hope it helps someone in future

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.