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.
thanks
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.
Similar Messages
-
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. -
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 -
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. -
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 -
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] -
Hi,
I am wondering how best to publish an InfoPath form as an Admin-Approved template, to both Site Collection 1 (SC1) and Site Collection 2 (SC2). Some fields are promoted to SharePoint columns.
I have already published my form to SC1, by choosing Publish to SharePoint Server > chose SC1 > Admin-approved > chose to publish to columns I had created manually on SC1 (these columns had relatively user-friendly internal names such
as 'Form_x0020_Status' etc, which I reference in xsl + code). I then uploaded the template in Central Admin as Admin-Approved, and activated the feature on SC1. This all worked fine.
However, if I then go to activate the feature on SC2, it creates columns with different internal names (GUIDs), which means my xsl + code won't work. If I try creating columns manually on SC2 before publishing, it still creates new GUID columns.
This of course must be because on feature activation on SC2, it cannot find the exact columns specified in the template (which was published to SC1), so it creates new ones.
In that case, what is the best way to publish an Admin-Approved template to 2 different site collections? One option is to create the columns using code, and deploy them to both sites as a feature, ensuring all IDs are the same. But should this be necessary, is
there any option available using only InfoPath and SharePoint?
Thanks for reading.Check these similar threads
Republish
existing InfoPath Form to a different SharePoint Site
How
to Programmatically Publish an InfoPath 2010 Template (.xsn) to Multiple SharePoint Sites
Hope it will help
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Changing site collections logos across all site collections
HI All,
I need to change the logo across all site collections, which are around 300-400, so don't intend to do this manually.
My question is, will simply replacing the current logo in the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE....
with the logo I want to change to, and naming it exactly the same as the current logo, not achieve this?
I have searched online and people run PS to achieve this, but in my head the above seems to be work, please correct me?
ThanksI completely agree with Alex and not suggest to touch/change root folder. Initially it might looks easy but it may create issue.
My option is to BRAND the sites. Master page branding is not a new concept and it mainly use for unanimous look and feel
Look at below links which will help you to explore about branding
SharePoint Branding 101:
Branding Master Pages
SITE LOGO AND CUSTOM SHAREPOINT MASTER PAGE
https://www.youtube.com/watch?v=BX4yJA95FUU
Hope it will help
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Search option or Query to search multiple Site collections?
Is there a Search or Portal site Hierarchy/ Structure option in SharePoint 2013 that would enable searching of specific and multiple Site collections (not Search all)?
We opened a ticket with Microsoft o365 and they said this is not possible without custom development and that search queries can't span multiple Site collections.
Is this true?You can setup a custom Result Source that limits results to the paths (URLs) provided, then use this Result Source in a custom search page, CSWP, etc. Check this post for more info:
http://sharepointbrandon.com/2013/07/setup-multiple-search-pages-result-sources-search-scopes-for-a-site-search-in-sharepoint-2013/
You can use the path restrictor to specify the URLs to limit the search to, IE: "path:http://yourdomain/site".
Hope that helps.
Brandon Atkinson
Blog: http://sharepointbrandon.com -
Document ID moving across the site collection
Thanks for reading, let me explain my scenario before my question
1. we have huge site collection with full of documents
2. want to enable document id feature to track of documents
3. we want to run the process to archive docs which are older than 6 months into different site collection.
4. after 2 years, we will have 4 archived site collections, documents are spread across the various site collection
Does document id move across the site collections, still users can get old document using initially assigned document id after archive into different site collection?
I read some documentation on document iD that it is targeted for Site Collection level.
S.Venkata AppajiHi Appaji,
According to your description, my understanding is that you want to preserve the Document ID when moving the documents across site collections.
Per my knowledge, the document id will be preserved when the document has been moved from one Site Collection to another Site Collection.
During move operations, SharePoint Server 2010 keeps the document ID. During copy operations SharePoint Server 2010 assigns a new document ID. You can control this by setting a Boolean operator on the PersistID column.
More references:
http://msdn.microsoft.com/en-us/library/ee559302(v=office.14).aspx
http://www.sharepointeurope.com/blog/2013/6/26/sharepoint-moving-a-document-with-a-document-id-to-another-site-collection
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Unable to apply a new site template to a new site collection's root web
Hi folks,
Using PowerShell I need to create a new site collection and add a new site template to its root web. I've tried but failed...
I created the site template from a team site that I modified and then saved it as a site template and saved the template to an WSP file (in the solutions gallery).
I have tried both of the following methods but can't find the template to add to the root web of the site collection. Help!!
Method 1 - Create the site collection, deploy & install the template as a user solution, and apply the template
I did the following, but it doesn't work because Get-SPWeb doesn't find it. If I run Get-SPWeb with no parameters the list it returns doesn't include my template. So site.GetWebTemplates includes it but Get-SPWebTemplate doesn't.
# Create the site collection
$site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
# Deploy and install the template
$wsp = Add-SPUserSolution -LiteralPath $wspPath -Site $siteURL
$wsp = Install-SPUserSolution -Identity $wspIdentity -Site $siteURL
# Assign the template.
$loc= [System.Int32]::Parse(1033)
$templates= $site.GetWebTemplates($loc)
foreach ($child in $templates)
Write-Host $child.Name
If ($child.Name.EndsWith("ABC")
# the name of the template that I added ends in "ABC" - when this script runs I the name of my
#added template displays as "{longGUID}#1ABC"
$template = $child
$templateID = $child.Name
$template = Get-SPWebTemplate $templateID
# regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
$web = Get-SPWeb $siteURL
$web | Set-SPWeb
-Template $template
Method 2 - Deploy and install the template as a farm solution, create the site collection, and apply the template
I did the following. After I did the first section (deploy and install the solution to the farm) I was able to go to "Manage Farm Solutions" in CA and it was listed there, but neither
site.GetWebTemplates nor Get-SPWebTemplate included the site template in their list of templates.
# Deploy and install the solution to the farm
$template = Add-SPSolution -LiteralPath "C:\SharePoint\Student Site.wsp"
$template | Install-SPSolution
Do {Start-Sleep 2 } while (!((Get-SPSolution $template).Deployed))
# Create the site collection
$site = New-SPSite $siteURL -OwnerAlias $owner -SecondaryOwnerAlias $secondOwner -name $studentName -Description $description
# Assign the template.
$loc= [System.Int32]::Parse(1033)
$templates= $site.GetWebTemplates($loc)
foreach ($child in $templates)
Write-Host $child.Name
If ($child.Name.EndsWith("ABC")
# the name of the template that I added ends in "ABC" - when this script runs I the name of my
#added template displays as "{longGUID}#1ABC"
$template = $child
$templateID = $child.Name
$template = Get-SPWebTemplate $templateID
# regardless of whether I assign $template above or here the Set-SP_Web assignment below fails
$web = Get-SPWeb $siteURL
$web | Set-SPWeb
-Template $template
DavidOut of curiosity, are you able to create a site within a site collection using this template? That is, can you create a site that is not the root site (e.g. http://sharepoint/sitecollection/Web)?
Jason Warren
Infrastructure Specialist
Habanero Consulting Group
habaneroconsulting.com/blog -
SP2010 I need to set the include in search option switch on all document libraries to off across all site collections on the whole farm?
Has anybody seen If this can be done programmatically any help would be gratefully welcomed thanks.i am not sure about the script, why not create crawl rule which will exclude the allitems.aspx from showing in the search results.
Go to search service application, crawling section, click crawl rules to create a crawl rule to excludehttp://*allitems.aspx page.
also check this:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/f431dd0e-871b-4f9e-990e-8f3b7ca932a4/crawl-rule-exclusion-sharepoint-2013
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Find and Replace Across Multiple Sites
Hi,
Just wondering if anyone knows a way or a piece of software
that enables you
to Find and Replace code, text etc across multiple sites?
I am using DWMX2004 and I can do it on a per site basis but
not multiple
sites at once.
Any idea's???
Thanks
Darrell....Alan wrote:
> IF these dreamweaver sites are all in a common folder,
like
> sites:siteA and sites:siteB and so on- You could make a
new dw site that
> has the common root folder "sites" as it's Local folder.
Find and Replace
> sitewide while in that site would effect all the files
within the defined
> folder.
You don't have to define a site, Blue, just select a folder
to search.
Mick
>
> also, other text editors have good find and replace
features.
>
> back up, back up, and then make another back up copy.
>
> If working with links in this "super site" definition-
be aware of the
> possible problems of defining a site where the root
isn't the real root.
>
>
>>Just wondering if anyone knows a way or a piece of
software that enables you
>>to Find and Replace code, text etc across multiple
sites?
>
>
>
Maybe you are looking for
-
How do I Replace A Hard Drive?
Ok, I have a Dead Hard drive! Hard disc 1 Quick (303) I want o replace the hard drive and I do not have recovery discs Where is the best place to get these and how do I replace the HD myself I have a HP pavillion DM4 notebook PC Windows 7 Thanks
-
ITunes doesn't recognize the device anymore.
My iPad 1 worked perfectly until today when I tried to update to iOS5 and now neither iTunes nor iPad do react when I plug them. The Battery Charging icon also doesn't appear... Anyonen an Idea?
-
I understand i need to download these softwares before i can update my at&t Lumia 1520 to denim. Is there a link to download firmware : 02061.00074.14273.33019 and firmware 1028.3562.1407.1001 Solved! Go to Solution.
-
Receiving hardware acceleration error. Cannot start Adobe FMLW
Adobe FMLE Support, I've been running version 3.0 since about March. Last week, I made a change to one of my monitors to adjust the resolution. I increased the hardware acceleration and noticed an improvement in my system thinking I'd lowered it wh
-
Customizing Expense Receipts Overdue notification
Hi Experts, I 've a requirement to hide the "Receipts Missing" and "Request Information" buttons on the "Expense Receipts Overdue" notification. I 'am assuming that I need to customize the "Receipts Overdue Process" workflow process to add the HIDE_M