Quantcast
Viewing all articles
Browse latest Browse all 6517

Created Unassigned: SP Filter DropDown Not Working [10141]

I am getting the following error. It is alerting the item type but name values are not displayed.


Error in function
SPServices.SPFilterDropdown
Parameter
relationshipListColumn: Name
Message
Not found in relationshipList {268E4AA4-6897-4C81-9C61-17609433DEE6}

Click to continue



__Below is the code that I used.__



<script src="/JavaScripts/jquery-1.8.2.js"></script>

<script src="/JavaScripts/jquery.SPServices-0.7.2.min.js"></script><script type="text/javascript">
$(document).ready(function () {
alert("hello");
$("select[title='ItemType1']").change(function() {
var stext=$("select[title='ItemType1']").val();
alert(stext);
$().SPServices.SPFilterDropdown({
relationshipList: "MasterList",
relationshipListColumn: "Name",
columnName: "Name",
CAMLQuery: "<Eq><FieldRef Name='Item Type' /><Value Type='Text'>"+stext+"</Value></Eq>",
completefunc: null,
debug: false
});
});
});</script>



Please help! I appreciate your time!

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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