<script src="/path/to/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="/path/to/jquery.SPServices-0.7.1a.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
var listGUID = "{182E65D7-B53A-46AB-B3E5-B149BD4A13BF}";
var parentColumn = $().SPServices.SPGetStaticFromDisplay ({listName: listGUID, columnDisplayName: "Kategorien" });
var childColumn = $().SPServices.SPGetStaticFromDisplay ({listName: listGUID, columnDisplayName: "Titel" });
$().SPServices.SPCascadeDropdowns({
relationshipList:listGUID,
relationshipListParentColumn:parentColumn,
relationshipListChildColumn:childColumn,
parentColumn:"Kategorien",
childColumn:"Relevante Dokumente",
debug: true
});
});
</script>
The code is working only if I change the "Kategorien" column to single-select. So I think everything is ok with that code?! But If I change that column to mutli-select it does nothing (except that the UI element, which lists the items of "Relevante Dokumente", gets cleared). I'm using this code with SP2010 (German localisation).
Comments: What version and license level of Sharepoint are you running?
<script src="/path/to/jquery.SPServices-0.7.1a.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
var listGUID = "{182E65D7-B53A-46AB-B3E5-B149BD4A13BF}";
var parentColumn = $().SPServices.SPGetStaticFromDisplay ({listName: listGUID, columnDisplayName: "Kategorien" });
var childColumn = $().SPServices.SPGetStaticFromDisplay ({listName: listGUID, columnDisplayName: "Titel" });
$().SPServices.SPCascadeDropdowns({
relationshipList:listGUID,
relationshipListParentColumn:parentColumn,
relationshipListChildColumn:childColumn,
parentColumn:"Kategorien",
childColumn:"Relevante Dokumente",
debug: true
});
});
</script>
The code is working only if I change the "Kategorien" column to single-select. So I think everything is ok with that code?! But If I change that column to mutli-select it does nothing (except that the UI element, which lists the items of "Relevante Dokumente", gets cleared). I'm using this code with SP2010 (German localisation).
Comments: What version and license level of Sharepoint are you running?