Filter ListView with variable using JQuery in SharePoint 2016

Michael Williams 21 Reputation points
2021-09-30T15:26:22.987+00:00

Hello Everyone,

I've looked everywhere. I'm simply trying to dynamically set the filter of one of my columns in a ListView with a variable from a form on the same page in SharePoint 2016.

Please help,

Mike

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,594 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-10-01T08:44:27.787+00:00

    Hi @Michael Williams

    For your requirements, I would suggest you use SharePoint filter Web Part to achieve this. Please refer to this article for more: https://support.microsoft.com/en-us/office/connect-a-filter-web-part-to-a-list-view-web-part-on-a-classic-page-4f3f6c10-0a1b-479d-8b4d-c4f1bf49bb3f?ui=en-us&rs=en-us&ad=us


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

  2. Michael Williams 21 Reputation points
    2021-10-02T14:43:31.917+00:00

    None of these options work for me. I already have the ListView filtered by SSN and I want to filter the list by Fiscal Year as well when the user clicks on a top ListView item. Is this possible with one of these options?

    0 comments No comments