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

New Post: Looking for some help with SPServices.SPCascadeDropdowns

$
0
0

Hello,

I have just started using SPServices and Jquery and have run into a stumbling block with SPServices.SPCascadeDropdowns and was wondering if anyone could help.  I started very simple and I'm trying to cascasde the info from an Application List to a Category List. 

  • The Application list only contains one Column:  Application
  • The Category list contains two columns:  Title and Application (a lookup to the Application list
  • The fieldnames on my form are Application and Category

I valided the jQuery and SPS library links are working and was able to succesfully use SPServices.SPGetCurrentUser to pull some user information on another list.

Here is the code (I also tried with 1.8.3 jQuery library): 

<script language="javascript" type="text/javascript" src="Libraries/jquery-1.8.2.min.js"></script><script language="javascript" type="text/javascript" src="Libraries/jquery.SPServices-0.7.2.js"></script>			<script language="javascript" type="text/javascript">
	$(document).ready(function() {
		$().SPServices.SPCascadeDropdowns({
			relationshipList: "Category",
			relationshipListParentColumn: "Application",
			relationshipListChildColumn: "Title",
			parentColumn: "Application",
			childColumn: "Category",
			debug: true
		});
	});</script>

I'm receiving an error on the page when previewing it in a browser:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Timestamp: Tue, 4 Dec 2012 16:17:56 UTC

Message: 'childColumnStatic' is undefined
Line: 1357
Char: 3
Code: 0
URI: /sites/SPOT/Libraries/jquery.SPServices-0.7.2.js

I have a feeling it is something very simple I'm missing.  Any help would be much appreciated!


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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