Will this to work with a content type, used in a document library, using a site column lookup to another list. I get no errors, following the documentation. The lookup replaces its possible selections with (None), after running the error free script. The Title column in the child list holds a match for the Query. You mention that the Query gets 'Anded'. I surmise the the intial lookup with all its values, is what gets my Query 'anded' too.
//alert (BranchFolder); //this is a previous variable I get in my script
var TransitNo = BranchFolder.substring(0,5); //I then parseout the number from the name
//alert(TransitNo);
$().SPServices.SPFilterDropdown({
relationshipList: "Transit Unit Information",
realtionshipListColumn: "Adjudicator_x0020_Names",
columnName: "TestSelectAdjudicator",
CAMLQuery: "<Eq><FieldRef Name='Title' /><Value Type='Text'>" + TransitNo +"</Value></Eq>",
completefunc: null,
debug: false
});
↧