how-do-you-create-drop-down-sections-in-sharepoint on premises?

Kenny, Shane (DEW) 20 Reputation points
2024-10-31T23:40:55.6366667+00:00

Tried the instructions for SPOL but having issues.

Microsoft 365 and Office SharePoint For business Windows
SQL Server Other
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2024-11-01T08:03:49.1333333+00:00

    Hi @Kenny, Shane (DEW)

    In classic page, you could use following code to create a cascading drop-down

    <script language="javascript" type="text/javascript" src="https://crescent.sharepoint.com/sites/marketing/2018/SiteAssets/jquery-3.4.1.min.js"></script>
    <script language="javascript" type="text/javascript" src="https://crescent.sharepoint.com/sites/marketing/2018/SiteAssets/jquery.SPServices.min.js"></script>
    <script language="javascript" type="text/javascript">
     $(document).ready(function() {
      $().SPServices.SPCascadeDropdowns({
       relationshipList: "Country",
       relationshipListParentColumn: "Region",
       relationshipListChildColumn: "Title",
       parentColumn: "Region",
       childColumn: "Country",
       debug: true
      });
     });
     </script>
    

    For more details you could refer to following article

    https://www.sharepointdiary.com/2019/01/sharepoint-online-cascading-drop-down-list-using-jquery.html


    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 additional answer

Sort by: Most helpful
  1. Kenny, Shane (DEW) 20 Reputation points
    2024-11-04T03:04:39.4033333+00:00

    Hi there. This is not resolved. Not sure it can be, as I am not a developer and this is server based using 2019. Obviously, not SPOL.

    0 comments No comments

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.