How to make casecade dropdown in list using shareppoint 2019

qasimidl 106 Reputation points
2022-03-09T17:56:25.863+00:00

Hi,

Problem:
I want to make casecade dropdown list using sharepoint 2019 on prem

I have tried below solution, its not working

https://www.spguides.com/cascading-dropdown-sharepoint-2013-jquery/.

Please guide me , how can i make this.

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2022-03-10T07:02:52.943+00:00

    Hi @qasimidl ,
    I have tested SPServices.SPCascadeDropdowns and it works well in sharepoint 2019. You can refer to following steps

    1. Create a list named Country
      181774-image.png
    2. Create a list called State with lookup column to country.
      181717-image.png
    3. Create a list called cascade with lookup columns to country and state
      181784-image.png
    4. Add following script to Script Editor <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/2014.02/jquery.SPServices.min.js"></script>
      <script type="text/javascript">
      $(document).ready(function ()
      {
      $().SPServices.SPCascadeDropdowns(
      {
      relationshipList: "State",
      relationshipListParentColumn: "country",
      relationshipListChildColumn: "Title",
      parentColumn: "country",
      childColumn: "state",
      debug: true
      });
      });
      </script>

    181785-image.png

    You can also refer to the nice video. It provides detailed process to achieve your requirement.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.