Showing updated items from two lists ?

Hi SharePoint Experts,
I have created two custom lists in top level site, For accomplishing my task, I have used DataView to show all items from the two lists order by modify. Of course, this DataView webpart showing data but which is not in proper way.
And also show status column from workflow which is actually from different groups.
Is dashboards  suitable to my task? Is dashboards capable to show data from two list ? also status column from workflow.
Appreciate if any suggestions..
Thank you.

Hi,
As you are using SharePoint 2013 you can use the Content search web part to display the data from multiple list.
Please refer to the similar post, which has detailed steps how to use the content search web part.
http://sharepoint.stackexchange.com/questions/112085/how-to-get-data-from-multiple-table-or-list-in-sharepoint-2013
If you still persists to use the Dataview web part, please refer to the following article.
http://sp2013.blogspot.de/2013/11/two-sharepoint-lists-in-dataview-linked.html
Please don't forget to mark it as answered, if your problem resolved or helpful.

Similar Messages

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • Ap Store shows update for DropCopy and lists it as installed yet it will no clear my updates page in my account.

    Ap Store shows update for DropCopy and lists it as installed yet it will not clear the updates page in my account. How do I clear this?

    I tried the debug mode in mac app store too >> Fail.
    The first time I feel disapointing from apple software.

  • Javascript help to copy selected items from one list to another list on same site

    Hello,
    So I have a request that I am not sure how to handle. I have created a page with a list view webpart that displays all the items from one list.
    The user is then supposed to select off multiple list items and click on a button (most likely a ribbon button) that will take the selected items and copy them to another list on the same SharePoint site.
    I would like to do this with JavaScript, but have only found an example that copies library items to another library.

    Hi KansaiKel,
    According to your description, my understanding is that you want to copy selected list items to another list.
    I suggest you can use JavaScript Client Object Model to achieve it.
    Here is a code snippet for your reference:
    <script type="text/javascript">
    var context = SP.ClientContext.get_current();
    var siteUrl = 'http://sp2013sps/sites/test';
    var clientContext = new SP.ClientContext(siteUrl);
    var web = context.get_web();
    context.load(web);
    var sourceId = SP.ListOperation.Selection.getSelectedList();
    var source = web.get_lists().getById(sourceId);
    var oList = context.get_web().get_lists().getByTitle('Copy');
    context.load(oList);
    var selectedItems = SP.ListOperation.Selection.getSelectedItems(context);
    alert('debut');
    for(var i in selectedItems)
    var currentItem = source.getItemById(selectedItems[i].id);
    context.load(currentItem);
    context.executeQueryAsync(Function.createDelegate(this,test),Function.createDelegate(this,error));
    function test(sender, args){
    var itemCreateInfo = new SP.ListItemCreationInformation();
    var oListItem = oList.addItem(itemCreateInfo);
    oListItem.set_item('Title', currentItem.get_item('Title'));
    oListItem.update();
    oList.update();
    alert('done');
    function error(sender, args){ alert('error');}""
    </script>
    Here is a detailed article for your reference:
    Complete basic operations using JavaScript library code in SharePoint
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • How to move items from one list to other

    hi all,
    in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
    Regards sangeet

    This link should help. Remove from one list and add to the other using Javascript.
    http://www.mredkj.com/tutorials/tutorial006.html

  • I accidentally deleted items from a list in reminders.  how can i retrieve them?

    i accidentally deleted items from a list in reminders.  how can i retreive them from icloud?

    From your backup.

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    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]

  • Problem while storing items from trailing list  to database

    hi all,
    can anyone help me out. i have scenario where i have to store items from trailing list into database. suppose if there are 3 items in the list, 3 rows should be inserted into database with all the remaining fields same like
    A ,1 , c
    A, 2, c
    A , 3, c where 1,2,3 are items from trailing list. Am iterating the loop.
    What am doing is before saving am checking for duplicates i.e are there any records with the same combination. If yes am doing nothing else am committing the changes..
    As am not doing anything if any duplicte record is present, the changes made to the fields persists and once if any commit happens all the values are getting saved. which is voilating my condition..
    Thanks

    Hello,
    Direct path load, can only be used with SQL*Loader and Database have the same version.
    Care to tell the database version and sql*loader version you are using.
    -Sri

  • Get Items from limited list by providing username and password - C#

    I'm using the code at the following link in order to get items from SharePoint list,
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.getitems.aspx
    I have a SharePoint list that limited to certain users.
    How can I provide by this code (or else) a username and password and log in as a different user who has access to this SharePoint list and get its items?
    Thanks!

    Sorry, previous post didn't see you were using client object model.
    Service.Credentials = (create new credentials passing username and password)
    ICredentials credentials = new NetworkCredential("Joe",SecurelyStoredPassword,"mydomain");
                math.Credentials = credentials
    Thanks!
    Actually, my full question already posted here:
    http:  //sharepoint.stackexchange.com/questions/84917/c-why-impersonation-is-expired-while-clientcontext-executequery-is-performe
    but I was unable to post it here as a new user (images, links, lenght ...) even the link above I was need to insert spaces after "http:" to be able to post it.
    Anyway, I don't know "client object model." am I using it?
    You mentioned "Service.Credentials", What do you mean "Service"?

  • Insert items from two different Multiple Select Lists into a single table

    I need help. I have a training tracking system that tracks the courses taken by employees.
    I have created two multiple select lists, one is SelectEmployees and the other is SelectCourses. I want to insert
    the selected item from those two multiple select lists into Training_Record table.
    Note, SelectEmployees" is from Employee table and SelectCourses is from Courses table. Those two table has no intersetion.
    Train_Record is the table that joins those two together.
    Please advice and your help is appreciate.

    Thank you for your help.
    I tried your code and changed the table/field name to my actual table/field name and the iitem name to actual item name.
    declare
    cursor c_Employees is
    select PERSONNEL_NEW.EMPLOYEEID from PERSONNEL_NEW where PERSONNEL_NEW.EMPLOYEEID in (:P15_SELECTEDEMP);
    cursor c_Courses is
    select COURSES.COURSE_ID from COURSES where COURSES.COURSE_ID in
    (:P15_SELECTEDCOUR);
    begin
    foreach :=r_employee in c_Employees loop
    foreach :=r_course in c_Courses loop
    insert
    into COPYOFTRAINREC ( EMPLOYEEID, COURSEID )
    values ( r_employee.EMPLOYEEID, r_course.COURSE_ID );
    end loop;
    end loop;
    end;
    I got error message as :
    ORA-06550: line 12, column 25: PLS-00103: Encountered the symbol "C_EMPLOYEES" when expecting one of the following: (
    Error
    OK

  • How do i remove items from purchased list in iTunes store?

    The Purchased items in iTunes show everything i ever downloaded to my iPod.
    How can i remove some of the items?
    The list is way too long.
    So items were downloaded to see what they do.

    yeah... same question from my side.....

  • Infopath Drop Down List not showing all items in a list

    I have an Infopath form where I have a vendor drop down and then I filter the product list based on the vendor. The problem is the drop down list is only filtering through the first 100 records. I added a second drop down with the model#'s and no filter and there is only 100 values showing. I checked the All Items view and it is set to display all records. Does anyone know how to fix this?

    Hi all,
    If I want a drop down list in InfoPath (data coming from a SharePoint list) to be in a particular order I query the SharePoint list via this method
    http://blogs.msdn.com/infopath/archive/2007/01/15/populating-form-data-from-sharepoint-list-views.aspx
    You can create a data connection to a particular view in SharePoint - make sure that view is sorted how you want it to be and the item limit is set to 9999.
    You do not need code for this method and it works in browser enabled forms.
    The people picker (which also works in browser enabled forms) http://metahat.blogspot.com/2007/05/people-picker-control-for-infopath-2007.html can help with those of you trying to get a list of users.
    Cheers.

  • How to remove an item from a list box?

    Here's my previous code.
    I hope someone can help me. Thanks.
    public partial class frmJaialai : Form
    List<Jaialai> source;
    public frmJaialai()
    InitializeComponent();
    private void frmJaialai_Load(object sender, EventArgs e)
    source = new List<Jaialai>();
    private void btnAdd_Click(object sender, EventArgs e)
    if (IsValidData())
    int bet;
    if (string.IsNullOrEmpty(txtJaialaiNumber.Text) || !Int32.TryParse(txtBet.Text, out bet))
    MessageBox.Show("Must be a required field.", "Entry Error");
    return;
    var existingProduct = source.Where(x => x.JaialaiNumber == txtJaialaiNumber.Text).SingleOrDefault();
    if (existingProduct != null)
    existingProduct.Bet += bet;
    else
    source.Add(new Jaialai { Bet = bet, JaialaiNumber = txtJaialaiNumber.Text });
    lstJaialaiNumbersList.DataSource = null;
    lstJaialaiNumbersList.DataSource = source;
    txtJaialaiNumber.Text = "";
    // save the jai-alai numbers list on a txt file
    const string sPath = @"C:\Automated Jai-alai Program\Jai-alai Numbers List.txt";
    System.IO.StreamWriter SaveFile = new System.IO.StreamWriter(sPath);
    foreach (var item in lstJaialaiNumbersList.Items)
    SaveFile.WriteLine(item);
    SaveFile.Close();
    public class Jaialai
    public string JaialaiNumber { get; set; }
    public int Bet { get; set; }
    public override string ToString()
    return string.Format("{0} = {1}",
    JaialaiNumber, "₱" + Bet.ToString());
    private bool IsValidData()
    return Validator.IsPresent(txtJaialaiNumber) &&
    Validator.IsPresent(txtBet) &&
    Validator.IsInt32(txtBet);

    Hi ,
    Here is a sample about remove Item from listBox.
    // listBox1.Items.Clear();// remove all
    int SelItemCount = listBox1.SelectedItems.Count;
    for (int i = 0; i < SelItemCount; i++)
    listBox1.Items.Remove(listBox1.SelectedItem);//remove which one you selected
    You also can check in MSDN
    https://msdn.microsoft.com/en-us/library/aa983551(v=vs.71).aspx
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Enabling a reports region when a item from a list is picked up.

    Hello,
    Can you help me with this ..
    I have 2 regions on the page 1. will have a select list .. when an item is picked from the list i want to automatically enable the region with report displaying the database records that matches the select pattern
    Thanks in Advance
    -Vasu

    Hi Vasu,
    This depends on what you mean by "matches the select pattern".
    Do you mean that the select list is, effectively, a filter - the user picks one of two reports from the select list and it is then displayed?
    If so, you should have a Select List with Submit. The select list item and its values would then be used as the Conditional Display settings for both reports.
    Regards
    Andy

  • Reading items from a list view in SharePoint 2013

    I am trying to read items from a Calendar, and have created a view that contains all the items/events that I would like to retrieve to package in a CSV file, specifically the Title, Description, and the Start and End Dates.
    The problem with some events is that they are recurring, and rather than use CAML to expand the events and try to query it that way, I thought it would be more elegant to just get the events from the view, and package them with a simpler query.
    The problem I am running in to is that I can reference the entire list and package the data, or I can reference the list and get all the data in a specific date range, which does not include the recurring events, but I cannot simply read the data from the
    view.
    Any pointers would be greatly appreciated. Also, can you recommend any complete-ish texts on PowerShell with SharePoint?

    Hi,
    Based on my understanding, as there is no straight way of using CAML to query all the events(specially for instances of recurring events) by a list view, I would suggest
    you separately query the instances of recurring events needed.
    A code demo(though in C#) about
    how to query events(include recurring events) from Calendar list in this thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/99c3ded6-a8cb-4509-9a74-e93e445d78c7/how-does-calender-list-daterangesoverlap-todaymonthyear-and-week-exactly-work?forum=sharepointdevelopmentprevious
    About
    how to export to CSV file:
    http://www.codeproject.com/Articles/667269/Export-To-CSV-file
    http://www.codeproject.com/Articles/685310/Simple-and-fast-CSV-library-in-Csharp
    How to export to CSV file using PowerShell:
    http://shaiknb.wordpress.com/2013/05/27/powershell-sharepoint-export-list-items-via-view-to-csv/
    http://meandmysharepoint.blogspot.com/2012/08/export-sharepoint-list-data-into-csv.html
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • HTTPS connection from portal to external webserver

    Hi, I am looking for a way to open a HTTPS connection from portal server to an external webserver. According to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/71c83edf72e16be10000000a114084/content.htm">SAP</a> the code should look like Key

  • Can you run two Ipods, one older, one newer, on the same version of Itunes?

    I have a second generation Ipod Shuffle, and I have a fourth generation 40gb Ipod. When I installed the Shuffle, I had to upgrade my Itunes. Now it won't recognize my older Ipod at all. I plug it in, and it doesn't do anything. The shuffle works fine

  • Please Help My Daughter - iBook G4 Needs Software Upgrade ??

    I have recently inherited an iBook G4 1.2 GHZ 256 RAM I think 30 or 50 GB.  I cannot tell now because of what I did.  The iBook was not working and I found it had a bad solder on one of the chips (a common issue on this model).  Once repaired, it nee

  • Accruals - Peoplesoft Billing 9.0- Load bills externally

    Can anyone please explain the delivered accrual functionality in PS Billing. I have a question in specific. For ex: I have a quarterly client for whom we need to accrue the bills and invoice at the quarter end. We load bills externally using a excel

  • Dynamically Identifying user issuing SQL statement

    Client wants to provide security to certain data by first capturing the identity of every user issuing a SQL statement, then, based on the user and a security table, allow access to certain data. Is this doable? TIA...