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

Commented Issue: Problem with SPCascadeDropdowns (multi-select with multi-select) [10091]

$
0
0
<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: I'm not able to test your fix, SPServices Library is not functional with our SharePoint: Line 1270: // SharePoint 2010 provides the current context, so if available, let's use it thisSite = typeof SP !== "undefined" ? SP.ClientContext.get_current().get_url() : undefined; Error: 'SP.ClientContext' is Null or no Object With 0.7.1a everything was fine.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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