Filter List View Based on Condition

HI All,
I have SharePoint List with dropdown column name "Link Level" and it's holding values "Access" "Rejected" .
And I had created view with name "Access" and had set the filter scetion options as below.But I don't find any result,Can any me help me what's the right way to filter the view only with "Access" list item value
"Link Level"->
equals to ->
=[Access] 
Thanks,
Quality Communication Provides
Quality Work.
MSA

Hi,
According to your description, my understand is that you want to filter list items by “Access” but it displayed nothing.
Did you set the “Access” view as below figure?
Please cancel the filter in the “Access” view (choose none in filter field) and test whether it displays list items.
Please check whether there is any other configuration in the “Access” view.
Thanks,

Similar Messages

  • Is it possible to filter list view based on current user logged in

    Hi,
    Is it possible to filter the list view results based on the current user logged in. I have a scenario wherein i want to show only those list items to the user which contains his/her name under the column Approver (a list column).
    So if i login to the page, then only those requests should show up which has my name as the Approver, and so on.
    Is it possible please ?
    Thank you.

    Hi Prajk, you could use audience targeting for this. An alternative would be to create a view and add a filter so that "Approver" is equal to [Me]
    cameron rautmann

  • Filter List ViewA based on List ViewB selected row?

    Hello,
    I am trying to find out if it is possible to transfer the ID of a selected row in one view of a list, and use that to filter a second view of the same list.
    Supposedly, this can be done if this page is any proof:
    http://msdn.microsoft.com/en-us/library/dd585662(v=office.11).aspx.
    But I haven't been able to find any informative tutorials or walkthroughs other than webpart connectors on the same page.

    Just connect the two web parts together and have the first web part send the ID to the second.  Take a look at the following walkthrough.  Its for 2007 but should still work essentially the same.
    https://www.nothingbutsharepoint.com/sites/eusp/pages/sharepoint-filtering-with-web-part-connections.aspx
    To do this using two separate pages you need to do it using SharePoint Designer.  I haven't tried it lately and am not sure its still possible since the Design view as removed.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Filter list items based on security groups o365

    How to filter list items based on security groups in o365.

    Hi,
    According to your description, my understanding is that you want to filter list items based on the Office 365 security groups.
    If that is the case, I suggest you can create a data view to filter the list items with CAML Query like below:
    <Where>
    <Membership Type="CurrentUserGroups">
    <FieldRef Name="VisibleToGroup"/>
    </Membership>
    </Where>
    For more information, please refer the detailed article below:
    SharePoint - Filtering a View by Group Membership
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • List View Filter - I want to create List View based on a specific user

    I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
    I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
    Thanks
    Nate

    The People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
    type.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server

    We have a scenario where users from a group or seeing items of list views entered by users of other group.
    For e.g, we have (ALL are Active Directory users and are authenticated as such)
    GROUP A with USER-A1, USER-A2, USER-A3
    GROUP B with USER-B1, USER-B2, USER-B3
    GROUP C with USER-C1, USER-C2, USER-C3
    We created views called
    GROUP_A_VIEW
    GROUP_B_VIEW
    GROUP_C_VIEW
    We created a web part for each of this view
    And from Advanced Settings, added Target audience for each VIew with respect. For e.g. if Target AUdience is Group A, then USER-A1 will see items entered by himself or USER-A2, and USER-A3 but not the mbers of GROUP_B and GROUP_C
    It works fine on the our development machine.
    However when we backup and restore to other machine containing the same Active Directory users, 
    GROUP A members are seeing records entered by GROUP B
    GROUP B members are seeing records entered by GROUP C
    GROUP C members are seeing records entered by GROUP D
    ....etc.
    Any help will be appreciated.
    Murali Boyapati

    Groups and users are stored locally in a cache on each site collection. Within that site collection they have IDs assigned which are used internally to identify those groups.
    What is probably happening is that the groups you've targeted are being identified by IDs which are not consistent between your source site collection and your destination collection.

  • Retrieve List Items based on condition in Where Clause

    Hello Experts,
     I am trying to retrieve list items from a list (CityList)  which contains 2 columns one is city(string) and State(Lookup) based on Lookup value, but i am getting all city names.
    here is my query below.
    function MainFunction() {
            var lookupid = 5;
            var myQueryString = "<Where><Eq><FieldRef Name='State' LookupId='true' /><Value Type='Lookup'>"+lookupid+"</Value></Eq></Where>";
            var myContext = new SP.ClientContext.get_current(); ;
            var myWeb = myContext.get_web();
            var myList = myWeb.get_lists().getByTitle("CityList");
            var myQuery = new SP.CamlQuery();
            myQuery.set_viewXml(myQueryString);    
            myItems = myList.getItems(myQuery);
            myContext.load(myItems, 'Include(Title)'); 
            myContext.executeQueryAsync(Function.createDelegate(this, GetListDataSuccess), Function.createDelegate(
    this, GetListDataFail));
        function GetListDataFail(sender, args) {
            // Show error message
            alert('GetListDataFail() failed:' + args.get_message());
        function GetListDataSuccess(sender, args) {
            var currListItemCount = myItems.get_count();       
            var currItemEnumerator = myItems.getEnumerator();
            var currItemDetails = '';       
            while (currItemEnumerator.moveNext()) {          
                var currItem = currItemEnumerator.get_current();          
                 currItemDetails = currItemDetails + ';' + currItem.get_item("Title");
            // Show details 
            alert(currItemDetails); 
    Please suggest where i am wrong. 
    Thank you
    saroj

    You need to enclose the <Where> tag inside <View><Query> . Try like below
    var myQueryString = "<View><Query><Where><Eq><FieldRef Name='State' LookupId='TRUE' />
    <Value Type='Lookup'>"+lookupid+"</Value></Eq></Where></Query></View>";
    Geetanjali Arora | My blogs |

  • Listing Views based on a given Table

    With a query how to list the names of views that are based on a given table.

    SELECT NAME,  REFERENCED_NAME FROM ALL_DEPENDENCIES
    WHERE TYPE = 'VIEW'
       AND REFERENCED_NAME = 'table_name'
    [/CODE]

  • How to show view based on condition

    Hi,
    I have a scenario with login screen with a submit button and two views(success and error).
    Now I want to show
    a)a successful view if user enters a correct login name and password(which will be validated with static values in action method of submit button)
    b)a Error view if user enters wrong username and password.
    I am struck at action code to write a condition to show respective views.
    Some thing like (In Java)
    If (login.id=='abc' && login.password='xyz')
    show.view1
    else
    show.view2
    I am not familar to ABAP coding as I just started to know.
    If anyone know action code, Please help on this.
    Thanks in advance
    Praveen

    Hi Suman,
    Thanks for the code. my issue is still not solved
    I have to change the code with respect to context node info.
    My context looks like
    Root
       ->Person
             -->Name
             -->Address  (which is designted as password)
    Now how to do modify your code with respect to the context. I'm sorry I m new to ABAP coding.I tried with below changed code.it gave me an error as shown in below.(type if_first=>element_name is unknown)
    method ONACTIONACTION_GO .
    data:
        node_input_data  type ref to if_wd_context_node,
        elem_input_data  type ref to if_wd_context_element,
        stru_input_data  type iffirst=>element_name._
    navigate from <CONTEXT> to <INPUT_DATA> via lead selection
      node_input_data = wd_context->get_child_node( name = 'PERSON' ).
    get element via lead selection
      elem_input_data = node_input_data->get_element(  ).
    get all declared attributes
      elem_input_data->get_static_attributes(
        importing
          static_attributes = stru_input_data ).
    if stru_input_data-name = 'praveen ' and
      stru_input_data-address = 'ilkal'.
    Navigate to view1
      wd_This->Fire_Outtov2_Plg(
    else.
    Navigate to View2
    wd_this->fire_<plugname>_plg(
      wd_This->Fire_Outtov2_Plg(
    endif.
    endmethod.
    Error:
    type if_first=>element_name is unknown  (why this error..?)
    Thanks
    Praveen
    Edited by: Praveen kumar Kadi on Sep 12, 2008 9:38 AM

  • SharePoint 2013 List View with query string filter stops working after editing view from browser

    I have created one list definition in which I have added one list view which will filter data from query string paramater
    So when I am creating list from my list definition, view with query string filter is working fine.
    But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
    Any suggestion what I am missing?
    Below is my list view schema
    <View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
    <Toolbar Type="Standard" />
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    <ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
    </ParameterBindings>
    <JSLink>hierarchytaskslist.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <JSLink>clienttemplates.js</JSLink>
    <RowLimit Paged="TRUE">100</RowLimit>
    <ViewFields>
    <FieldRef Name="Body"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
    <FieldRef Name="StartDate"></FieldRef>
    <FieldRef Name="DueDate"></FieldRef>
    </ViewFields>
    <ViewData>
    <FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
    <FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
    </ViewData>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
    <Value Type="Lookup">{TargetId}</Value>
    </Eq>
    </Where>
    </Query>
    </View>
    I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.

    Hi JayJT,
    The Miscellaneous is located in the contact list that you used for the connection.
    So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Filter master rows based on attributes in detail view.

    Hi,
    How do I set up VO's so that I can:
    1. filter master records based on attribute values in either the detail or master attribute values.
    and
    2. display each distinct master record with all its associated detail records.
    Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
    We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
    To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
    TIA, for ideas or guidance.

    Hi,
    How do I set up VO's so that I can:
    1. filter master records based on attribute values in either the detail or master attribute values.
    and
    2. display each distinct master record with all its associated detail records.
    Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
    We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
    To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
    TIA, for ideas or guidance.

  • OBIEE report based on same criteria but different view based on filter

    Hi,
    I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
    Suppose, I have a report criteria as
    Dim1, Dim2, Measure1, Measure 2.
    I want to create two pivot view based on the same data.
    One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
    Is it possible in OBIEE?
    basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
    Regards,
    Tanveer.

    Hi,
    You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
    give updates on this.
    Mark if Helpful/correct.
    Thanks.

  • SharePoint 2010 list view web part not showing conditional formatting

    when I create conditional formatting in custom list is working fine & when it call through web part page (Data view web part) conditional formatting not showing. data is showing without conditional formatting.
    Dinuka M.

    When you use conditional formatting on some page it is writing inline CSS codes inside that page. thats why when you create a new page and add the same web part to that page, you must edit that page to apply conditional formatting to that
    web part.
    Best Regards, Mustafa Yılmaz MCITP, MCPD | www.mustafa-yilmaz.org | www.sharepointciyiz.biz
    When you say edit the page, do you mean edit it in SharePoint Designer, or in SharePoint itself. And is it a case of just editing, then saving the page and it will apply the conditional formatting, or is there a specific property you need to edit, and if so,
    what is it?

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • List view - filter with parameters

    Hi,
    I need to define a list view to filter data with parameters.
    I saw how to do it with the SPD in another post
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92271aa4-6582-4ea5-a10f-deaf02d2b62c/filtering-the-list-view-by-passing-date-parameters-using-sharepoint-desginer-2010?forum=sharepointcustomizationprevious
    But  need to do it in visual Studio (via definitins or Object Model).
    How can I do that in Visual Studio?
    Help is really appreciated.
    Many thanks,
    DD

    Hi,
    According to your description, you might want to create a list definition with the filter value from query string from URL. Then when you create a list instance with this list
    definition, you will be able to filter the list view page by appending parameters to the URL in the address bar.
    You can achieve this through modifying the Schema.xml file in the list definition project in Visual Studio like this:
    How to create custom list definition
    http://msdn.microsoft.com/en-us/library/office/gg276355(v=office.14).aspx
    http://www.codeproject.com/Articles/412429/SharePoint-Create-List-Definition-and-Instanc
    CAML Query Schema
    http://msdn.microsoft.com/en-us/library/office/ms467521(v=office.15).aspx
    Then we can filter the list with such an URL:
    http://sp/Lists/List1/AllItems.aspx?Param1=2014-08-24&Param2=2014-08-28
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Decode Case statement to insert total text

    Where the AGE BRACKET fields are empty or Null I need to insert "Total" text? Can anybody help? Table SOURCE CODE     AGE BRACKET     COUNT CLUBBEN     0-40 Years     3      CLUBBEN     41-49 Years     6      CLUBBEN     50-59 Years     38      CLUBB

  • LOIROU - SOAP Message containing custom data

    Hello, on SAPMEINT integration we send data for LOIROU (Routing / Operations). When we track the SOAP message sent from MII to ME, it contains at the end 4 custom data values which do not need to be configured for the SAPMEINT.                     <s

  • New to Mac, How to backup my system?

    Hi, I was recently given a non-working G4 400 (PCI) PowerPC. Up until receiving this Mac I had never actually seen one in real life... PCs dominate over here in the UK. I'm a CompTIA A+ Certified PC Technician so have no problems working with hardwar

  • Workflow roles and the worklist

    All, I need to have users that are assigned to multiple roles. It would be really nice if the user could view their worklist by role. For example, we have one role for 'normal' work to do, and another role for 'errors/problems' items. I would like to

  • Concatenate multiple columns into one string

    Hello, I am using Oracle 11.2, how can I concatenate the value of multiple columns into one string with one SQL: create table testTb(classId number(5), classRoom varchar2(32)); insert into testTb value(101, 'room101'); insert into testTb value(101, '