Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: 'childColumnStatic' is undefined

$
0
0

Hello,

I am getting 'childColumnStatic' is undefined when I use SpCascadeDropdowns on my custom solution.

I have deployed a custom parent content type with a lookup field called Region and a sub content type with some additional fields inheriting from this parent type on my custom list. When I place my cascade code on the custom form I get the error. If I go in and manually create another Region lookup field on my parent content type just like I do in code it will work fine.

If I replace the childColumn to something else the debug will pop open and tell me it doesn't exist which is true. If I go in and manually create another column in the same way I deploy programmatically it will work fine.

I am tearing my hair out trying to figure out what can be the issue. Am I missing something obvious?

$().SPServices.SPCascadeDropdowns({
  relationshipList: "Region",
  relationshipListParentColumn: "Brand",
  relationshipListChildColumn: "Title",
  parentColumn: "Brand",
  childColumn: "Region",
  debug: true
});
Thanks


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>