Dynamicaly Filtering a list with a custom column

In my site pages library I added two columns.  A customer name column (Dell, Apple, HP, ...) and a page type column ( Client Page, Project Page).  If I were to go to a Dell client page I want to have a list of pages with the view of Dell pages
that are also a Project Page.     The problem that I am having is that I can not get the view to use the dynamic filter. 

You will have to create a list with URL for all pages and clients align to the page. Then use below cascading dropdown
http://spservices.codeplex.com/wikipage?title=%24%28%29.SPServices.SPCascadeDropdowns
http://spcascade.codeplex.com/

Similar Messages

  • I am trying to integrate my mailing list with a custom form to create an e ticket for my membership

    I am trying to integrate my mailing list with a custom form, in order to create an E ticket for my membership.
    Is there a way of doing this with the Adobe Custom Forms? Thank you NAK

    Integration of a mailing list is not a supported function of Formscentral. Additionally it might be difficult to authenticate and properly transmit e-tickets to your groups using Formscentral alone. For this type of transaction workflow I would suggest you look to our Livecycle product for a solution.
    Andrew

  • List with multiple custom content types - Show content type selection option in the list newform page

    In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
    type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?

    In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
    type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?

  • Cust DispForm.aspx with a custom column

    I am creating a Custom Display form for a list. My issue is that I have a custom column that I created.  It is a Linked picture.  My issue is this when the xslt form displays it is displaying the custom column as 2 links instead of the picture
    wrapped inside of a link.  I want to run jquery to grab the  results split them and reconstruct the field but I am having an issue writing the jquery.  I know it is suppose to be something similar to the following.  I believe the cdata
    is suppose to be wrapped inside an xsl tag but I am not sure and if it is what tag should it be wrapped inside of
        <script type="text/javascript" src="/</script">Documents/jquery-1.10.1.js"></script>  
    <script language="javascript" type="text/javascript">
           $(document).ready(function() 
                        <![CDATA[  var thisLink = $(this).attr("@Logo").split(",");
                          var out = "<a href=" + thisLink[0] + "><img src=" + thisLink[1] + " border=0 /></a>";
                          $("#DisplayIt").append(out); ]]>
          </script>
          <ul id="DisplayIt"/>

    I ended up getting it to work by doing the follow:
    <a>
            <xsl:attribute name="href">
                 <xsl:value-of select="substring-before(@Logo, ',')" />
            </xsl:attribute>
            <img>
                <xsl:attribute name="src">
                   <xsl:value-of select="substring-after(@Logo, ',')" />
                </xsl:attribute>
            </img>
    </a>

  • How to query the sharepoint list with using lookup column

    hi,
    I have requrement like below
     List A
    Title                         Postionid(Lookup)       PositionDescription
    [email protected]             1                              
    xxxx
    [email protected]             1                               
    xxx
    [email protected]           1                                
    xxx
    [email protected]                    2                               
    sss
    [email protected]             2                               
    www
    List B
    Title                         fistname  lastname age fathername
    [email protected]         x             x             10      y
    [email protected]         p            p               12      p
    [email protected]               q           q                12    
    y
     here in List A positionid is lookup column i have creating one visual web part i am querying the List A using  query string as Positionid in that web part .finally what i want is i need date from list B on basis of corresponding position id here
    List A Title and List B title are same i need each candidate info how can i do it
    Srinivas

    Hello,
    Still you have not told that whether Position id is there in listB or not. Anyway if Poistion id is not there in list B then you have to use Title column of listA to gete data from ListB. Look at sample code below. It will first get data from ListA,
    and use StringBuilder class to create dynamic CAML query because one Position id is having multiple values in listA.
    query.Query = "<Where><Eq><FieldRef Name='Postionid' /><Value Type='Lookup'>1</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    string strTitle = Convert.Tostring(item["Title"]);
    //since listA is having multiple values for Postionid so you have to build a dynamic query here to get data from listB
    //Refer link to build dynamic query
    SPQuery listB = new SPQuery ();
    query.Query = stringbuilder;
    SPListItemCollection ListBitems = listB.GetItems(query);
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2dfe5fd6-e556-4132-a35c-e9f240360307/issue-with-caml-query?forum=sharepointdevelopmentlegacy
    http://sharepoint.stackexchange.com/questions/69690/foreach-loop-inside-caml-query
    Above links will help you to create dynamic query (in your case you need to use multiple <OR> operator in listB.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to use a drop down list with a Timestamp column

    Hi,
    I have a table which has a column "updated date" of every row. This column is Timestamp.
    Now I want to filter the rows which are updated in the last one hour, last three hours, last 12 hours etc.
    The strings last one hour, last three hours etc can come from HR_LOOKUPS or anywhere else.
    I have to use query panel.
    Is it possible to achieve this?
    Thanks,
    Subhranshu

    ist not a good practice tho divya....the prob here is, u need to check for the condition for all the 50 states that u have hardcoded..
    if u dont mind taking that pain, u can check the condition using a scriplet..
    say..
    <% if (request.getParameter("sate").equals("TEXAS")
        %>
    <option selected >LA</option>
    <% } else { %>
    <option >LA</option>
    <% }%>regards
    [email protected]
    ps: i know a person named divya shashi..i was wondering, ar eu from south india by any chance?

  • Filtering a list with an XML dataset in Spry 1.6.1?

    I have a typical XML data file.  I know how to load it, create a dataset, and then a master-detail display.
    However, what I need to do is create form items that will FILTER the master set as the user clicks options.
    For example, if the list is countries of the world, and the default is to show them all, there could be checkboxes and/or select menus that allow the user to choose countries only in Asia, or only monarchies, etc.
    I can't find any examples of how to do this sort of thing.  Are there any?

    That's very helpful, thanks.  What I am stuck on now is I am trying to "parameterize" my filter function, so I can pass the string to filter by from the checkbox to une function instead of having a filter function for each.
    for example this works to find all items where the color is red:
    var myFF = function(dataSet, row, rowNumber)
              if (row["color"].search('red') != -1)
                        return row;
              return null;
    function ToggleFilter(enable, f)
              if (enable)
               ds1.addFilter(f, true);
              else
              ds1.removeFilter(f, true);
    <label>Red: <input name="red1" type="checkbox" value="" onclick="ToggleFilter(this.checked, myFF);" /></label>
    I would rather have the function be for ANY color, and specify the color on the checkbox, such as this:
    <label>Red: <input name="red2" type="checkbox" value="" onclick="ToggleFilter(this.checked, myFF, 'red');" /></label>
    So that I can easily have checkboxes 'red' 'green' etc.  However I must not be doing it right since if I modify the ToggleFilter function to expect the third parameter, and add the parameter to the ds1.addFilter(f, true) the whole thing fails.

  • Content Search Query Builder - filtering for custom column value

    I want to use a CSWP to display certain pages in a slideshow format on a site.  However, to filter them in a preferred manner, the pages library has a custom column "Spotlight" which is a Boolean type (e.g. yes/no).
    In my "Build Your Query" configuration page, I have added a keyword filter "SpotlightOWSBOOL=Yes" as the criteria to display my results.  This is not working, despite the fact that I currently have pages flagged as "Spotlight"
    in this library. 
    My question is - how can I achieve this result of displaying only pages with a custom column value "Spotlight" as "Yes"?

    Hi Owen,
    Could you capture a screenshot about your Crawled Property for your list column "Spotlight"?  Is it name "SpotlightOWSBOOL"?
    If your library column name is "Spotlight", you can create a custom
    Manged Property (e.g. create name as SpotlightMangedProperty)to map the
    Crawled Propery (e.g. may ows_spotlight, or ows_SpotlightOWSBOOL?) genegrated by list column "Spotlight", then start a full crawl.
    Then you can add the keyword filter like below in "Build Your Query" dialog of CSWP web part, then check if the correct items are filtered.
    SpotlightMangedProperty:"yes"
    If the above value "yes" doesn't work, please also try
    SpotlightMangedProperty:"True", or try SpotlightMangedProperty:1
    More information about this topic you can read is below.
    https://technet.microsoft.com/en-us/library/jj219667.aspx#proc2
    https://msdn.microsoft.com/en-us/library/office/ee558911.aspx#kql_property_restriction_queries
    Thanks
    Daniel Yang
    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]

  • Custom columns in task list

    Hello,
    I'd like to ask your help with a problem concerning the task list page.
    For each task I have some additional data stored in a remote database, I use the "task number" for the join. What I'd like to do is:
    - show these extra values in the task list in new, custom columns
    - give the user the ability to filter and sort by the new columns
    Could you give me some ideas to get me started? Should I dig deep into the "TaskList" servlet and somehow extend the column set and add the values to the tasks using JDBC? Is this goal achievable at all??
    Any help will be much appreciated,
    Denes Toth

    Hello again bnainani,
    I tried to define a flex field mapping and display it in the task list. Creating the mapping went fine, but I couldn't select the new column ("label") when creating a custom view to display the flex field data.
    The Developer's Guide sais "A mapped payload attribute can also be displayed as a column in a custom view, and used as a filter condition in both custom views and workflow rules.". But how van I achieve this? The flex field label is not displayed in the available columns dropdown when selecting the columns of the view.
    What am I missing?
    Once again, thanks for any help in advance...

  • Filtering one list based on a user registered in a related list

    Good afternoon, 
    I have a list with the customer data and one field is the contact person for the customer which is a person field related to a specific group.
    Then I have a list that contains the activity performed for different customers whit a lookup field that points to the customer table.
    I am trying to create a view on which if the user is a customer he/she can only see the list items for that specific company and if the user is from my company he/she can interact all customers data, is there a way to do that?
    In order to do it with the filtered view I need to have the field availabe but when I try to do that by looking at the available fields to display on the view, that specific field does not show.
    Thanks
    Agustín

    Hi,
    You can create a view and set the filter for the contact person field and set the value to [Me].  So whenever a contact person logged in, he can see only the customer data where he is the contact person.
    Hope this answers your query.  
    If you want to get the view on other conditions, then you need to create the view with the custom code using JSLink which a new feature in SharePoint 2013.  Using JSLink you can modify the look and feel of the view and even you can apply filters using
    JQuery/JavaScript.  The following link shows how to create custom views using JSLink.
    http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-5-creating-custom-list-views.html
    Part
    1 – Overview, URL Tokens and Applying JSLink to objects
    Part
    2 – Changing how individual fields display
    Part
    3 – Creating a custom editing interface
    Part
    4 – Validating user input
    http://www.sharepointnutsandbolts.com/2013/01/using-jslink-to-change-ui-of-sharepoint_20.html
    Please mark it answered, if your problem resolved or helpful.

  • No Image - Pull Down Menu List with Image

    HI.
    i am using Pull Down Menu List with Image (Custom 1). but when i run the application i can't see any image. below is the link to my application
    [http://apex.oracle.com/pls/otn/f?p=49167:1|http://apex.oracle.com/pls/otn/f?p=49167:1]
    Sagar

    Hello Sagar,
    If you change the template for the list to 'Pulldown menu with image' the images show up.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Can't Save Custom Columns in Effects Tab?

    In the now archived thread at
    <http://discussions.apple.com/thread.jspa?messageID=5264320&#5264320>
    Jerry Hoffman and D. Gilmore describe how to right-click on a column in the Browser (other than the Name column) and then choose the Save Column Layout option, which is exactly what I'm wanting to do. Weird thing though is when I try to do this for the custom column layout I've created under my Browser's Effects tab, that "Save Column Layout..." option is greyed out, along with most of the others as well.
    Under the Project tab, I can Save and Load column layouts to my heart's content, but under the Effects tab, the only options which AREN'T greyed out when I right-click on a column heading (any column heading) are Hide Column (at the top) and Show Thumbnail (at the bottom). The other five in between (including Save Column Layout) are inaccessible.
    Am using 6.0.2 with OS X 10.5.2. Any theories?
    Bonus Question:
    Is there any way to make a custom column layout in the Browser be part of a custom window arrangement, so that when I select one of my custom window arrangements FCP will load my preferred Browser column layout at the same time?
    Thanks,
    John Bertram
    Toronto

    Thanks to both Jerry and Doug for that confirmation -- albeit not the one I was hoping for!
    And though it may come as a surprise, I did indeed create a custom layout of the Effects tab columns: with my Browser window over on a separate monitor, I like to have the Name column set wider (so the full names of all my Nattress FX are visible), then the Description column first (also set wider so I can actually see what the description says), and then my own Comments column immediately following that.
    Despite the limited number of info columns in that Effects tab, it does seem odd that they would implement a Save Column Layout option in other Browser tabs, while then displaying it but not actually implementing it in this one tab.
    So along with making custom column layouts part of custom window arrangements, I guess it's time I sent in yet another Feature Request to the friendly folks at FCP Feedback.
    In any case, thanks again for the confirmation that at least my system wasn't doing something weird.
    jb

  • Assertion Failed editting list with taxonomy field

    I have lists with a taxonomy column in them. when editing the list, jsgrid looks to be throwing an assertion failed. Digging into the call stack, it is calling GetDisplayControl, the assert is "Sys.Debug.assert(displayControlName in displayControlsSingletonMap);
    Rolling back a bit, the order of calls on the call stack
    Sys$_Debug$fail
    Sys$_Debug$assert
    GetDisplayControl
    RegisterPropType
    RegisterNewCustomPropType
    SP_UI_Taxonomy_ControlRegistration$RegisterGridControls
    Init
    The displaycontrolName at the point of the assertion error is "" so it defininately isn't in displayControlsSingletonMap, which is why the assert is happening.
    Anyone have any solutions?

    Hi SP Yogi. No fix for it, no. I had opened a support ticket with Microsoft to deal with the issue, but we never could get together at the same time to work on it. I did provide complete log files to them, but that's as far as it went. My company then decided
    to go with SP2010 environment instead of SP2013, so became a moot point for us and I figured someone else would start screaming.
    If anyone else raises it with Microsoft, you could have them look at
    case # 113041510367364, which is the ticket I created for raising the issue. Might speed things along, help discount environment issues, etc.
    Good luck and please report back any progress!

  • On deleting an item "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list

       On deleting an item, "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list.
    Thanks, Chinnu

    Hi,
    According to your post, my understanding is that you want to update title field in recycle bin with other field value of the item.
    We can use the ItemDeleting Event Receiver to achieve it.
    While item is deleting, replace title field value with other field value using ItemDeleting event receiver, then in the recycle bin, the title value will replace with other field value.
    However, there is an issue while restore the item from the recycle bin, the item title would be replaced.
    As an workaround, we can create a helper field in the list to store the title field value while deleting, then replace back while restoring using
    ItemAdded Event Receiver.
    I have made a simple code demo below to achieve this scenario, it works like a charm(the
    Test2 field is the helper field, you can hide it in the list), you can refer to it.
    public override void ItemDeleting(SPItemEventProperties properties)
    properties.ListItem["Test2"]=properties.ListItem["Title"];
    properties.ListItem["Title"]=properties.ListItem["Test1"];
    properties.ListItem.Update();
    base.ItemDeleting(properties);
    /// <summary>
    /// An item was added.
    /// </summary>
    public override void ItemAdded(SPItemEventProperties properties)
    base.ItemAdded(properties);
    properties.ListItem["Title"] = properties.ListItem["Test2"];
    properties.ListItem.Update();
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to create and handle sharepoint custom list with more than 300 columns?

    Hi,
    I have requirement for our project where in the input form is having around 320 columns in it.below are the columns and data types.
    Single line of text-180
    Yes or No Radio button -95
    Date time control-35
    Checkbox-10
    I have checked the sharepoint boundry and limits for columns and data types.
    https://technet.microsoft.com/en-us/library/cc262787.aspx
    But how can we handle a sharepoint list with these many large number columns.
    Is it safe to create all columns in a single list?
    How it will impact the performance?
    What is the other approach acheive this requirement?
    Any help would be appreciated.
    Regards,
    Poovi

    Hi,
    According to your description, my understanding is that you want to know if it has some performance issue and limitation when create large number column in a list.
    When creating columns in the list , you can still create all 320 columns in the list. But when retrieve the items in a view, then there is a list view threshold limit which causes the performance issue, see the link below:
    Sharepoint list column limit
    To handling the large number columns, I suggest you can distinguish the column with business logic to create in different list, it will be clear to display the logic relationship.
    Thanks
    Best Regards,
    Jerry Guo
    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]

Maybe you are looking for

  • My bookmarks are gone. help! accidentally imported from IE after an update to my computer. how do i get my firefox bookmarks back?

    had an update to my computer this morning. when i opened firefox a pop up came up with the import bookmarks from internet explorer checked, i didnt notice that until i had hit ok. now all my firefox bookmarks are gone. how do i get them back? im on w

  • 'ken burns' poor quality interlacing jagged

    This post is to document issues with 'Ken Burns' rendering in Final Cut Express 4 and some workarounds and possible bugs in software I found. Similar posts about this issue: https://discussions.apple.com/message/5207261#5207261 When I import images i

  • Erase free space  in Disk  Utilities grayed out for SSD

    Is it normal that this function (erase free space) does not work for a SSD? It is grayed out on my iMac for SSD not for the 1 TB HDD. Now that I installed Lion and Trim is working (on  original Apple SSD) in my iMac I would like to erase free space.

  • Running Disk Cleanup: Windows 8

    Sometimes in troubleshooting it is a good idea to run the Disk Cleanup feature built into the Windows OS.  This is one of the advised steps to perform if one receives a Fatal Error when installing printers and is good to know how to do. The Printer S

  • Unable to install Kodak Gallery Upload Plug-in

    I tried to download the Kodak Gallery Upload Plug-in, and keep getting an error when it comes to selecting a destination to install. My choices are Macintosh HD or Bootcamp, but the error message that comes up says "You cannot install KODAK Gallery U