WSP Package Deployment to a Different site collection

Hi All,
I have 2 different site collections on one web application , while deploying the WSP package iam not able to see the new sitecollection i have created in the dropdown selection list.
Please advise if iam missing anything or advice if we have powershell commands to deploy directly to the diff site collection.
thanks.SS

I am assuming that you want to deploy sandbox solutions, then you can use Add-SPUserSolution and Install-SPUserSolution
powershell commands to add and deploy the WSP to a specific site collection
http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-deploy-a-sandbox-solution-using-powershell-in-sharepoint-2010/
If it is a FARM solution (not specific to site collection, it will always get deployed to web application or globally deployed), you can use Add-SPSolution and Install-SPSolution
commands
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/02/adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • How to publish an Admin-Approved InfoPath template to 2 different site collections, and retain same internal column names

    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.

  • Master page changes in different site collection.

     Hi,
    I have one requirement for master page changes. i have two site collections ABC and XYZ , When navigate sites the master page  it will changes automatically. how to develop this requirement.

    Is your requirement is to have different master page for different site collection. If so, refer to the following posts for more information
    http://sharepoint.stackexchange.com/questions/94216/how-to-deploy-masterpage-to-entire-site-collection
    https://support.office.com/en-in/article/Customize-a-master-page-to-brand-your-site-0a57b837-4c97-4af9-a088-fedf3dfd1dd5
    Cheers,

  • How to create link of a document in a different library (in different site collection) - programmatically

    Hi,
    am trying to create link of a document in a different library (in different site collection) using SharePoint Link a document Content type approach. i have already tested this manually.  
    As per my requirement i need to implement this approach through code.
    If anyone has implemented link a document approach through code, please share your inputs.
    help is highly appreciated!
    thanks

    Check if below helps:
    http://blogs.msdn.com/b/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx
    http://stackoverflow.com/questions/15625448/create-a-link-to-a-document-in-a-sharepoint-shared-document-list-using-powersh

  • Template.xsn. Access to locations on different site collections is blocked for security reasons

    I am using sharepoint 2010 onpremise.
    I created a custom list, content type and columns. After this I go to the list and click on the infopath button in the ribbon to customize the form. I changed the form and published to the server.
    Now I get this error when I go to some page where I have added a infopath webpart:
    The following location is in a different site collection:
    http://www.myCompany.nl/someSubsite/Lists/VraagEnAntwoord/VraagEnAntwoord/template.xsn. Access to locations on different site collections is blocked for security reasons. For more information, contact your site administrator.
    This website has anonymous access.
    I have googled and found many people with this problem, but I dont find some solution. Someone talk about create a template from infopath and then publish it to a content type. I dont understand this solution. Can someone help?

    You are actually running an older version of Firefox (8). You should update to Firefox 9.0.1 and see if that helps

  • SharePoint Workflow - Update Item in a different Site Collection

    We have a requirement where if an approver approves an item (say in List 1 in Site Collection A), a certain Date column has to be updated on another item which is on a different site collection (say in List 2 in Site Collection B). I think I cannot use a
    SharePoint Designer(SPD) workflow in this scenario as SPD Workflows cannot access an item in a different Site Collection.
    I can think of 2 approaches -
    Approach A - Create a workflow in Visual Studio which initiates an approval workflow when an item is added to List 1. If the item is approved, update the corresponding related item in Site Collection 2. Can I do this? Can a Visual Studio workflow access
    item in a different site collection? Both Site Collections are in the same web application.  
    Approach B - The other approach is to create a SPD workflow for approval and create an Event Receiver on the same list which updates the date in the related item on a different site when the items stats is approved.
    I feel approach A is better if can be done as we a single workflow taking care of the entire process. Please let me know if this can be done using a VS workflow. Any other approaches are also welcome.
    Thanks in advance.

    Haven't tried myself, but it could be worth trying out the Call Web Service Action in SPD and update the list in the other site collection with a REST Call.
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/09/05/how-to-work-with-web-service-using-call-http-web-service-action.aspx
    Kind Regards
    Bjoern
    http://www.sharepointviking.com
    Twitter: Follow @bjoern_rapp

  • The following location is not accessible, because it is in a different site collection

    Hi,
    I have an InfoPath full trust form which has been uploaded to the Central Administration. I activated the form in a Form Library using Content Management. Unfortunately, when I try to load the InfoPath form in the public machine, it throws for the error below:
    The following location is not accessible, because it is in a different site collection: http://109.91.111.45:8080/sites/sbc/Success/Forms/AllItems.aspx.
    Can someone please help?

    Please read the below scenario may be what LarsLL & Derek are referring to.
    For Example:
    Consider a Farm where we have one App server & one WFE. If we create a Web Application  in App Server the url will be like
    http://<<appServerName>>:12345/
    We can access the site using the WFE name also like this
    http://<<WFE ServerName>>:12345/ but when the user tries to access the form from this site we may get this error.
    To resolve this create an Alternate Access Mapping for the site at
    http://<<WFE ServerName>>:12345/ to ensure this site can be resolved by InfoPath.
    Cause:
    This happens when InfoPath tries to load the Form. It would try to verify if the Site collection exists. Read the article here
    http://support.microsoft.com/kb/981854 for more information.

  • Populate Lookup Lists from Different Site Collection

    Hi,
    we are using O365 environment
    We have 2 Site Collections: Site Collection 1 has Sub sites and has lookup Columns in Lists..
    This Subsite is created as a Site Collection 2 in O365 ..In Site Coll Lists we have Lists which has Lookup columns referring to Site Coll 1
    How do I bring the content over to Site coll 2 with Lookup columns without having the Lists moved from Site Coll1
    Thanks

    This can't be done out of the box.  It would require a custom solution or a 3rd party plugin (not sure if one exists or not).
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Two different site collection cannot use the same Term Set . Is there any solution for this ?

     I can save department site collection as site collection template. Also I can use this template for a new department site collection creation.
    But Managed Meta data Navigation throws the following error
    •Error loading navigation: The Managed Navigation term set is improperly attached to the site. (Correlation ID: 6fa6b19c-820a-001d-b9e0-d939d702050a)

    Hi ,
    this is a limitation. please refer this
    http://social.technet.microsoft.com/forums/sharepoint/en-US/029b7e2e-661f-4ac3-bfcb-eb99b43016f2/the-selected-term-set-is-already-used-by-another-site
    Unfortunately in SP 2013, a termset can only be used by a single site collection for navigation. This is a known limitation. There is no out of the box way to use a central termset to manage navigation across site collections. You need to develop a custom sitemap
    provider to do that.
    Another way to do this is to create termset for each site collection and reuse/pin the terms from the central termset instead of creating duplicate terms. You can script this easily using Powershell. This has some limitations though.
    Also, you can try little customization. Follow this link -
    http://www.mavention.com/blog/building-global-naviga
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Move subsite on different site collection

    Hi
    I have SharePoint 2010 standard, please let me know how can I move one sub site from current site collection to another site collection.
    I tried export and import command to move but once import completed and I tried to open moved sub site then getting error "File not found".
    Please let me know if any other step need to do.
    Warm Regards, Pramod Kumar Singh Manager-IT

    Thanks Inderjeet for your quick reply
    I have save site as template but when I am going to other site collection create subsite out of saved template then I have not found saved template. Can you please let me know how to move template from one site collection to other site collection.
    Warm Regards, Pramod Kumar Singh Manager-IT
    Hi ,
     To move template from one site collection to another one please refer the below urls
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2fcac9c2-b82e-4098-9d40-bc499c4cf117/using-powershell-to-move-a-subsite-tree-to-a-new-site-collection?forum=sharepointadminprevious
    http://sharepoint.stackexchange.com/questions/49845/how-to-move-a-sharepoint-site-template-from-one-farm-to-another-farm
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Workspace Project Custom Field Web Part on different Site Collection?

    Hello experts,
    I'm working on a project site template in a SharePoint 2010 environment. My client wants project custom fields to be displayed on the Project Site homepage.
    To accomplish this, I'm using the Solution Starter's Workspace Project Custom Field Web Part.
    It works fine, as long as we create the project sites under the PWA site collection.
    However, due to administrative reasons, we've decided to provision all project sites under a separate Site Collection, in a separate content database. In this case, we manage to add the webpart to the page, but as soon as we try to edit it, to configure
    the visible Custom Fields, we get this error:
    Server Error in '/' Application.
    Unhandled Communication Fault occurred
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.Services.Protocols.SoapException: Unhandled Communication Fault occurred
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SoapException: Unhandled Communication Fault occurred]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +413241
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
    WorkspaceProjectCFWP.WebSvcCustomFields.CustomFields.ReadCustomFieldsByEntity2(Guid entityUid) +181
    WorkspaceProjectCFWP.Services.<>c__DisplayClass12.<GetCustomFields>b__11() +158
    Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +729
    Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +26839062
    Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) +27885657
    Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +93
    WorkspaceProjectCFWP.Services.CustomFieldsService.GetCustomFields() +208
    WorkspaceProjectCFWP.Services.CustomFieldsService.GetAllProjectFields() +173
    WorkspaceProjectCFWP.ProjectCFEditorPart.SyncChanges() +325
    Microsoft.SharePoint.WebPartPages.ToolPane.OnSelectedWebPartChanged(Object sender, WebPartEventArgs e) +283
    System.Web.UI.WebControls.WebParts.WebPartEventHandler.Invoke(Object sender, WebPartEventArgs e) +0
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.BeginWebPartEditing(WebPart webPart) +96
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.ShowToolPaneIfNecessary() +579
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +296
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Page.OnInitComplete(EventArgs e) +11146206
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1674
    Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474 
    Now, I've activated every possible feature, both on the Site Collection and Site level (or SPSite, SPWeb). Alas, no succes. Which brings me to these questions:
    What might be causing this error? Can this be solved?
    Are there any cases of working webparts of this kind in site collections other than PWA?
    If this is a technical limitation, what are alternative options for me to display custom fields on a project site?
    Link to the Solution Starters: http://archive.msdn.microsoft.com/P2010SolutionStarter

    Hi
    I did not use this solution starter, but it might be that the webpart just looks for a Project Server instance in the current site collection - and there is none.
    You could use a SQL Reporting Services Report to show on the site to accomplish this. Either you would have to set the project as a parameter manually once for each site, or you could try to determine the project automatically using the URL.
    Kind regards
    Christoph
    Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany

  • How to retrive latest items from different site collection using content search web part

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewik
    Now I need to display the latest 10 wiki pages that are inside the enterprise wiki site collection (according to the modified date) inside the team site. So I read that using Content search web part allows for cross-site content query.
    So I added a new content search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's library and to specify that I need to get the latest 10 wiki pages using the
    content search web part's query dialog box? Can anyone advice please ?
    Thanks

    Edit the webpart and click change query in search criteria.  click on switch to advanced mode and enter your path:
    (path:"http://applicationname/teamsite" OR path:"http://applicationname/enterprisewik")
    you can specify sorting by created date and click ok.  in number of items to show, type 10.  this should fulfill your requirement.
    For further reading, here are some links:
    http://office.microsoft.com/en-001/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/04/30/stage-9-configure-the-
    query-in-a-content-search-web-part-on-a-category-page.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/23/stage-10-configure-the-query-in-a-content-search-web-part-on-a-catalog-item-page.aspx
    kashif

  • Compare 2 Document Libraries from different Site Collections

    Hello,
    We are in the middle of migrating from SP 2013 to SP 365 and I would like to be able to compare the documents from our existing document libraries to what was moved over to the corresponding 365 document library.  Is there a search feature in Windows
    or something easy someone can tell me about?  Right now I am taking screen shots of the 2 libraries and doing this manually.  I added a 'count' in my view in the library and that helped a little but thought there would be a search or something like
    that.  Any help is much appreciated!
    Joanie

    Hi 
    You can use ShareGate tool to compare or even move your whole document library to SP 365 with content and permissions.
    Also it comes with 15 day trial so you can review it and use it without any problem for 15 days
    http://en.share-gate.com/download
    http://en.share-gate.com/
    Please 'propose
    as answer' if it helped you, also 'vote
    helpful' if you like this reply.

  • Sharepoint Cross-Site Content Rollup using Sharepoint Designer with Different Sites deployed in different ports

    Hi
    In Sharepoint Designer Cross Site Content Rollup is achieved using SOAP service in different site collections in Same domain (Same Port where site is deployed). Please provide the information that different sites in different
    ports.
    For Eg: Site A in one port (1000) and Site B in Another Port(2000). I want to access it from site A SP List in Site B using Sharepoint designer.

    HI Krupesh,
    You can call the web service or REST API to update the item in List B and List C in workflow.
    Below mentioned links help in calling web service activity in workflow:
    http://msdn.microsoft.com/en-us/library/office/dn567558%28v=office.15%29.aspx
    http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    Best Regards,
    Brij K

  • 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

Maybe you are looking for

  • Is there a way to retrieve information from a damaged computer?

    My 2009 MacBook Pro froze last night and when I went to restart it, was apparently damaged and now won't work. It is stuck on a grey loading screen with the Apple logo and turns off after about a minute of that. I have tried safe-rebooting, rebooting

  • How to create a chart with x and y input arrays

    I am trying to create a chart that receives chunks of data from a while loop.  I know how to create a chart in order to append new data points to those points already in the display, but a regular chart doesn't let me specify the x axis data points. 

  • How to use Toshiba Bluetooth USB adapter?

    I bought a new Toshiba Bluetooth for my laptop but Windows Vista doesn't recognise and is saying that is not compatible. How do I sort this out? Thank you

  • ~ File in Macintosh HD

    A file appeared a long time ago in my Macintosh HD. It's a document, named ~. What is it and how did it get there? Can I or should I delete it? Thanks!

  • Turning on Full Keyboard Access for PB G4

    I'm a new Mac user with a PB G4 15". I've searched the forums for an answer to this to no avail. In The Tao of Mac (http://the.taoofmac.com) the author says: "If you're keyboard-oriented, go into System Preferences | Keyboard and Mouse | Keyboard Pre