Hi,
Have created 3 lists.
1) Oraganization Name - Contains Org name
2) Employee Name - Contains Employee name and using look-up have added the Organization name for each employee
3) Database - Here I am trying to get the cascade dropdown.
But cascading drop down in not working. It's showing all the employee names. It should display on those employees for the selected company
<script src="https://site name/jquery.min.js"></script><br /><br />
<script src="https://sitename/jquery.SPServices.min.js"></script><br /><br />
<script type="text/javascript"> <br /><br />
$(document).ready(function ()<br /><br />
{<br /><br />
$().SPServices.SPCascadeDropdowns(<br /><br />
{<br /><br />
relationshipList: "Employee Name",<br /><br />
relationshipListParentColumn: "Organization Name",<br /><br />
relationshipListChildColumn: "Title",<br /><br />
parentColumn: "Organization Name",<br /><br />
childColumn: "Employee Name",<br /><br />
debug: true<br /><br />
})<br /><br />
})<br /><br />
</script>
What I have tried:
<script src="https://site name/jquery.min.js"></script><br /><br />
<script src="https://sitename/jquery.SPServices.min.js"></script><br /><br />
<script type="text/javascript"> <br /><br />
$(document).ready(function ()<br /><br />
{<br /><br />
$().SPServices.SPCascadeDropdowns(<br /><br />
{<br /><br />
relationshipList: "Employee Name",<br /><br />
relationshipListParentColumn: "Organization Name",<br /><br />
relationshipListChildColumn: "Title",<br /><br />
parentColumn: "Organization Name",<br /><br />
childColumn: "Employee Name",<br /><br />
debug: true<br /><br />
})<br /><br />
})<br /><br />
</script>