Display Announcements List from one Site Colleciton in another

Hi there,
I have an announcments list in one site collection - say
http://intranet/sites/hr that I would like displayed as a webpart on the home page of another site collection - say
http://intranet (the root site).
I've found some great articles on how to do this between sites within a site collection but hoping for some good instructions on how to do this between site collections.
Thanks

Okay - I found this article and it worked perfectly for me -
http://www.balestra.be/2012/04/want-to-display-a-sharepoint-list-from-another-site-collection-use-these-2-lines-of-jquery-script.html
In a CEWP - added the link to a text file in my "Style Library" folder
<div id="ListPlaceholder"><img src="/_layouts/images/GEARS_AN.GIF" alt="" /></div>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
// add the link to the view of the list you want to show:
var ShowWP = "http://mydomain/sites/EntApps/sp/Lists/General%20Announcements/Approved%20Unexpired%20Items.aspx";
$("#ListPlaceholder").load(ShowWP +" #WebPartWPQ2 .ms-listviewtable",function() {
$("#ListPlaceholder *").removeAttr("id onclick onfocus onmouseover");
</script>

Similar Messages

  • How do I copy a list from one site to another that has a column that appends changes to existing text?

    I want to move a list from one SharePoint site to another, within the same collection. I have created a template and included the content but the column that is selected to append changes to existing text, has not copied in all cases, although it has for
    some items.
    I have a limited knowledge so won't be able to implement any solutions that require the use of code.

    Hi,
    According to your post, my understanding is that you wanted to copy a list from one site to another that has a column that appends changes to existing text.
    I recommend to use the custom workflow activity  Copy List Item Extended Activityto
    copy list items and files cross site.
    You can do this with codeless SharePoint Designer workflows as long as you can install the
    Codeplex Custom SharePoint Designer Workflow Activities. 
    These activities are also built-in to SPD2010.
    To install the custom activities, please follow the steps as below:
    Download the solution file form
    Useful Sharepoint Designer Custom Workflow Activities
    Copy the wps file to the Disk C.
    Open the SharePoint 2010 Management Shell.
    Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
    Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
    Open the SharePoint designer, add action from Custom Actions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Managed Metadata values scrambled when copying or moving documents from one Site collection to another.

    Hi
    What works: Copy or move a document library containing one or more MM columns *within* a Site Collection = all column managed metadata replicated accurately.
    What doesn't work: Copy or move a document library containing one or more MM columns *from one Site Collection to another* within the same Webapp. The issue is that some but not all MM values are totally wrong. By totally wrong I mean that the incorrect
    terms are associated with a TermSet that is not even referenced in this DL!
    Same result for all method's tried:
    1) Save the DL as a template (no contents) and then copy or move the documents in
    2) Programmatically do the copy
    3) Export the list via CA and then reimporting it using Pshell
    This thread is very similar but his workaround has not helped in this instance:
    https://social.msdn.microsoft.com/Forums/office/en-US/6aca7b7c-97cb-4f1f-99f1-5e1fa0b1e3ed/content-type-hub-custom-library-template-managed-metadata-lostscrambled-when-moving-files?forum=sharepointdevelopment#65b52342-408f-47b4-a9f8-5d0b952acc12
    Has anyone else experienced this and found the cause/solution? Or can anyone do this without the issues that I have described?
    Thanks

    Hi Nuno,
    I've got to the root of the issue but in answer to your question first: The MM column is attached to a Global Content Type - there is nothing local.
    The fact that some are ok and others are not led me down the route of checking the columns at item level. Scripting this did not help - all rows returned are what I would expect. ie The same MMColName with the expected value (as appearing
    on the source DL).
    On checking SharePoint manager however I have found what looks to be causing the issue.
    When checking the properties (ie SiteCollection/Lists/<ListName>/items/<itemName>/Properties) of the 'good' documents against the 'bad' documents I find the following:
    Good Docs: The MMColName is displayed as expected at the item level
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Partnership Type
    Partnership_x0020_Type
    Partnership Type
    Y
    Bad Docs: The MMColName is NOT displayed as expected at the item level. Instead the internal name is displayed:
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Register Type
    Type_x0020_of_x0020_Licence
    Type_x0020_of_x0020_Licence
    N
    Meeting Type
    Meeting_x0020_Type
    Meeting Type & Meeting_x0020_Type (Both columns are listed)
    N
    I should add that each of these 3 examples are taken from 3 different DL's - hence the different Fields
    So this looks to be a case of corruption - and unless we can think of any other outcome we will have to look to rebuild the DL - while trying to maintain the metadata!

  • How do you transfer your play lists from one hard drive to another on the same computer?

    I had itunes running on my old computer.
    The mother board gave up.
    Got another computer and put the good drive from the old computer into the newer one as a slave.
    I have itunes all set up but can't figure out were to get my play lists and cover art to get them to the new drive/program.
    Bob

    Hold shift when you launch iTunes. It will let you chose a library. Chose the one one the slave drive from your old computer and it will look just like it did when you last used it on the old one.
    It will be located in your User folder under My Music\iTunes

  • Copy General Task List from one service order to another one

    Dear Guru,
    I have the following questions:
    1- From a service order in IW32, how can I see the link between the operations and components?
    2- I want to be able to copy all the operations and all the components contained in a service order into another service order for a similar type of equipment. Can someone help me step by step on what needs doing?
    KR
    Christian

    Hello Sebastian,
    Many thanks for your quick reply indeed on this.
    Now this is the catch: I know that I could create a new service order based on a previously created one using IW31, however in my department they are creating sales orders for equipments in the normal SAP SD flow.
    In one the material line they enter a service material which is converted into a ZC03 (Service order) when saving the normal sales order which creates automatically a Service Order number.
    Because they create a lot of those service order in that way, they want to be able to populate them with the same list of operations and relevant components all the time.
    If they would be using IW31 to make copies, they would have to cancel the previously generated service order deriving from the regular Sales Order in SD which we want to avoid simply because it alters the original sales document flow.
    Question:
    1- I tried to copy the description of the task lists present in my service order thinking that would also copy the list of relevant and subsequent components defined for each task. The system has only copied the description of the tasks but not the components.
    Is there a way we could copy a list of general tasks to automatically have those coming with the relevant components?
    Please advise
    KR
    Christian

  • Sharepoint client object model - Pull files from one site and move to another

    Dear All,
    I am using client object model to retrieve files of certain criteria using caml query and copy them to some other site using 
    client object model. There is no exception being thrown, but the application is not performing either. No files are being copied to destination. Here is the code. Please advise.
    The message box that I have kept at the end is being displayed, but no files are being copied.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Net;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Microsoft.SharePoint;
    using SP = Microsoft.SharePoint.Client;
    namespace WindowsFormsApplication2
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
            private void button1_Click(object sender, EventArgs e)
                SP.ClientContext srcContext = new SP.ClientContext(textBox1.Text);
                srcContext.Credentials = new NetworkCredential(textBox3.Text, textBox4.Text, textBox5.Text);
                SP.ClientContext destContext = new SP.ClientContext(textBox2.Text);
                destContext.Credentials = new NetworkCredential(textBox3.Text, textBox4.Text, textBox5.Text);
                SP.CamlQuery camlQuery = new SP.CamlQuery();
                camlQuery.ViewXml = "<View Scope='RecursiveAll'><Query><Where><And><Geq><FieldRef Name='Created' /><Value IncludeTimeValue='TRUE' Type='DateTime'>2013-01-01T04:16:20Z</Value></Geq><And><Lt><FieldRef
    Name='Created' /><Value IncludeTimeValue='TRUE' Type='DateTime'>2013-12-31T04:16:43Z</Value></Lt><Or><Eq><FieldRef Name='Document_x0020_Classification' /><Value Type='Choice'></Value></Eq><Eq><FieldRef
    Name='Document_x0020_Classification' /><Value Type='Choice'>Case Studies</Value></Eq></Or></And></And></Where></Query></View>";
                SP.Web oWebsite = srcContext.Web;
                srcContext.Load(oWebsite, website => website.Webs);
                srcContext.ExecuteQuery();
                SP.Web dWebsite = destContext.Web;
                destContext.Load(dWebsite);
                destContext.ExecuteQuery();
                foreach (SP.Web web in oWebsite.Webs)
                    MessageBox.Show(web.Title);
                    foreach (SP.List list in web.Lists)
                        if (list.BaseType.ToString() == "DocumentLibrary")
                            MessageBox.Show(list.Title);
                            SP.ListItemCollection collListItem = list.GetItems(camlQuery);
                            srcContext.Load(collListItem);
                            srcContext.ExecuteQuery();
                            foreach (var doc in collListItem)
                                        SP.File f = doc.File;
                                        srcContext.Load(f);
                                        srcContext.ExecuteQuery();
                                        string destLibrary = "shared Documents";
                                        string nLocation = dWebsite.ServerRelativeUrl.TrimEnd('/') + "/" + destLibrary.Replace(" ", "")
    + "/" + f.Name;
                                        SP.FileInformation fileInfo = SP.File.OpenBinaryDirect(srcContext, f.ServerRelativeUrl);
                                        SP.File.SaveBinaryDirect(destContext, nLocation, fileInfo.Stream, true);
                MessageBox.Show("Completed");
    sk.Rakhishma

    Hi,
    To copy files from one site collection to another site collection, the simplest way is to open document library in windows explorer view.
    Go to document library, click library tab, click open with explorer.
    You can open the document library1 in explorer then copy the files which you want to paste to another site collection
    document library2, then open the document library2 in explorer to paste the documents.
    Besides, there are other method:
    https://social.msdn.microsoft.com/Forums/office/en-US/67282348-25c7-4bd0-9d95-61024c6892f9/how-we-move-a-document-library-from-one-site-collection-to-another-sitecollection?forum=sharepointgeneralprevious
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/8c112d85-1ab8-426b-be37-d010cf8647fe/copy-a-list-from-one-site-collection-to-another-using-web-service
    Best Regards,
    Lisa Chen
    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]

  • Transfer Contact list from one Curve to another

    Is there an official way to transfer the Contact List from one Curve 8520 to another?
    I tried Backup from the source and then restored it to the target Curve 8520. The target Curve does not seem to be able to see it?
    Any ideas?
    Thanks,
    Kathy

    +1
    I used the wizard when I switched from an 8330 to the 8530 and it worked flawlessly.
    "Cats may taste like chicken, but they have more bones than rabbits."
    Blackberry 101
    Tips & Tricks
    Videos to learn from on youtube

  • Internet Problem - One site will load, another won't. Then mintues later, the site that previously would load won't and the one that wouldn't will. I'm also pulling up a lot of pages in all text. Pics won't load or only one will load and the rest won't...

    Several weeks ago, I began to have some very strange internet connection issues. All the lights on my modem stay on and my computer shows full wi-fi signal, but I suddenly I won't be able to load any pages. Other times, I'll be able to load pages from one site, but not another. It's not the same sites all the time though.... sometimes I'll be able to load pages from one site and not another, and then 5 minutes later it'll switch and I'll be able to load pages from the site I previously couldn't and I won't be able to load pages from the site I previously could. A lot of pages are coming up just text with no pics... and then 5 mintues later that site will load normally and another site will come up just text. It does the same thing whether I'm connecting wirelessly or via an ethernet cable. It also doesn't matter which browser I use (I've tried Safari, Chrome, and Firefox). Although, once in a while when using chrome, I get a DNS error page instead of the usual 'cannot find server'. I contacted my service provider and I'm not losing speed or dropping packets. According to them, the problem I'm having is very strange since diagnostic tests show no problems at all. Perhaps someone has run into this before and has a suggestion?

    Then if you have tried all the browsers try connecting the system to yoour router with an Ethernet cable and turn WiFi off. If you have the same problem then it more then likely after your computer, Router or modem or connection from your ISP.
    If you get good browsing with the Ethernet cable then it is either the WiFi card in your Mac or the WiFi system in your router.

  • How can I transfer a naviagtion menu from one site to another site?

    I have generated a very simple lab web site. http://neurobionet.neurobio.ucla.edu/~feldman/. One page in the main site has a link that takes you to a list of publications (i.e., click on Publications). This page that has the list is really just another iWeb generated site. I would like to have the same navigation menu on both sites. Is this possible? I do not mind mucking around the code if necessary.
    Also are there any plans to have simple niceties like anchors incorporated into iWeb? In the same Publications page, it would be great if people could go directly to the year that they wanted to. Right now, the only way to do that would be to generate a separate page for each 5 year grouping.
    Regards,
    Mike

    Hi Mike,
    If both sites are WITHIN one iWeb domain.sites file- as in you've created them in the same account and in the same computer - you can drag&drop pages from one site to another.
    If they're created on two seperate accounts, you can't. Migrating 2 domain.sites files into one single file would be the outmost nightmare.
    The navbar is dynamically created from the available pages. This is cool.
    I've got some expertise on modding the templates - i've even created a whole new style navigation-bar and know quite well what can be done.
    members.chello.nl/haan2 for more info on this stuff...
    Workaround...
    in iWeb with the site open which has got most of the stuff, create new pages based on copy/paste from a browser.
    You still can have two "sites", albeit in 1 account.
    BACKUP your domain.sites file before attempting these kind of things.
    It's located in ~/Library/Application Support/iWeb
    Regards,
    Paul

  • I have over 1200 songs in my iTunes library that have always synced fine, I have added a new album to my list from one of my CD's, synced to add it to my library but less that 100 songs are now on my device and no matter how many ways I try its not worked

    I have over 1200 songs in my iTunes library that have always synced fine, I have added a new album to my list from one of my CD's, synced to add it to my library but less that 100 songs are now showing on my device and no matter how many ways I try its not able to show any more.
    Does anyone know why this is happening and how to rectify the situation as I have tried every help setting for the last 4 hours.

    I have tried everything I have read on the Internet about sync issues and restore etc and not there isn't a single song on my iPad or iPod touch. All of the songs are listed in my iTunes but are all greyed out, some have the cloud symbol next to them but lots don't and some say waiting.
    Long and short is nothing will save to my devices at all.....HELP !!!!!!!?

  • How do I transfer my play lists from one pc to another? I can't find import on the new version.

    How do I transfer my play lists from one pc to another? I can't find import on the new version.

    Holtey wrote:
    Not an option.
    Onlly have turn on home sharing or get artwork
    Do ou have the iTunes menus showing across the top of the iTunes window?
    ctrl B

  • Report to display (actuals data from one cube and plan from another)

    Hi Gurus,
             I have a requirement in reporting to display actual data from one cube and plan data from a different one.
            The example below might give a clear picture of the requirement.
    rows has key figures and columns = months
    Jan |  Feb |  Mar |  Apr |  May |  Jun  ...   ....
    GrossSales
    Net Sales   
    Now if I run the report for Current month (Apr), then for the months of (Jan, Feb and Mar) i need to get the data from CUBE1   and for the remaining months (Apr thru Dec) from CUBE2.
    Similarly when i run the report next month(may), 
    then (data for Jan, Feb, Mar, Apr  from CUBE1)
    and ( May thru Dec from CUBE2)
    Any suggestions.
    Thanks in Advance
    Kumar

    Hi Henry,
         We alreadey have a multi provider which includes
    FinDat Cube(CUBE1) for actuals and Comm.Goals cube (CUBE2) for plan.
    So you suggest that we have two versions of key figure for actual and plan.
    ie. each KF will have two versions.
    actuals = (version 10, FiscPer<curr.mnth, key figure, acutals cube)
    Plan = (version 20, FiscPer>=curr.mnth, key figure, comm.goals cube)
    eg:
    Jan | Feb | Mar | Apr | May | Jun ...
    GrossSales(Act)
    GrossSlaes(Plan)
    Net Sales(Acutal)
    Net Sales(Plan)
    Correct me if I am wrong.
    the report has a lot of key figures, having two versions for each kf will be confusing.
    the user would like to see
    Jan.....| ...Feb  |..Mar |..Apr.....|  May  | 
    GrossSales   Act Value|Act.V |Act.V| PlanVal|PlanVal|
    Net Sales
    where Act.Value is from CUBE1
             Plan Value is from CUBE2
    Thanks
    Kumar

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Does Closed Captioning display differently from one Player/TV to another?

    Hi Everyone,
    We just completed our first project at our facility that involved Closed Captioning from an .SCC file produced by CPC and when we preview a DVD Test of the project, the captions are not displaying as expected. We received a VHS preview copy which display the captions fine, but when we look at the DVD Test in the Apple DVD Player, the captions are not justified in a consistant manner, and sometimes a couple appear as if they were haphazardly placed on the screen.
    Is possible that Captioning as how it is interpreted/displayed might vary from one TV or DVD Player to another?
    Any help or comments would be greatly appreciated. Thank you in advance, everyone.
    Regards,
    -James-

    UPDATE:
    So far I've tested the DVD created with Closed Captions from the *.scc file, and my findings are that the PC software I've tested in closely match that of the VHS open-caption dub that the captioning company provided us. I have tried the VLC Player on the Mac, but have not had success in enabling the captions, nor been able to find any posts on the VLC support forum.
    I've also been successful at finding and testing a DVD Player that can display the captions on the DVD, and find that they play similarly to that on both the VHS open-caption an PC Playback, but the position on the screen is slightly different.
    Does anyone have any other experience with Closed Captioning that could either offer insight to the working theory that each TV/DVD Player/Computer DVD Software platform interprets closed captions differently from one another?
    Regards and thanks in advance,
    -James-

  • Sharepoint 2010 - Archiving the files from one document library to another document library in sharepoint site

    I have a requirement to move the documents from one document library to another document library.
    Source Library - DocumentLib
    Destination Library - Archive
    Archive document library will have folders by fiscal year.
    Source documentlibrary has files from year 2012 till date.
    Archive folder will have folders by fiscal year -(fiscal year starts from July1st -June 30th )
    If the document is created date  between 1st  July 2012 -June 2013 then move the document to Archive document library and in  folder Fiscal Year 2013.
    If the document is created date  between 1st  July 2013 -June 2014 then move the document to Archive document library and in  folder Fiscal Year 2014.
    The structure of destination document library folder should be same as source document library.
    Please find attached the screenshot of the requirement.
    Files Type - Excel,pdf,microsoft outlook item
    Could we use Sharepoint designer workflow to achive this task?
    Any help on this will be appreaciated.

    Hi Asritha,
    According to your description, you want to create a workflow to meet the need.
    Per my knowledge, there is no built-in action which can move the documents from the current library to a folder in another library.
    I recommend to use the custom activity 'Copy List Item Extended' which need to be downloaded from
    http://spdactivities.codeplex.com/.
    Please per the steps below to deploy the custom activity to SharePoint:
    Download the activity form http://spdactivities.codeplex.com/
    Open Dos command prompt.
    Browse to the directory that you can access stsadm.exe. The default location in version 3.0 is C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin
    Type the stsadm commands: stsadm -o addsolution -filename C:\UsefulSPDWorkflowActivities_0.5.0\DP.Sharepoint.Workflow.wsp (“C:\UsefulSPDWorkflowActivities_0.5.0\” is the file path)
    Type the stsadm commands: stsadm -o deploysolution -name DP.Sharepoint.Workflow.wsp -allowgacdeployment -force -immediate 
    Open the Center Administration, Click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to the Web Application.
    After that, we can create a workflow to meet the need.
    Here is the detailed steps to create the workflow:
    Create a workflow associated with the Source Library DocumentLib and set the workflow to start when an item is created.
    Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2012.
    Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2013.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2013 folder url.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2013.
    Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2014.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2014 folder url.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Publish the workflow.
    Best regards.
    Thanks

Maybe you are looking for

  • Cant't get my ipod nano 6th gen to stop repeating

    I use the shuffle on the playlists,songs,genres,albums etc and when a song plays it repeats itself. I don't know what I did but I would like to turn off the repeat of the song..any help with this? I cant seem to find it on this new nano.thanks

  • InDesign CC installation download repeatedly fails

    I have attempted on several occasions to doiwnload, via Creative Cloud Desktop, InDesign CC app. On all occasions the download fails at 41%. The "Learn More" error message (-60) suggest a corrupt file and the installation log tells me "Failed to open

  • Converting Debian 7 ESXi 4.1 to 2012R2 host :

    Hi, I'm trying to convert Debian 7 VM to hyper-v using MVMC 2.1. In GUI wizard on  Virtual Machine section, under Operating System there is shown Other Linux (x64) instead of Debian 7. Debian version 5 is show correct (for olders dis. VM), as Debian

  • Wish list for os x apps

    When will a stand alone Scrabble game be available for Mountain Lion? Only on-line game from Pongo is available. The two versions of Scrabble (Scrabble Journey and Gamehouse Scrabble ) do not one. Journey crashes and the Gamehouse version opens and f

  • Bigtime Problems With Volume Mounts

    Dear kind, helpful, charitable, community of Apple users, I'm been spinning my wheels on this for a week now and I'm totally stuck. I'm sufficiently desperate that I thought about offering a cash bounty via PayPal. (But I can't figure out an equitabl