$().SPServices.SPDisplayRelatedInfo Syntax

Mar 31, 2011 at 8:03 AM

Hi

I use 

$().SPServices.SPDisplayRelatedInfo({	
	columnName: "",
	relatedWebURL: "",
	relatedList: "",
	relatedListColumn: "",
	relatedColumns: [],
	displayFormat: "table",
	headerCSSClass: "ms-vh2",
	rowCSSClass: "ms-vb",
	numChars: 0,
	matchType: "Eq",
	CAMLQuery: "",
	completefunc: null,
	debug: true
});
In Documentation is

columnName
The DisplayName of the parent column in the form

This function only work when I use Static Name.
Is this a bug of a feature or the documentation ?

Coordinator
Mar 31, 2011 at 1:35 PM

The columnName does need to be the DisplayName, so I'm not sure what's going on it your case.

However, you're right that the doc wasn't right in that it said "parent column". It should just be "column", as below.

columnName
The DisplayName of the column in the form

I'm surprised no one has caught this in all this time!

M.