Usage of relative url across site collections in sharepoint 2010

Hi
I have a webapplication with 2 sitecollections. In one sitecollection, created a link by going to navigation under sitesettings.
Added relative url to map to 2nd site collection. Eg: /sites/site2/page1.aspx
But by doing so, it is giving error. Help me out how to give relative url pointing to different site collection from another sitecolleciton.
Thanks in advance
Naina 

Say, Site Collection 1 URL: http://sitecollection1.domain.com/
Site Collection 2 URL : https://sitecollection2.domain.com/
Now, on "Site Collection 1", In Site Actions-->Site Settings-->Navigation, when you use "relative URLs", it will always refer to the current Site Collection i.e Relative URL "/sites/site2" will always be "http://sitecollection1.domain.com/sites/site2".
Anyways, what is the "requirement". What are you trying to solve by using "relative URL" for Site Collection 2 on Navigation of Site Collection 1. Reason for asking is, there might be different approach for your "requirement".
Naveed.DG MCITP, MCTS -SharePoint 2010 Administrator "Vote As Helpful" If it helps!!

Similar Messages

  • While back up and restoring the business intelligence site collection in sharepoint 2010

    Hi,
    i am trying to take backup of business intelligence site collection from one sharepoint server and restoring it to the 2nd sharepoint server,backup and restore successfully completed.i have configured all the performance point services on new server also.
    but still i am getting below error:-
    An exception occurred while rendering a Web control. The following diagnostic information might help to determine the cause of this problem: Microsoft.PerformancePoint.Scorecards.BpmException: The filter no longer exists or you do not have permission
    to view it. PerformancePoint Services error code 20700.
    Can anybody suggest me how to resolve these error.
    And the dashboard is looking like below:-

    Hey Surbi
    I'm facing the same issue, actually restored a backup of the BI site collection into a different web app (on the same server) but get the same errors as you!
    Looking into it the connection to the report or filter (whatever artefact it is) needs to be refreshed so technically the report doesn't exist as far as the performance web part is concerned!
    However when I re-attached the web part to the filter or report I got a different error... 'This data source no longer exists'
    So basically I found I had to re-create the reports and filters etc in Dashboard Designer... to re-create the dashboards. I did one page and don't want to spend months re-doing them!
    Anyone come up with a way of preserving the web parts references to performance point items and the items connections to their data source in a restore of a site collection?

  • While loading site collection in SharePoint 2010, Error shows "Could not find the file or assembly or one of its dependencies. The system cannot find the file specified."

    I have restored one web application in SharePoint Server 2010 from a different domain and  can complete successfully. Changed each users domain also to old to new one by using Move-SPUser. But While accessing the site collection it is showing an error
    that  "Could not load file or assembly 'A##.SP.Intranet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=03b4f320ebedaffc' or one of its dependencies. The system cannot find the file specified."
    What may be the reason? Please help me to solve this issue since I am stuck up on this .
    Regards 
    Mine1981

    Hi Nico
    Martens,
    Thank you for your reply. But
    how can I find out the custom solutions in the source farm. I didn't got any other details regarding this farm other than WSS_Content, Web application Database, SharePoint_Config database back ups.
    Please help me to solve the
    issue.
    Regards
    Mine

  • Copying Document Across Site Collections to Dynamic Locations - Office 365 / SharePoint

    I have users uploading documents into a library in one site collection and adding a reference number to each file (text box - list item). Can I use that reference number to find a corresponding folder on a different site collection and programmatically
    copy the file to that location? The reference number is part of the name of the folder. SharePoint Designer, Visual Studio, Napa - whichever is easiest. Using Office 365 / SharePoint Online.
    Thanks!

    Hi,
    If the reference number plus with the file name is valid and unique, we will be able to find the wanted folder across site collections by querying this file and its parent folder.
    As the reference number + file name is just a string value of a column of a library, we may need to iterate through all the libraries and check whether there is such a file with
    CAML query statements.
    http://msdn.microsoft.com/en-us/library/office/ms467521(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
    As it is an Office 365 site, Client Object Model or REST API would be choices for accessing data of SharePoint Objects.
    http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx
    In SharePoint 2013, App is a more recommended way when developing custom solution.
    Here are some samples about
    creating SharePoint app for your reference:
    http://msdn.microsoft.com/en-us/library/office/jj901637(v=office.15).aspx
    http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-all-the-items-from-the-list-in-sharepoint-2013-on/
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Building Site Collections in SharePoint Online

    Hello all,
    Please forgive me for this very basic question, but I was not able to find the info online. 
    Background info: I have a great deal of experience with SharePoint administration on-prem but not much experience with SharePoint Online. My current organization has O365 and wants to build a collaboration environment and an Intranet. I understand the information
    architecture practices that would have been common for this for an on-prem environment, and I understand that those have changed with 2013 and SharePoint Online due to the new practice of organizing everything under one web app. 
    Between reading some articles and using my experience with on-prem, I am trying to design an organized information architecture that will facilitate both environments and the permissions structures they require. My tentative plan was to build one site collection
    for the Intranet under https://mycompany.sharepoint.com/sites (under which subsites would be built for various Intranet divisions), and then a number of individual site collections for the collaboration environment under https://mycompany.sharepoint.com/teams
    (/hr, /finance, etc., so that content owners and users could work in their own site collection without affecting a site collection belonging to someone else). 
    This is the article that initially caused me to believe that this is possible/a good idea: http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/09/01/sharepoint-online-information-architecture-considerations.aspx. 
    "For [managed paths] you get the root, /search (explicit managed path), /sites (wildcard managed path), and /teams (wildcard managed path)."
    However this article leads me to believe that I will not be allowed to create any site collections at all, only subsites: https://support.office.com/en-us/article/Plan-sites-and-manage-users-8e568d8d-3d65-42c4-99fa-f7285c9db842. 
    "You cannot create additional site collections in SharePoint Online for Office 365 for Small Business."
    I understand the answer to this may depend on what version of O365 we have, and I am working to find that out. 
    My understanding is that I cannot be made a SharePoint Online administrator without being a global O365 administrator: http://blogs.technet.com/b/lystavlen/archive/2012/06/14/understanding-the-administrator-role-in-sharepoint-online.aspx.
    "You cannot separate the roles of Office 365 global administrator and SharePoint Online Administrator." 
    Thus, I don't currently have the level of access I need to browse around the administration area and find the answers to my questions that way. When the time comes, I will likely be given temporary access or will be working with an O365 global administrator
    to build.
    Main question: Will I be allowed to build site collections under managed paths?
    Larger question: How are others managing the information architecture for an Intranet and a Collaboration environment in SharePoint Online, especially if the answer to the prior question is no?
    Thanks in advance for any insight you can offer. 
    Shae

    Hi,
    According to the error message, the Microsoft.Online.SharePoint.Client.Tenant.dll seems not been loaded.
    You can find it in the path below:
    C:\Program Files\SharePoint Client Components\Assemblies
    A code snippet about how to retrieve a list of site collections in a tenant for your reference:
    const string username = "[email protected]";
    const string password = "password";
    const string tenantAdminUrl = "https://yourdomain-admin.sharepoint.com/";
    var securedPassword = new SecureString();
    foreach (var c in password.ToCharArray()) securedPassword.AppendChar(c);
    var credentials = new SharePointOnlineCredentials(username, securedPassword);
    using (var context = new ClientContext(tenantAdminUrl))
    context.Credentials = credentials;
    var tenant = new Tenant(context);
    SPOSitePropertiesEnumerable spp = tenant.GetSiteProperties(0, true);
    context.Load(spp);
    context.ExecuteQuery();
    foreach (SiteProperties sp in spp)
    Console.WriteLine(sp.Title);
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Backup - Restore process of a Site Collection in SharePoint Online

    Hi, I have a couple of questions. 
    1) What do I have to do to get a backup-restore of a site collection in SharePoint Online? 
    2) Can I myself perform a backup-restore or just backup a site collection without using any 3rd party tool?
    Any inputs on these will be helpful. Thanks in advance!

    Hi,
    what you can instead of backup and restore site is to save it as template, check this thread
    http://community.office365.com/en-us/f/154/t/203139.aspx
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Can't delete a Site Collection from SharePoint admin center completely

    Hi All
    I'm using Office365. And I wanted to delete a Site Collection from SharePoint admin center.
    But at first, I couldn't delete it from there. So I opened the Site and delete it from the Site setting successfully.
    Then I went back to SharePoint admin center to check it was deleted or not completely.
    But the Site Collection was still on the Site Collections list.....
    Things I did are
    1. IE -> Tools->Internet Options-> In General Tab click on Delete in browsing history section and check all options and again click on delete.
    2. Close and re-open the browser and sign back in
    I wanna make free server resource to create new Site Collection.
    Does anyone know how to delete a Site Collection completely?

    Hi,
    Can you try delete the site collection using SharePoint online power shell command? Refer the following link for that.
    Delete site collection
    Also, while deleting site collection from Admin Center, do you get any warning?Or what are steps you follow to delete the Site Collection from Admin Center?
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Using microsoft.sharepoint.client.search.analytics to report the monthly hit count of site collections on SharePoint Online

    Is it possible to use microsoft.sharepoint.client.search.analytics to report the monthly hit count of site collections on SharePoint Online.
    GetHitCountForDay()
    GetHitCountForMonth()
    If yes, how can this be called and executed successfully from a Console application using the Client Object Model.
    Reference:
    http://download.microsoft.com/download/8/5/8/858F2155-D48D-4C68-9205-29460FD7698F/[MS-SPACSOM].pdf
    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/54310f5f-e8a3-469e-86a3-63781b91670d/how-to-get-analytics-reports-programmatically-in-sharepoint-2013?forum=sharepointdevelopment

    Check if this works in 2013 as well.
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2012/10/04/how-to-retrieve-web-analytics-report-data-using-api.aspx
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Migrating on premise site collections to SharePoint online using powershell

    Hi folks,
    Intention:-migrating on premise site collection to SharePoint online.
    Is there any power-shell script or list availabe products.
    Please give idea and let me know that script.
    Thanks,

    Hi Jio333,
    This issue has been discussed in Sharepoint forum:
    SharePoint 2013 - Migrate
    from SharePoint 2013 On Premise to SharePoint 2013 Cloud      
    To complete this kind of Migration task, we usually use 3rd party tools because they have some complex migration requirements.
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Authoring and Publishing site collection in SharePoint Online

    Hi ,
    Can we have multiple authoring and publishing site collection in SharePoint Online?
    Thanks, Kaviya (Please remember to click “Mark as Answer” on the post that helps you)

    Yes you can use SharePoint 2013 cross-site publishing feature in SharePoint Online to support 1:1 and 1:n set up of authoring : publishing site-collections in SharePoint Online. The catch is that it all needs to be within same tenant.
    http://technet.microsoft.com/en-us/library/jj635883(v=office.15).aspx
    http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/04/01/cross-site-publishing-alternatives-in-sharepoint-online-office-365.aspx
    Please mark the replies as answers if they help or unmark if not.

  • Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013

    Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013 
    Newform.aspx of list:-
    Custom List is not saving data sometimes in the new form after 15 minutes and only blank entry record got created without saving data, even though some columns are mandatory fields?

    Hello dcakumar,
    Sounds like a strang issue. If you can reproduce this can you see some errors in the ULS logs?
    - Dennis | Netherlands | Blog |
    Twitter

  • How can I create a new Host Url Site Collection in SharePoint 2013?

    Hi,
    This may sound really daft, but someone is trying to create a new Team Site Host Url Site Collection. We have the one Web Application at
    http://main and all site collections sit underneath. When we try and create a new Site Collection we have URL set as
    http://main/sites.  Our new site should be
    http://newsite. I tried to remove root and sites from http://main managed paths and you can't do it.
    Is it just me, but do you have to create a web application. Create Site collection for that web application and then move to under
    http://main like a SharePoint 2010 migration?
    Help Appreciated.
    John. 

    In that scenario, you would need to create a new Web Application, yes. There is another function called Host-named Site Collections which would get you what you want, but it takes a bit of work:
    https://technet.microsoft.com/en-us/library/cc424952.aspx
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • What is the REST endpoint URL to get list of site collections in Sharepoint ?

    Hi,
    If I go to Sharepoint 2013 site, click on Admin -> Sharepoint, you will see a list of site collections (the link is https://somename-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx)
    What is the REST endpoint URL to retrieve this list of site collections ?
    I was trying _api/search/query?querytext='contentclass:sts_site' or _api/search/query?querytext='contentclass:sts_web', but it doesn't give the whole list...

    As far as i know, There is no REST endpoint at FARM level
    it would be good to see a possible way to do this.
    If my contribution helps you, please click Mark As Answer on that post and
    Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Copying content type across site collection

    It is a good practice to create a content type and then create a list from it.
    Now, say that we create a content type and then create a list from it.
    If we want to create similar list in a different site collection, we need to have the content type in that site collection as well.
    Could you please let me know how to copying the content type from one site collection to another.
    Thanks

    Hi,
    Thanks for posting your query, Kindly try out the below mentioned script to copying your Content Type from one site to another
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    $w1 = Get-SPWeb "https://sharepointsite1.com"
    $w2 = Get-SPWeb "https://sharepointsite2.com"
    foreach ($f1 in $w1.Fields) {
    if ($f1.Group -eq "PepsiSiteColumns") {
    $f2 = $w2.Fields | Where { $_.Id -eq $f1.Id };
    if ($f2 -eq $null) {
    Write-Host("Creating field " + $f1.Title + "...");
    $f2 = $w2.Fields.AddFieldAsXml($f1.SchemaXml);
    $f1.Delete(); # Careful with this one!
    } else {
    Write-Host("Field " + $f1.Title + " already exists. Not taking any action.");
    Also, browse below mentioned URL to fix this issue
    http://blog.falchionconsulting.com/index.php/2007/08/copy-content-types/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Error Accessing Host Named Site Collections In SharePoint Foundation 2013

    We have a new SharePoint Foundation 2013 server that has one web application two host named site collections. We get the "This page can't be displayed" message when we try to navigate to either of the site collections. Adding the server's IP to
    the host file on the machine we are testing from doesn't help. We can ping the new sites from that machine. The web application does not have a host header.
    Web application URL = http://servername
    Site collection #1 URL = http://customer.company.com
    Site collection #2 URL = http://vendor.company.com

    Hi,
    I recommend to verify the things below:
    Check if site can be accessed with site collection administrator.
    Add the SharePoint sites to a trusted zone to see if the issue still occurs.
    As this issue can be caused by many reasons, you may check the ULS log for more detailed errors.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for