How to Filter a DVWP for other list items with same name?

I have 2 lists, Clients & Engagements.
The Engagements list has a lookup field to the Clients list (to the Title).
The Engagements list often has more than on listing (job) for the same client at one time. I am trying to create a DisplayForm on the Engagements list that will also include a DVWP that will list all other items in the Engagements list that have
the same Client Name ([Title]).
I tried to use a parameter but not sure which one or if that is correct way? I have looked at the Query String but don't see anything in there to relate the other items together.
The other option is I could use a Workflow to copy the [ID] column from the Clients list into a [ClientsID] column in the Engagement list but I figure there is an easier way since I already have a lookup column linking the two lists.
Any help or direction would be appreciated.
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

Sudip, this is probably me not understanding the correct terminology for each type of webpart it seems in my reading I have either not understood the reference or the writer had them mixed up.
Just to clarify I am using SharePoint Foundation 2010.
I have attached a few screenshots so you can see what I am referring to, so we can avoid any confusion or misused terminology. I created a new test site and 2 new lists so I don't have to block out client data.I have created 2 lists Clients & Jobs. The
jobs has a lookup to the Clients list. I have been trying to create 1 new display form on each list.
***Jobs**
I want to open the DispForm for the job but also at the bottom of the display list all other jobs with the same client name. (seems straight forward)
I have inserted a DVWP for the Jobs list and when I try to use a connection the filter list has blank columns for both lists.
While focused on the upper display form section, I use the "Add Connection"  button and select
"Send Row of Data To",
Webpart on this page
Target webpart=Jobs(1), Target Action=Get Filter Values From
And the columns are blank and can not be changed or selected
If I start over, still focused on the top Display webpart and select but select Get Filter Value from the columns are then active but obviously this is backwards from what I am trying to do.
If I try to follow the Get Filter values from while selecting the bottom DVWP that was inserted, again the columns come up blank.
I have used connections successfully on different pages and even on this page but not in the fashion I am attempting now.
This is why I thought I could/should be using/passing a value in the query string then use filtering. I have used the ID in the query string previously but that will not work in this scenario.
I also considering a similar DispForm from the Clients list showing all Jobs for the open client but have the same issue. This would likely be a more appropriate view but I am interested in seeing if both can be done.
Honestly my gut is saying filtering and query strings is how I should be doing this but again I am no expert. That's where I started a few weeks ago but despite the numerous guides I have found to do this I still can't get it to work. There is either
missing instructions or skipped steps or it was done in a different version of SPD and I can not find the tab, feature, etc anywhere even after googling and reading.
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

Similar Messages

  • How to make a tooltip for incoming list items

    Hi,
    I am trying to make a tooltip with JQuery for incoming list items. People will enter some text in a textfield en those values will be added to a list. I want to make a tooltip for every list item that will be added to the list. I want the text that people fill in in the textfield to be added in the tooltip, is this possible? And how can I do this? Thanks! This is what I have so far..
    <input type="text" id="input" placeholder="Voer item in" /> <button id="button">Toevoegen</button>
    <div id="tooltip"></div>
    $(document).ready(function(e) {
      $('#button').on('click', function (){
      var toevoegen = $('#input').val();
      var verwijderen = '<a href = "#" class = "verwijderen">Verwijderen</a>'
      <!--add list item-->
      $('#boodschappenlijst').prepend('<li>' + toevoegen + '' + '\t' + verwijderen + '</li>');
    <!--remove list item-->
    $('#boodschappenlijst').on('click', '.verwijderen', function(){
      $(this).parent('li').remove();
    <!-textfield empty-->
    $('#input').on('click', function (){
      $(this).val('')
    $('#boodschappenlijst').hover(
    function (){
      $('#tooltip').css('display', 'block')
    function (){
      $('#tooltip').css('display', 'none')
    #tooltip {
      position: absolute;
      top: 100px;
      right: 300px;
      border: 1px solid #000000;
      border-radius: 5px;
      color: black;
      width: 100px;
      display: none;
    The tooltip appears, but I want the text that people fill in in the textfield to be added in the tooltip

    Hi,
    I am trying to make a tooltip with JQuery for incoming list items. People will enter some text in a textfield en those values will be added to a list. I want to make a tooltip for every list item that will be added to the list. I want the text that people fill in in the textfield to be added in the tooltip, is this possible? And how can I do this? Thanks! This is what I have so far..
    <input type="text" id="input" placeholder="Voer item in" /> <button id="button">Toevoegen</button>
    <div id="tooltip"></div>
    $(document).ready(function(e) {
      $('#button').on('click', function (){
      var toevoegen = $('#input').val();
      var verwijderen = '<a href = "#" class = "verwijderen">Verwijderen</a>'
      <!--add list item-->
      $('#boodschappenlijst').prepend('<li>' + toevoegen + '' + '\t' + verwijderen + '</li>');
    <!--remove list item-->
    $('#boodschappenlijst').on('click', '.verwijderen', function(){
      $(this).parent('li').remove();
    <!-textfield empty-->
    $('#input').on('click', function (){
      $(this).val('')
    $('#boodschappenlijst').hover(
    function (){
      $('#tooltip').css('display', 'block')
    function (){
      $('#tooltip').css('display', 'none')
    #tooltip {
      position: absolute;
      top: 100px;
      right: 300px;
      border: 1px solid #000000;
      border-radius: 5px;
      color: black;
      width: 100px;
      display: none;
    The tooltip appears, but I want the text that people fill in in the textfield to be added in the tooltip

  • How to make a single payment for different open  items with same due date

    Hi,
    I have created a payment method  and selected "Payment per due day " option in payment method company code settings.
    Even I have selected that option, Payment will not happen grouping for the items with same due date
    for ex : I have two open items with one due date and another open item with another due date so when I am trying performing F110 system should make a single payment for the item with same due date and seperate payment for another item.
    But system making single payment for all items
    Could you please suggest anything how to make a seperate payment with due date.
    Regards
    VK GUPTA

    Hi,
    Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
    Make a test and let me know if it's okay.
    regards

  • How to write json body for multiple list items to write in a list.

    Hi,
    I am trying to create list items using REST API, and I am reading the data from Sales force and writing it to the list. For wring sigle item its working fine, but if i am trying to insert multiple data to the list using rest API I am getting bad server requesrt
    status code as 400.
     HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(args[0] + "/_api/web/lists/GetByTitle('Contacts')/items");
                request.Method = "POST";
                request.Accept = "application/json;odata=verbose";
                request.ContentType = "application/json;odata=verbose";
                request.Headers.Add("X-RequestDigest: " + requestDigest);
                request.Headers.Add("Cookie: " + cookies);
                string body = "{ '__metadata': { 'type': 'SP.Data.ContactsListItem' }, 'Title': 'Ravish', 'FirstName': 'Verma'}";
                byte[] buf = Encoding.UTF8.GetBytes(body); 
                request.ContentLength = buf.Length;
                request.GetRequestStream().Write(buf, 0, buf.Length);
                var response = (HttpWebResponse)request.GetResponse();
    In the above code highlighted, line of code works fine, for single item, but if I am giving string values as 
                string body = "{ '__metadata': { 'type': 'SP.Data.ContactsListItem' }, [{'Title': 'Ravish', 'FirstName': 'Verma'},{'Title': 'Verma', 'FirstName': 'Ravish'}]}";
                string body = "{ '__metadata': { 'type': 'SP.Data.ContactsListItem' }, [{'Title': 'Amireddy', 'FirstName': 'Kishore'},{'Title': 'Amireddy', 'FirstName': 'Kishore'}]}";
                string test = "{ '__metadata': { 'type': 'SP.Data.ContactsListItem' }, 'Title': 'Amireddy', 'FirstName': 'Kishore'}";
                string body = "{ '__metadata': { 'type': 'SP.Data.ContactsListItem' }, 'Title': 'Ravish', 'FirstName': 'Verma'}";
    All the above format give bad server request.
    if any one has the idea to send multiple items in the request body, please provide me the sample code.
    Thanks in Advance.

    The SharePoint 2013 REST API does not support "batch" or multiple inserts in one call at this time.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to get the second element in XML Response with same name

    Hi All,
    I am struck at this point, I have written a sample HTTP client which sends a request to the HTTP Server. In response to the request made the HTTP Server gives response in the XML format. eg: -
    <?xml version="1.0"?>
    <parent>
    <node1> Value1 </node1>
    <node1> Value2 </node1>
    <node2> Value3 </node2>
    </parent>
    In the HTTP Client I am getting the value of node1 using the following statement: -
    if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    String node1 = node.getStringValue();
    System.out.println("Product Code:"+node1);
    This is always returning the first node1 value i.e. <node1> Value1 </node1>.
    The requirement is, I also need to get the <node1> Value2 </node1> value also. So can anyone tell me hw can I get the <node1> Value2 </node1> value. please tell me the piece of code that I should add to get the <node1> Value2 </node1>.
    My Mode is something like this: -
    try
                   Document document = (Document)DocumentHelper.parseText(response);
                   List<Node> transactionNodeList = document.selectNodes( "//parent" );
                   for(Node singleNode:transactionNodeList)
                        for(int i=0,j=0;i< ((Element)singleNode).nodeCount();i++ )
                             Node node = ((Element)singleNode).node(i);
                             if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    node1= node.getStringValue();
    System.out.println("Air Way Bill Number:"+node1);
    if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    node1= node.getStringValue();
    System.out.println("Product Code:"+node1);
    Thanks in Advance

    DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder db=factory.newDocumentBuilder();
         Document doc=db.parse(new File(ur xml file"));
         Element root=doc.getDocumentElement();
         System.out.println("root "+root.getNodeName());

  • How to filter results from 4 dynamic list menus depandant on how many of them are selected

    I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?  

    Hey there,
    Thanks for replying,
    I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
    Any suggestions?  
    SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
    FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
    WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR  (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR  ( location=varloc AND type=vartype AND beds=varbed) OR  (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
    ORDER BY detailstable.trueprice ASC
    Look forward to receiving your thoughts,
    Linda
    Date: Wed, 21 Oct 2009 14:36:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
    Hiya,
    I'm just doing my first dynamic site too, and am at a similar level to yourself.
    Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
    For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
    Let me know how you're going on anyway
    Cheers
    Andy
    >

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • How to implement tooltip for the list items for the particular column in sharepoint 2013

    Hi,
    I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
    Any help will be appreciated

    We can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
    http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
    http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
    http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/

  • How to determine pricing procedure for invoice list

    Hi ,
    Could you pl let me know "How to determine pricing procedure for invoice list"
    All other things are available i.e.
    Create Condition Tables
    Maintain access sequences
    Maintain pricing procedures
    Define condition types
    Basically how the pricing procedure will be assigned for the Invoice list.
    br
    pinky

    Hi Pinky,
    Create a billing doc type by coping std.(ZF1)
    Assign invoice list to billing type Zf1
    Now maintain a document pricing procedure (for Eg: Z )
    Assign this to billing type in pricing control - document pricing procedure.
    Now maintain the pricing procedure determination as per the sales area /doc pp/cust pp.
    Also in copy control in VTFL maintain pricing type as " B".
    REgards,
    Krishna O

  • How do I save my numbers files as an xls for others to view with Mavericks

    After upgrading to OS Mavericks, I cannot save my files as an xls for others to view that have a pc. How do I do this for others to read?

    in Numbers, under the File menus select Export > Excel.

  • How to create list items with multiple attachment files using rest api javascript

    In one of user form I am using javascript rest api to create a list item with multiple attachment files. So far I am able to create list item and once created uploading an attachment file. But this is two step process first create an item and then upload
    a file.
    It create an additional version of the item which is not desired. Also I am not able find a way to attach multiple files in a go. Following is the code I am using.
    createitem.executeAsync({
                    url: "/_api/web/lists/GetByTitle('UserForm')/items(1)/AttachmentFiles/add(FileName='" + aFile.name + "')",
                    method: "POST",
                    contentType: "application/json;odata=verbose",
                    headers: {
                        "Accept": "application/json;odata=verbose",
                        "X-RequestDigest": $("#__REQUESTDIGEST").val()
                    binaryStringRequestBody: true,
                    body: fileContent,
                    success: fnsuccess,
                    error: fnerror
    So somehow I need to combine item attributes along with attachment files in body: param. I visited https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListItem but no success.
    Appreciate any help.

    Thanks Mahesh for the reply and post you share it was useful.
    But this does not solve the core of the issue. You are uploading attachments after creation of item and multiple files are being attached in loop. This is kind of iterative update to an existing item with attachments. This will end up creating multiple versions. 
    What I am trying to achieve is to create an item along with multiple attachments in a go. No item updates further to attach a file.
    Please suggest how this can be done in one go. SharePoint does it when one creates an item with multiple attachment.
    Thanks for your reply.

  • SharePoint Designer 2013 (2010 Platform Workflow) - How can I create a new list item with a SPECIFIC content type?

    In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library). 
    We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform.  Is there any way to create a list item with specific content
    type?  Even if I could just input a string into that field instead of using this blank drop-down.  Please help! 

    Hi Sarah,
    According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
    I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
    How did you create the content type?
    Please check if the content type is added to the list/library the workflow associated with.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Open references of other list items from a list item in the same window or tab

    Hi there,
    We have migrated from lotus notes to sharepoint. We have converted the lotus notes forms to sharepoint forms. Basically the list items are pages and there are links of other pages in a page.
    My problem is I want to open the other pages in the same tab or window and not in a separate window.(currently the links open in a separate window which is not the requirement.)
    In terms of sharepoint I would say,
    I have references(links)  to other list items of the list in a single list item. I want to open the other list items in the same window (tab).
    How can we achieve this?? If possible without much codes??
    Please suggest.
    Any help will be highly appreciated.
    Thanks in advance

    See:
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    For links opened via JavaScript you can look at this pref:
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • How to display the count of a list item in Sharepoint Designer?

    How to display the count of a list item in Sharepoint Designer? please reply with the proper code line to add for this.

    Hello,
    What version of sharepoint you are using? Try below approach:
    http://sharepointlogics.com/2010/03/total-count-of-items-in-list-in.html
    Hope it could help
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer
    Please feel free to unmark answer if does not resolves your problem.

Maybe you are looking for

  • Converting 110v to 220v

    I am taking my 2605DN laserjet to Singapore from US. However, I can not find the voltage switch on the printer. Can any one help me figure out an easy way to convert the voltage (instead of buy the voltage transformer). Thank you, James

  • My Ipod wont connect with Itunes or my computer

    My Ipod touch is charging through my computer, but it's not being seen by Itunes, or by my device manager on my computer itself. I've tried the troubleshooting suggestions mentioned here... but maybe I missed one... can anyone help?

  • Some systems doesn't show up in the all systems. why?

    Hi We had a SCCM 2007 sp2 environment before. then we changed the server and installed a fresh SCCM2012. We use active directory client deployment method. even i tried installing the client from the exe file of ccmsetup.exe until now 120 systems clie

  • How do I disable Plugin Check?

    How do I disable this new "feature?" * It opens up a new tab on startup that I don't want. * The check doesn't even work half the time. * Most of the plugins it finds are "unknown" (despite the fact that I know where every one of them came from!) * I

  • Can't download Photos with HP Photosmart essential 3.0

    I recently downloaded Firefox and am now unable to download Photo's to HP Photosmart essential 3.0 from my Digital Camera, a Canon "Power Shot A 2000 IS". Never had an issue with I. ex.