Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPCascadeDropDown doesn't show child on parent selection

Hello, I have a problem with the following code.
The parent list is filled, but when I select an item, 
it displays nothing in the child list.
I Use Sharepoint 2010, with the last stable versions of JQuery and SPServices.
N.B. : The child list is a multi-selection list.
<script language="javascript" type="text/javascript">function MyLoadFunction() {// Masquer le champ identification technique
		$('nobr:contains("Identification Technique")').closest('tr').hide();// Relation entre les listes déroulantes "Module ESB" et "Service Web"
		$().SPServices.SPCascadeDropdowns({			
			listName: "DemandeAccesWebService2",// nom de la liste "enfants" -celle de la seconde selection
			relationshipList: "ServiceWeb",// nom INTERNE de la colonne correspondant à la liste "parent" dans la liste "enfants"
			relationshipListParentColumn: "Module_x0020_Logiciel",// nom interne de la colonne à recuperer dans la liste "enfants"
			relationshipListChildColumn: "Title",// nom d'affichage (display) de la colonne du formulaire (parent)
			parentColumn: "Module ESB",// nom d'affichage (display) de la colonne du formulaire (enfant)
			childColumn: "Nom du Service Web",
			debug: true
		});
	}

	_spBodyOnLoadFunctionNames.push("MyLoadFunction");</script>

Viewing all articles
Browse latest Browse all 6517

Trending Articles