Best Way to Sync Lists Across Multiple Site Collections?
A quick query I'm hoping someone might be able to help me with...
Within our university intranet I am assigning each department a team site within its own Site Collection. So that departments can associate Document Library files with a set list of academic courses, I created a custom dropdown field and deployed it as a Feature. While this worked within SharePoint, when you attempted to set the document properties within the Microsoft Word environment the custom fields were rendered as empty text boxes (meaning that staff are no longer restricted in when information they can enter).
To get around this I'm considering going back-to-basics and creating a Custom List, populating it with the titles of our academic courses, and then assigning it to a Document Library via a Lookup Field. I know that Microsoft Word will then correctly display the metadata dropdown.
As I am using multiple Site Collections, I'm unsure of the "best" way to proceed.
I've already written a Console Application which can create a Custom List within a targetted site and populate it with the contents of an XML file - but I would need to run this every time I created a new Site Collection and what would I do when I wanted to update the contents of all the lists?
Other than modifying my Console Application to loop through all instances of the Custom List within Site Collections and sync it to the contents of the XML file, is there another (better) option that I am over-looking?
Its such a shame I can't create cross-collection Lookup Fields within all of the Site Collections that point to a single top-level list.
Many thanks.
My instinctive questions drifts towards why you have different site collections. If all the sites were sub sites within the same site collection, a global field would solve the issue quite nicely.
If you have legitimate reasons for keeping the sites seperated into separate site collections, I would look at using an Event Handler to trigger updates to reference values in each site collection, be they global fields or lists. Then if you wish to update the values, you only need to update the trigger list to propagate the updates across your site sollections to all your sites in question.
I trust that answers your question...
Thanks
C
http://www.cjvandyk.com/blog
Similar Messages
-
Fastest way to get data from Multiple lists across multiple site collections
HI
I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
if anybody can provide ideas it would be help.Might LINQ be an option for you? Using
LINQPad and the
SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it. I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
For something more specific, I used a third party tool called the
Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool. In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
order. The web part is also fairly customisable and has always proven a useful tool.
Hope that helps.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Custom template available across multiple site collections
I have created a custom site template which I need to be available across multiple site collections. Is there a global area where I can put the .wsp file so that I can use it within any site collection.
I also have a custom document library which I need to be available from with the site made from the custom site template mentioned above - Is there a global area where I can put the .stp file so that I can use it within any site within any site collection.
thanksThis will really depend how the template has been packaged. If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
the template. If it's within the New --> XXX Document, than you're in luck
If they're just deployed as normal files within a library, you'll have a much harder time.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to change PowerPoint Template across multiple site collections
I am failry new to SharePoint, and my organization has asked me to research how to change a PowerPoint template that is stored on multiple site collections. There are current PowerPoints based on the template and they wanted to be sure those wouldn't be
affected, as well. They want a "quick and easy" way to update the template that the divisions in the company use without manually going into each site collection. A co-worker said she hopes to "replace the current...template at the site
collection and it will modify the available content type when selecting new document."
Any help on how to handle this would be appreciated.This will really depend how the template has been packaged. If it's a content type, than editing this and making sure that the "update content type" radio is selected will do the trick. Can you ask someone who's made one to show you how they generate
the template. If it's within the New --> XXX Document, than you're in luck
If they're just deployed as normal files within a library, you'll have a much harder time.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Aggregate lists from multiple site collections
Hi,
I'm currently working on an application that stores its data in sharePoint lists. Some lists are created at the WebApp level while others are available at the SiteCollection level. All lists, at the same level, fit to the same structure.
I need to create SSRS reports based on consolidated values from all site collections. I'm interested in a solution using only SharePoint and SSRS, without writting code. It is important to note that SiteCollections are generated dynamically, meaning
that I don't have a fixed number of SiteCollections. Is that possible to make a cross SiteCollections query from SSRS or something similar that would not require code?
Thanks in advance,
Jerome.Hi Jerome,
i tried to look for the solution that is not with coding, but seems i can't find something that is similar with your needs, although i found this article.
http://camldotnet.codeplex.com/
Sharepoint have this class: SPSiteDataQuery.
this class should be able to query different site collection, but it is a must under the same web application.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx
http://www.codeproject.com/Tips/401818/SharePoint-2010-SPSiteDataQuery-with-Example
http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-query-across-multiple-lists-in-multiple-web-sites-in-in-sharepoint/
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Calendar Overlay Across Multiple Site Collections
I have searched the forums and have not found a solution to this question.
We are having trouble creating calendar overlays across site collections.
Specifics:
1. This is a single farm SharePoint 2013 installation. Version: 15.0.4481.1005
2. We have a single web application http://sharepointweb on port 80
3. We are using host-named site collections
4. We have separated the different departments into separate site collections because we want to take advantage of separate content databases.
When we create calendar overlays between calendar lists within a single site collection...it works fine. When we try to create calendar overlays between site collections (again, within a single web app) it fails with the message "Unable
to find specified web in the given URL".
Some more details:
## query of host headers for HNSCs
Get-SPManagedPath -HostHeader
Name Type
ExplicitInclusion
sites WildcardInclusion
departments WildcardInclusion
## query of URLs for two affected site collections
get-spsiteurl -id 'http://smportal04/departments/dev'
Url Zone
http://intranet/departments/dev Default
http://sharepoint/departments/dev Internet
http://portal/departments/dev Intranet
get-spsiteurl -id 'http://intranet/departments/it'
Url Zone
http://intranet/departments/it Default
http://sharepoint/departments/it Internet
http://portal/departments/it Intranet
##The only entries I can find in the ULS logs
## an example of when I try to do a calendar overlay from the http://intranet/departments/dev calendar
## referencing a calendar in http://intranet/departments/it calendar
Application error when access /_layouts/15/AggregationCustomize.aspx, Error=Unable to find specified web in the given URL - http://intranet/departments/it. at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String
webUrl, SPWebApplication webapp) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String webUrl) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String
id) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList() at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.Page.RaiseChangedEvents()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Unable to find specified web in the given URL - http://intranet/departments/it.
at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String webUrl, SPWebApplication webapp) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String
webUrl) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String id) at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList() at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e) at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Hi Roo,
i tried some steps, i agree with you that seems calendar overlay cant do good across web application,
from http://y:1234/ and http://y:4563/. seems there are limitation here.
when i extend my web app, usually i create new web app as internal/external/public, then i guess issue is happened.
so, anyway, i got a bit curious if your environment also came out with the same result:http://support.microsoft.com/kb/2025977
at the kb, it was stated, that it may not able to find another site other than the default web app.
but, while i tried in the same web app, the issue not there.
so i tried to create new site collection, with lots of subsites, http://y:1234/. then have http://y.1234/sites/123 and http://y.1234/sites/456, for example, i add new calendar and create overlay, seems it can resolve each one and another.
perhaps you can check this article:
http://spsawyer.wordpress.com/2013/07/11/sharepoint-calendar-overlay-not-found-errors/
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
SP2013 Set default views across multiple site collections (powershell)?
I am the editor for a large SharePoint 2013 publishing site with approximately 130+ subsites. Based on our most popular content types, I've create two diffferent default views that will come in handy as we move to a distributed authorship model. (I'm thinking
specifically about the Quick Edit/Excel-like feature to make quick changes to page/document metadata.)
The authors/content owner/editors have NO experience with SharePoint, so while the usual benefit of using views is that they can be tailored to individual needs, I'd like to start them off with something that is VERY easy to change on the fly using Ribbon >
Library > Quick Edit. It's either that or, as just a power user in the CMS, go to each individual page and document library and change it manually, which could take days, if not longer. The ideal solution would look for all subsite of layout/content type
foo and change the default views within the page libraries to a set of 17 metadata.
Any help would be greatly appreciated!
Ryan D WattersHi Ryan,
As I understand, you would like to change default view for page/document libraries via powershell.
Firstly, you need to get all page/document libraries in the site, then add columns to default view.
Here are some articles for your reference:
1.Get all document libraries:
http://www.sharepoint-journey.com/get-all-document-libraries-in-a-site-collection.html
2.Managing List Views:
https://nkelkar.wordpress.com/2011/06/21/powershell-create-lists-add-columns-set-new-default-view/
http://get-spscripts.com/2012/02/managing-creating-and-deleting.html
Regards,
Rebecca Tu
TechNet Community Support -
Search across multiple site collections SharePoint 2013
Hi Guys
I have a search center and Enterprise search configured in one site collection, I need to enable it to search content in other site collections too. I am using SharePoint Server 2013 Enterprise on a Windows Server 2012 R2. Can I promote results from
a particular site collection if the user initiates search from that particular site collection..?
Thanks in Advance
ParthHi,
From your description, you want to find a way to promote result from a particular site collection when users search on
Enterprise Search site.
To add promoted result, you can create new query rule and add
Promoted Result or Result Block to highlight the results you want.
Moreover, What do you mean when you say promote results from a particular site collection if the user initiates search from that particular site collection?
A real sample? Please explain more about your requirement so that we can provide more detailed information.
If you are new to SharePoint 2013 search, you may start from:
Search in SharePoint Server 2013
http://technet.microsoft.com/en-us/sharepoint/jj898538.aspx
Manage
Manage the search schema
Manage the Search Center
Manage search relevance
Manage crawling
Manage the search topology
Back up and
restore
Use Windows PowerShell cmdlets to manage search
Miles LI TechNet Community Support -
Is there a way to sync mail across multiple computers without using .mac?
I'd like to be able to use either of my machines to check/respond to email, and have both of them be updated with both incoming messages and my replies. Is this possible outside of using a .mac account?
I'm using 10.4.6 and also the latest version of Mail.
Thanks in advance for any insight!
peace,
rahlo
Message was edited by: rahloYes, there are several people that have published the steps to set up your own .Mac service by reverse engineering the protocol and rolling their own server to provide web services to emulate .Mac.
If you are looking for a hobby, I would encourage you to try it. Assuming you are sophisticated enough to google it and find some steps you can use, it should not be that hard to set up.
Please note - I haven't looked over the licenses for all of the software involved (Mac OS and .Mac) - you might be in violation of your license term by reverse engineering parts of the system or violating copyright/patents. As long as you don't go into business or diverting income from Apple - you may well be fine by learning how they did things.
P.S. I assume you mean syncing the mail settings, not the actual contents of the mail box. -
Sync data across multiple clients
I am create an application in flex that pulls and pushes data to a MySQL database. This program will have multiple clients logged in at the same time. I am wondering what the best way to ensure that the data is accurately updated across all of the clients would be.
Can you explain what you mean exactly by sockets?
Is there any way to Sync data across multiple clients without the crazy expensive cost of LCDS? -
Using SPSiteDataQuery for multiple Site Collections
Hi All,
I would like to query five contact lists on multiple site collections. I can query the lists using SPSiteDataQuery if they are within the same site collection, but I can not query the lists over multiple site collections.
Is there a method like SPSiteDataQuery that I can use to query lists over multiple Site Collections?
Many Thanks,
ColinHi,
As you have mentioned that: SPSiteDataQuery which can query multiple webs within the same site collection, but not across multiple site collections. You can't accomplish that easily.
The solution evolves from first using the SPSiteDataQuery class to run a query upon each site collection and then aggregating the results.
For detailed information, refer to the following article:
https://oidatsmyleg.wordpress.com/2009/08/13/cross-site-collection-query-almost/
Besides, here is a similar requirement post, you can take a look at:
http://sharepoint.stackexchange.com/questions/114329/accessing-list-data-in-multiple-site-collections
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] -
What is the best way to sync multiple collections of contacts among multiple users?
(I originally submitted this question under the "Mac OS X Technologies" section, but got no response. I'm submitting a duplicate here because this is where all the smart folks are! My apologies that my question is only partially related to OS X Server . . . )
What is the best way to sync multiple collections of contacts among multiple users on iOS and OS X?
For example, suppose I have three collections of contacts: Bob's, Sally's, and Common. I want Bob to be able to access and sync Bob's contacts and Common contacts, and Sally to access and sync Sally's contacts and Common contacts. Bob and Sally never need to access or sync each other's contacts. Bob and Sally would both sync and share contacts in Common.
How would I best implement this? It's my understanding I have three options for managing contacts across iOS and OS X: 1. iCloud accounts, 2. Install OS X server, or 3. Install and manage Darwin CardDAV directly. Which method would best support what I wish to do?
I am a seasoned Unix geek well versed in the terminal, so I am prepared to get my hands dirty as much as necessary to achieve what I want. Also, it is sufficient if syncing takes place over WiFi on the local network, in fact, that is desirable versus syncing over the cloud.Thanks for your reply Nick101. I see my example was oversimplified. When I say "multiple groups of contacts over multiple users" I'm really referring to N groups of contacts over N users.
So I need to add Fred, who can access and sync Bob's contacts, Sally's contacts, and Common contacts, as well as Fred's contacts. Can I do it with OS X server?
You mention you keep your and your partner's contacts administered locally. What keeps you from administering them through OS X server as well?
I am guessing this can all somehow be accomplished with multiple contact accounts, but I can't find any information on the web explicitly describing this. -
Best way to sync iTunes on 2 computers?
Hi
Can anyone suggest the best way to sync iTunes between 3 macs Mac Pro & 2 Macbook pros.
I edit and rate the music on the desktop so it's not as much about the mp3 files as much as it is not having to reinput the metadata 3x.
Also the iTunes folder on the desktop is on a secondary drive not the HOME folder.
When I DJ on Traktor it looks for the location of the mp3 files and if they are listed as being on another drive then it can't find them.
I used iTunes Ranger about 5 years ago and although it was slow it worked fairly well across 3 DESKTOPS but their website only lists up to Mac OSX 10.6.
Thanks in advance
EnioI found this on Tuneranger page even though the site for the app creator seems dead
Q: The ratings, playcounts, etc. from my iPod won't copy over to my iTunes when using TuneRanger.
A: TuneRanger only supports syncing of iTunes metadata (tags not part of the music files such as ratings, playcount, etc) when doing an iTunes to iTunes sync over a network. We don't support syncing metadata to/from the iPod. All the tag info embedded in the files is transferred but those fields proprietary to iTunes are not.
Does anyone know how to sync BPM and Comments when iCloud is NOT an option? (I don't have internet when I am dj'ing nor would I want to depend on access from the server in a pro situation) -
I need to sync each of my grandkids IPads to my Mac with their own Itune accounts. Each grandkid does have a login on my computer that I control. On their IPads they each set up a ITune account. What is the best way to sync their Ipads? Is there something I need to make sure is turned on in their accounts on my computer?
Hi Jodel,
Thanks for visiting Apple Support Communities.
If your grandkids each have a user account on your Mac, you can use the steps in this article to set up syncing with each user account and iPad:
iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
http://support.apple.com/kb/PH12113
You may also find the advice in this article useful:
How to use multiple iPhone, iPad, or iPod devices with one computer
http://support.apple.com/kb/ht1495
Regards,
Jeremy -
Best way to sync contacts?
I have my contacts with Yahoo since I have a Yahoo email address. I also have a Mac Address Book which I no longer sync with Yahoo because of a duplication mess that created a nightmare of missing contacts as well.
I no longer sync my Yahoo contacts via iTunes. I do it via push feature on the iPhone with Yahoo.
Now, after syncing all my contacts from Yahoo to my iPhone, I noticed that Yahoo does not distinquish because email addresses (it does so in edit option but not after viewing) i.e. home, work, etc. It does okay on the phone side but not perfect there either as I got mobile phone listings but when I also had a home listing, Yahoo labels it 'phone" on my iPhone. I had to go into each contact on my iPhone to set the phone numbers and emails correctly instead of what Yahoo listed which was the generic "phone" and "email."
Now I noticed that my Mac Address Book pretty much lists the details like that on the iPhone. I went into iTunes under contacts to sync and my Mac Address Book was not an option. I am missing something?
I am just trying to find the best way to sync. The issue here seems to be the Yahoo label listing but I am open to syncing my contacts another way.Yes, if you just sync contacts then they I'll be automatically updated on all devices.
Maybe you are looking for
-
Java.lang.RuntimeException: Could not find the OffLine WLST class
Installation of OIM On weblogic. oracle/oim/xellerate/setup/setup.xml:443: The following error occurred while executing this line: /oracle/oim/xellerate/setup/weblogic-setup.xml:196: java.lang.RuntimeException: Could not find the OffLine WLST class a
-
Filter Key problem in table without ALV
HI, I have two tabs in my view. In Each tab I have a table which are binded to different nodes. Now i am applying FILTER for these two tables using Toolbar UI Element. I have created a ToolBar Toggle button inside this. In the action (DO_FILTER)of th
-
Trying to find pl/sql that will show you what script is running
I'm looking for a way, inside sql, to find the name of an executing/running script from inside the script itself. For example, I have a master script called run.sql with these contents: @@a.sql @@b.sql exit A.sql has these contents: spool a.log selec
-
Is it possible to switch off auto dates in a comments box?
Hello, I am making annotations to a document in pages 09 using the comments facility. However each time after saving when I return the date has automatically appeared in the comments box. This is becoming slightly annoying as I have a larger list o
-
Hello, I just recently have been dealing with my Logic Pro 9 Crashing. I am not exactly sure when the issue started but i am strongly thinking something with updates. I currently run Mac OS X 10.8.5 on a 2.2Ghz Intel Core 2 Duo processor, 4GB of RAM.