I am using SPServices to leverage cascading in for a parent-child relationship. Its working perfectly fine but I have to opt for JSLink solution as recommended by Senior Developer because it might be possible that SPServices might get deprecated in the nearby future and thus now I have to find a solution to convert the SPServices code to the JSlink, which I have never worked on, so do not know how would i develop something like below functionality in JSLInk.

<script language="javascript" type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/2014.02/jquery.SPServices-2014.02.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {    
  relationshipWebURL: "https://**.sharepoint.com/sites/tetest/",
  relationshipList: "Company Entity List", //parent list
  relationshipListParentColumn: "Title",//parent column
  relationshipListChildColumn: "Company",//child column
  parentColumn: "Project Name",//parent column on a document library form
  childColumn: "Company Name",//child column on a doc lib form
  debug: true

Can someone please help me convert this into JSLink, thank in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.